Merge branch 'freqtrade:develop' into dca

This commit is contained in:
Reigo Reinmets
2021-12-24 12:39:09 +02:00
committed by GitHub
5 changed files with 38 additions and 107 deletions

View File

@@ -85,9 +85,12 @@ class Worker:
# Log state transition
if state != old_state:
self.freqtrade.notify_status(f'{state.name.lower()}')
logger.info(f"Changing state to: {state.name}")
if old_state != State.RELOAD_CONFIG:
self.freqtrade.notify_status(f'{state.name.lower()}')
logger.info(
f"Changing state{f' from {old_state.name}' if old_state else ''} to: {state.name}")
if state == State.RUNNING:
self.freqtrade.startup()