Use ticker_interval defined in Strategy() instead of a mix between strategy and config file (#540)
This commit is contained in:
committed by
Michael Egger
parent
c94f55807b
commit
e6732e01e1
@@ -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:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user