Warning message for open trades when stopping bot
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user