Added information to the new function
This commit is contained in:
parent
e813573f27
commit
0642ab76bf
@ -176,6 +176,10 @@ class FreqtradeBot:
|
|||||||
self.cancel_all_open_orders()
|
self.cancel_all_open_orders()
|
||||||
|
|
||||||
def check_for_open_trades(self):
|
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,
|
open_trades = Trade.get_trades([Trade.is_open == True,
|
||||||
]).all()
|
]).all()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user