flake8 fix

This commit is contained in:
மனோஜ்குமார் பழனிச்சாமி 2022-05-13 21:52:26 +05:30 committed by GitHub
parent 71a80cab3a
commit 64670726a6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -548,7 +548,7 @@ class Backtesting:
# Custom exit pricing only for exit-signals
if order_type == 'limit':
close_rate = strategy_safe_wrapper(self.strategy.custom_exit_price,
default_retval=close_rate)(
default_retval=close_rate)(
pair=trade.pair, trade=trade,
current_time=exit_candle_time,
proposed_rate=close_rate, current_profit=current_profit,