Hopefully fix orders being left lingering and trade not updating once they are complete

pull/6079/head
Reigo Reinmets 4 years ago
parent d10fb95fce
commit cc28f73d7f

@ -637,6 +637,7 @@ class FreqtradeBot(LoggingMixin):
timeframe=timeframe_to_minutes(self.config['timeframe'])
)
trade.fee_open_currency = None
trade.fee_open_currency = order_id
trade.orders.append(order_obj)
trade.recalc_trade_from_orders()
Trade.query.session.add(trade)

Loading…
Cancel
Save