This has to be reset since otherwise it will not handle live limit orders after first buy.

This commit is contained in:
Reigo Reinmets 2021-12-13 20:32:13 +02:00
parent d4b31263ca
commit 468076cf54
1 changed files with 1 additions and 0 deletions

View File

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