bring back Trades.use_db = True
This commit is contained in:
parent
17fb7f7a3b
commit
cf10a76a2a
@ -246,6 +246,7 @@ def test_start_backtesting(mocker, freqai_conf, model, num_files, strat):
|
|||||||
model_folders = [x for x in freqai.dd.full_path.iterdir() if x.is_dir()]
|
model_folders = [x for x in freqai.dd.full_path.iterdir() if x.is_dir()]
|
||||||
|
|
||||||
assert len(model_folders) == num_files
|
assert len(model_folders) == num_files
|
||||||
|
Trade.use_db = True
|
||||||
Backtesting.cleanup()
|
Backtesting.cleanup()
|
||||||
shutil.rmtree(Path(freqai.dk.full_path))
|
shutil.rmtree(Path(freqai.dk.full_path))
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user