Merge pull request #1267 from freqtrade/telegram_fix
flush session for /forcesell all
This commit is contained in:
commit
8cf435f0ba
@ -363,6 +363,7 @@ class RPC(object):
|
||||
# Execute sell for all open orders
|
||||
for trade in Trade.query.filter(Trade.is_open.is_(True)).all():
|
||||
_exec_forcesell(trade)
|
||||
Trade.session.flush()
|
||||
return
|
||||
|
||||
# Query for trade
|
||||
|
Loading…
Reference in New Issue
Block a user