Rename additional_pairs to informative_pairs
This commit is contained in:
parent
bfd8609352
commit
ba07348b82
@ -302,7 +302,7 @@ if self.dp:
|
||||
|
||||
#### Get data for non-tradeable pairs
|
||||
|
||||
Data for additional pairs (reference pairs) can be beneficial for some strategies.
|
||||
Data for additional, informative pairs (reference pairs) can be beneficial for some strategies.
|
||||
Ohlcv data for these pairs will be downloaded as part of the regular whitelist refresh process and is available via `DataProvider` just as other pairs (see above).
|
||||
These parts will **not** be traded unless they are also specified in the pair whitelist, or have been selected by Dynamic Whitelisting.
|
||||
|
||||
@ -311,7 +311,7 @@ The pairs need to be specified as tuples in the format `("pair", "interval")`, w
|
||||
Sample:
|
||||
|
||||
``` python
|
||||
def additional_pairs(self):
|
||||
def informative_pairs(self):
|
||||
return [("ETH/USDT", "5m"),
|
||||
("BTC/TUSD", "15m"),
|
||||
]
|
||||
|
@ -175,7 +175,7 @@ class FreqtradeBot(object):
|
||||
for pair in self.active_pair_whitelist]
|
||||
# Refreshing candles
|
||||
self.dataprovider.refresh(pair_whitelist_tuple,
|
||||
self.strategy.additional_pairs())
|
||||
self.strategy.informative_pairs())
|
||||
|
||||
# First process current opened trades
|
||||
for trade in trades:
|
||||
|
@ -42,9 +42,9 @@ class DefaultStrategy(IStrategy):
|
||||
'sell': 'gtc',
|
||||
}
|
||||
|
||||
def additional_pairs(self):
|
||||
def informative_pairs(self):
|
||||
"""
|
||||
Define additional pair/interval combinations to be cached from the exchange.
|
||||
Define additional, informative pair/interval combinations to be cached from the exchange.
|
||||
These pair/interval combinations are non-tradeable, unless they are part
|
||||
of the whitelist as well.
|
||||
For more information, please consult the documentation
|
||||
|
@ -133,9 +133,9 @@ class IStrategy(ABC):
|
||||
:return: DataFrame with sell column
|
||||
"""
|
||||
|
||||
def additional_pairs(self) -> List[Tuple[str, str]]:
|
||||
def informative_pairs(self) -> List[Tuple[str, str]]:
|
||||
"""
|
||||
Define additional pair/interval combinations to be cached from the exchange.
|
||||
Define additional, informative pair/interval combinations to be cached from the exchange.
|
||||
These pair/interval combinations are non-tradeable, unless they are part
|
||||
of the whitelist as well.
|
||||
For more information, please consult the documentation
|
||||
|
@ -67,9 +67,9 @@ class TestStrategy(IStrategy):
|
||||
'sell': 'gtc'
|
||||
}
|
||||
|
||||
def additional_pairs(self):
|
||||
def informative_pairs(self):
|
||||
"""
|
||||
Define additional pair/interval combinations to be cached from the exchange.
|
||||
Define additional, informative pair/interval combinations to be cached from the exchange.
|
||||
These pair/interval combinations are non-tradeable, unless they are part
|
||||
of the whitelist as well.
|
||||
For more information, please consult the documentation
|
||||
|
Loading…
Reference in New Issue
Block a user