Change ticker interval from minutes as integer to string (1m, 5m, 1h,...)
This commit is contained in:
@@ -65,7 +65,7 @@ class Strategy(object):
|
||||
# Optimal stoploss designed for the strategy
|
||||
self.stoploss = float(self.custom_strategy.stoploss)
|
||||
|
||||
self.ticker_interval = int(self.custom_strategy.ticker_interval)
|
||||
self.ticker_interval = self.custom_strategy.ticker_interval
|
||||
|
||||
def _load_strategy(self, strategy_name: str) -> None:
|
||||
"""
|
||||
|
Reference in New Issue
Block a user