From 91e2a05aff0224aaace867889d4d00db04481282 Mon Sep 17 00:00:00 2001 From: robcaulk Date: Sun, 18 Sep 2022 13:05:13 +0200 Subject: [PATCH] remove test config now that spice_rack adapts to any config --- freqtrade/freqai/spice_rack/test_config.json | 30 -------------------- tests/freqai/test_freqai_interface.py | 1 - 2 files changed, 31 deletions(-) delete mode 100644 freqtrade/freqai/spice_rack/test_config.json diff --git a/freqtrade/freqai/spice_rack/test_config.json b/freqtrade/freqai/spice_rack/test_config.json deleted file mode 100644 index 6cf0df2e1..000000000 --- a/freqtrade/freqai/spice_rack/test_config.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - - "freqai": { - "enabled": true, - "purge_old_models": true, - "train_period_days": 4, - "backtest_period_days": 2, - "identifier": "spicy-id", - "feature_parameters": { - "include_timeframes": [ - "5m" - ], - "include_corr_pairlist": ["ADA/BTC", "DASH/BTC"], - "label_period_candles": 20, - "include_shifted_candles": 1, - "DI_threshold": 0.9, - "weight_factor": 0.9, - "indicator_periods_candles": [ - 10 - ] - }, - "data_split_parameters": { - "test_size": 0, - "random_state": 1 - }, - "model_training_parameters": { - "n_estimators": 800 - } - } -} diff --git a/tests/freqai/test_freqai_interface.py b/tests/freqai/test_freqai_interface.py index 944292005..a55914904 100644 --- a/tests/freqai/test_freqai_interface.py +++ b/tests/freqai/test_freqai_interface.py @@ -326,7 +326,6 @@ def test_spice_rack(mocker, default_conf, tmpdir, caplog): strategy.dp = DataProvider(default_conf, exchange) default_conf.update({"freqai_spice_rack": "true"}) - # default_conf.update({"freqai_config": "test_config.json"}) default_conf.update({"freqai_identifier": "spicy-id"}) default_conf["config_files"] = [Path('config_examples', 'config_freqai.example.json')] default_conf["timerange"] = "20180110-20180115"