This has to be reset since otherwise it will not handle live limit orders after first buy.
This commit is contained in:
parent
d4b31263ca
commit
468076cf54
@ -635,6 +635,7 @@ class FreqtradeBot(LoggingMixin):
|
|||||||
buy_tag=buy_tag,
|
buy_tag=buy_tag,
|
||||||
timeframe=timeframe_to_minutes(self.config['timeframe'])
|
timeframe=timeframe_to_minutes(self.config['timeframe'])
|
||||||
)
|
)
|
||||||
|
trade.fee_open_currency = None
|
||||||
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