From 8f529f48da6c43e2e73d456b39b1e5fe9c645088 Mon Sep 17 00:00:00 2001 From: "Tho Pham (Alex)" <20041501+thopd88@users.noreply.github.com> Date: Tue, 26 Jan 2021 07:38:25 +0700 Subject: [PATCH] Update freqtrade/freqtradebot.py use is_open.is_(True) Co-authored-by: Matthias --- freqtrade/freqtradebot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/freqtrade/freqtradebot.py b/freqtrade/freqtradebot.py index db67e9771..f45d4cacc 100644 --- a/freqtrade/freqtradebot.py +++ b/freqtrade/freqtradebot.py @@ -200,7 +200,7 @@ class FreqtradeBot(LoggingMixin): Notify the user when the bot is stopped and there are still open trades active. """ - open_trades = Trade.get_trades([Trade.is_open == True]).all() + open_trades = Trade.get_trades([Trade.is_open.is_(True)]).all() if len(open_trades) != 0: msg = {