fix backtesting export.
fixes the bug introduced in c62356438a
-
export is identical to before (exporting the tick-frame on row[4].)
This commit is contained in:
parent
c4163374d6
commit
86c07a6653
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user