Capture backtest start / end time

This commit is contained in:
Matthias
2021-01-13 07:47:03 +01:00
parent 9147106259
commit 0b65fe6afe
3 changed files with 15 additions and 2 deletions

View File

@@ -77,7 +77,10 @@ def test_generate_backtest_stats(default_conf, testdatadir):
SellType.ROI, SellType.FORCE_SELL]
}),
'config': default_conf,
'locks': []}
'locks': [],
'backtest_start_time': Arrow.utcnow().int_timestamp,
'backtest_end_time': Arrow.utcnow().int_timestamp,
}
}
timerange = TimeRange.parse_timerange('1510688220-1510700340')
min_date = Arrow.fromtimestamp(1510688220)