Remove duplciate check for buy orders
This commit is contained in:
parent
4db8c779fc
commit
85d90645c7
@ -324,9 +324,6 @@ class FreqtradeBot:
|
|||||||
if fo and fo['status'] == 'open':
|
if fo and fo['status'] == 'open':
|
||||||
# Assume this as the open order
|
# Assume this as the open order
|
||||||
trade.open_order_id = order.order_id
|
trade.open_order_id = order.order_id
|
||||||
else:
|
|
||||||
# No action for buy orders ...
|
|
||||||
continue
|
|
||||||
if fo:
|
if fo:
|
||||||
logger.info(f"Found {order} for trade {trade}.jj")
|
logger.info(f"Found {order} for trade {trade}.jj")
|
||||||
self.update_trade_state(trade, order.order_id, fo,
|
self.update_trade_state(trade, order.order_id, fo,
|
||||||
|
Loading…
Reference in New Issue
Block a user