From a85afd9af35631f8a7caaa332b08fde187f8ec89 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sun, 6 Apr 2025 12:52:20 +0200 Subject: [PATCH] feat: add "indicator_periods_candles" to config schema --- build_helpers/schema.json | 8 ++++++++ freqtrade/config_schema/config_schema.py | 8 ++++++++ 2 files changed, 16 insertions(+) diff --git a/build_helpers/schema.json b/build_helpers/schema.json index bc4f2e6f4..0aa2ea416 100644 --- a/build_helpers/schema.json +++ b/build_helpers/schema.json @@ -1516,6 +1516,14 @@ "type": "boolean", "default": false }, + "indicator_periods_candles": { + "description": "Time periods to calculate indicators for. The indicators are added to the base indicator dataset.", + "type": "array", + "items": { + "type": "number", + "minimum": 1 + } + }, "use_SVM_to_remove_outliers": { "description": "Use SVM to remove outliers from the features.", "type": "boolean", diff --git a/freqtrade/config_schema/config_schema.py b/freqtrade/config_schema/config_schema.py index 3b0be5c8d..64c661568 100644 --- a/freqtrade/config_schema/config_schema.py +++ b/freqtrade/config_schema/config_schema.py @@ -1146,6 +1146,14 @@ CONF_SCHEMA = { "type": "boolean", "default": False, }, + "indicator_periods_candles": { + "description": ( + "Time periods to calculate indicators for. " + "The indicators are added to the base indicator dataset." + ), + "type": "array", + "items": {"type": "number", "minimum": 1}, + }, "use_SVM_to_remove_outliers": { "description": "Use SVM to remove outliers from the features.", "type": "boolean",