Add freqai timeframe validation (incl. test)

closes #7543
This commit is contained in:
Matthias
2022-10-09 14:36:12 +02:00
parent 4623c3ec1d
commit a10b2d003f
3 changed files with 47 additions and 1 deletions

View File

@@ -26,7 +26,7 @@ def test_freqai_backtest_start_backtest_list(freqai_conf, mocker, testdatadir, c
'--config', 'config.json',
'--datadir', str(testdatadir),
'--strategy-path', str(Path(__file__).parents[1] / 'strategy/strats'),
'--timeframe', '1h',
'--timeframe', '1m',
'--strategy-list', CURRENT_TEST_STRATEGY
]
args = get_args(args)