Add additional-pairs (sample) to defaultstrategy

This commit is contained in:
Matthias 2019-01-22 19:17:08 +01:00
parent c77607b997
commit 89ddfe08f4

View File

@ -42,6 +42,19 @@ class DefaultStrategy(IStrategy):
'sell': 'gtc',
}
def additional_pairs(self):
"""
Define additional 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
:return: List of tuples in the format (pair, interval)
Sample: return [("ETH/USDT", "5m"),
("BTC/USDT", "15m"),
]
"""
return []
def populate_indicators(self, dataframe: DataFrame, metadata: dict) -> DataFrame:
"""
Adds several different TA indicators to the given DataFrame