Traceback (most recent call last):
File "/freqtrade/freqtrade/main.py", line 42, in main
return_code = args['func'](args)
^^^^^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/commands/optimize_commands.py", line 58, in start_backtesting
backtesting.start()
File "/freqtrade/freqtrade/optimize/backtesting.py", line 1401, in start
min_date, max_date = self.backtest_one_strategy(strat, data, timerange)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/optimize/backtesting.py", line 1335, in backtest_one_strategy
results = self.backtest(
^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/optimize/backtesting.py", line 1270, in backtest
open_trade_count_start = self.backtest_loop(
^^^^^^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/optimize/backtesting.py", line 1175, in backtest_loop
self._check_trade_exit(trade, row, current_time) # Place exit order if necessary
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/optimize/backtesting.py", line 736, in _check_trade_exit
exits = self.strategy.should_exit(
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/strategy/interface.py", line 1146, in should_exit
stoplossflag = self.ft_stoploss_reached(current_rate=current_rate, trade=trade,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/strategy/interface.py", line 1278, in ft_stoploss_reached
self.ft_stoploss_adjust(current_rate, trade, current_time, current_profit,
File "/freqtrade/freqtrade/strategy/interface.py", line 1247, in ft_stoploss_adjust
trade.adjust_stop_loss(bound or current_rate, stop_loss_value,
File "/freqtrade/freqtrade/persistence/trade_model.py", line 763, in adjust_stop_loss
stop_loss_norm = price_to_precision(new_loss, self.price_precision, self.precision_mode,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/freqtrade/freqtrade/exchange/exchange_utils.py", line 364, in price_to_precision
return ceil(ticks) / (10**ndigits)
^^^^^^^^^^^
ValueError: cannot convert float NaN to integer