Rename additional_pairs to informative_pairs

This commit is contained in:
Matthias 2019-01-26 19:22:45 +01:00
parent bfd8609352
commit ba07348b82
5 changed files with 9 additions and 9 deletions

View File

@ -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"),
]

View File

@ -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:

View File

@ -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

View File

@ -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

View File

@ -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