Added information to the new function

This commit is contained in:
Theagainmen 2020-06-27 18:40:44 +02:00
parent e813573f27
commit 0642ab76bf
1 changed files with 4 additions and 0 deletions

View File

@ -176,6 +176,10 @@ class FreqtradeBot:
self.cancel_all_open_orders()
def check_for_open_trades(self):
"""
Notify the user when he stops the bot
and there are still open trades active.
"""
open_trades = Trade.get_trades([Trade.is_open == True,
]).all()