create dedicated minimal freqai test strat
This commit is contained in:
@@ -16,8 +16,8 @@ def freqai_conf(default_conf):
|
||||
freqaiconf.update(
|
||||
{
|
||||
"datadir": Path(default_conf["datadir"]),
|
||||
"strategy": "FreqaiExampleStrategy",
|
||||
"strategy-path": "freqtrade/templates",
|
||||
"strategy": "freqai_test_strat",
|
||||
"strategy-path": "freqtrade/tests/strategy/strats",
|
||||
"freqaimodel": "LightGBMPredictionModel",
|
||||
"freqaimodel_path": "freqai/prediction_models",
|
||||
"timerange": "20180110-20180115",
|
||||
|
@@ -163,5 +163,5 @@ def test_use_strategy_to_populate_indicators(mocker, default_conf):
|
||||
|
||||
df = freqai.dk.use_strategy_to_populate_indicators(strategy, corr_df, base_df, 'LTC/BTC')
|
||||
|
||||
assert len(df.columns) == 90
|
||||
assert len(df.columns) == 45
|
||||
shutil.rmtree(Path(freqai.dk.full_path))
|
||||
|
Reference in New Issue
Block a user