Fix operator does not exist: boolean = integer

This commit is contained in:
Tho Pham (Alex) 2021-01-25 12:24:47 +07:00 committed by GitHub
parent 9a3c425cf4
commit c22cccb55b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 == 1]).all()
open_trades = Trade.get_trades([Trade.is_open == True]).all()
if len(open_trades) != 0:
msg = {