Warning message for open trades when stopping bot

This commit is contained in:
Theagainmen
2020-06-27 18:35:46 +02:00
parent baaf7f1c54
commit e813573f27
2 changed files with 16 additions and 0 deletions

View File

@@ -90,6 +90,9 @@ class Worker:
if state == State.RUNNING:
self.freqtrade.startup()
if state == State.STOPPED:
self.freqtrade.check_for_open_trades()
# Reset heartbeat timestamp to log the heartbeat message at
# first throttling iteration when the state changes
self._heartbeat_msg = 0