From 61b2373dd14eecbcdb86d3872df7923fe10008c0 Mon Sep 17 00:00:00 2001 From: gcarq Date: Fri, 8 Jun 2018 02:35:10 +0200 Subject: [PATCH] flush db connection after forcesell --- freqtrade/rpc/rpc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/freqtrade/rpc/rpc.py b/freqtrade/rpc/rpc.py index c2f097319..abe9f6169 100644 --- a/freqtrade/rpc/rpc.py +++ b/freqtrade/rpc/rpc.py @@ -354,6 +354,7 @@ class RPC(object): return True, 'Invalid argument.' _exec_forcesell(trade) + Trade.session.flush() return False, '' def rpc_performance(self) -> Tuple[bool, Any]: