mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-11-29 08:33:07 +00:00
Split timeframe_to_secs from loggingmixin init
This commit is contained in:
@@ -117,7 +117,8 @@ class FreqtradeBot(LoggingMixin):
|
||||
|
||||
# Protect exit-logic from forcesell and vice versa
|
||||
self._exit_lock = Lock()
|
||||
LoggingMixin.__init__(self, logger, timeframe_to_seconds(self.strategy.timeframe))
|
||||
timeframe_secs = timeframe_to_seconds(self.strategy.timeframe)
|
||||
LoggingMixin.__init__(self, logger, timeframe_secs)
|
||||
|
||||
self._schedule = Scheduler()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user