Hopefully fix orders being left lingering and trade not updating once they are complete
This commit is contained in:
parent
d10fb95fce
commit
cc28f73d7f
@ -637,6 +637,7 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
timeframe=timeframe_to_minutes(self.config['timeframe'])
|
timeframe=timeframe_to_minutes(self.config['timeframe'])
|
||||||
)
|
)
|
||||||
trade.fee_open_currency = None
|
trade.fee_open_currency = None
|
||||||
|
trade.fee_open_currency = order_id
|
||||||
trade.orders.append(order_obj)
|
trade.orders.append(order_obj)
|
||||||
trade.recalc_trade_from_orders()
|
trade.recalc_trade_from_orders()
|
||||||
Trade.query.session.add(trade)
|
Trade.query.session.add(trade)
|
||||||
|
Loading…
Reference in New Issue
Block a user