diff --git a/freqtrade/optimize/backtesting.py b/freqtrade/optimize/backtesting.py index a0dc8a789..b8da250fe 100644 --- a/freqtrade/optimize/backtesting.py +++ b/freqtrade/optimize/backtesting.py @@ -146,7 +146,7 @@ def backtest(args) -> DataFrame: records.append((pair, trade_entry[1], row.date.strftime('%s'), row2.date.strftime('%s'), - row.date, trade_entry[3])) + index, trade_entry[3])) # For now export inside backtest(), maybe change so that backtest() # returns a tuple like: (dataframe, records, logs, etc) if record and record.find('trades') >= 0: