Merge pull request #8245 from eSAMTrade/bugfix-8244

Fix last_process related bug in RPC.health (BUG-#8231)
This commit is contained in:
Matthias
2023-02-28 18:18:53 +01:00
committed by GitHub
7 changed files with 21 additions and 14 deletions

View File

@@ -127,7 +127,7 @@ class FreqtradeBot(LoggingMixin):
for minutes in [0, 15, 30, 45]:
t = str(time(time_slot, minutes, 2))
self._schedule.every().day.at(t).do(update)
self.last_process = datetime(1970, 1, 1, tzinfo=timezone.utc)
self.last_process: Optional[datetime] = None
self.strategy.ft_bot_start()
# Initialize protections AFTER bot start - otherwise parameters are not loaded.