remove buy filled logic
This commit is contained in:
parent
bea38a2e7c
commit
26a74220fd
@ -960,7 +960,6 @@ class Backtesting:
|
|||||||
if order and self._get_order_filled(order.price, row):
|
if order and self._get_order_filled(order.price, row):
|
||||||
order.close_bt_order(current_time)
|
order.close_bt_order(current_time)
|
||||||
trade.open_order_id = None
|
trade.open_order_id = None
|
||||||
trade.buy_filled_date = current_time
|
|
||||||
LocalTrade.add_bt_trade(trade)
|
LocalTrade.add_bt_trade(trade)
|
||||||
self.wallets.update()
|
self.wallets.update()
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user