Add confirm_trade_exit and confirm_trade_entry to backtesting
This commit is contained in:
parent
6856963aef
commit
eb5d69dcd4
@ -253,7 +253,6 @@ class Backtesting:
|
||||
low=sell_row[LOW_IDX], high=sell_row[HIGH_IDX])
|
||||
|
||||
time_in_force = self.strategy.order_time_in_force['sell']
|
||||
|
||||
# confirm_trade_exit
|
||||
if not strategy_safe_wrapper(self.strategy.confirm_trade_exit, default_retval=False)(
|
||||
pair=trade.pair, trade=trade, order_type='limit', amount=trade.amount, rate=sell_row[LOW_IDX],
|
||||
|
Loading…
Reference in New Issue
Block a user