From 9911d2aa324226c6b79812219540139f506c64d4 Mon Sep 17 00:00:00 2001 From: kowhi <54210721+kowhi@users.noreply.github.com> Date: Sat, 15 Mar 2025 12:23:42 +0800 Subject: [PATCH 1/2] fix the type of the fit_live_predictions_candles field in the config schema --- freqtrade/configuration/config_schema.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/freqtrade/configuration/config_schema.py b/freqtrade/configuration/config_schema.py index f50334938..61726a863 100644 --- a/freqtrade/configuration/config_schema.py +++ b/freqtrade/configuration/config_schema.py @@ -1026,8 +1026,8 @@ CONF_SCHEMA = { "Number of historical candles to use for computing target (label) " "statistics from prediction data, instead of from the training dataset." ), - "type": "boolean", - "default": False, + "type": "integer", + "default": 0, }, "data_kitchen_thread_count": { "description": ( From 5964845265d988af7fcbd2c8fd6758b2c8bf7936 Mon Sep 17 00:00:00 2001 From: Matthias Date: Sat, 15 Mar 2025 07:50:43 +0100 Subject: [PATCH 2/2] chore: Export json schema --- build_helpers/schema.json | 3 +-- freqtrade/configuration/config_schema.py | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/build_helpers/schema.json b/build_helpers/schema.json index 5fb1772c6..ff99fbe78 100644 --- a/build_helpers/schema.json +++ b/build_helpers/schema.json @@ -1417,8 +1417,7 @@ }, "fit_live_predictions_candles": { "description": "Number of historical candles to use for computing target (label) statistics from prediction data, instead of from the training dataset.", - "type": "boolean", - "default": false + "type": "integer" }, "data_kitchen_thread_count": { "description": "Designate the number of threads you want to use for data processing (outlier methods, normalization, etc.).", diff --git a/freqtrade/configuration/config_schema.py b/freqtrade/configuration/config_schema.py index 61726a863..d517048c7 100644 --- a/freqtrade/configuration/config_schema.py +++ b/freqtrade/configuration/config_schema.py @@ -1027,7 +1027,6 @@ CONF_SCHEMA = { "statistics from prediction data, instead of from the training dataset." ), "type": "integer", - "default": 0, }, "data_kitchen_thread_count": { "description": (