Use ticker_interval defined in Strategy() instead of a mix between strategy and config file

This commit is contained in:
Gerald Lonlas
2018-03-06 05:25:39 -08:00
parent c94f55807b
commit 451aef8be0
6 changed files with 98 additions and 92 deletions

View File

@@ -64,7 +64,7 @@ class Strategy(object):
# Optimal stoploss designed for the strategy
self.stoploss = float(self.custom_strategy.stoploss)
self.ticker_interval = self.custom_strategy.ticker_interval
self.ticker_interval = int(self.custom_strategy.ticker_interval)
def _load_strategy(self, strategy_name: str) -> None:
"""