bring back Trades.use_db = True

This commit is contained in:
robcaulk 2022-10-05 17:06:18 +02:00
parent 17fb7f7a3b
commit cf10a76a2a

View File

@ -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()]
assert len(model_folders) == num_files
Trade.use_db = True
Backtesting.cleanup()
shutil.rmtree(Path(freqai.dk.full_path))