From 324aada2bce5834be08e6cd9e4378bb4123aa282 Mon Sep 17 00:00:00 2001 From: Axel-CH Date: Sat, 22 Mar 2025 23:24:39 -0400 Subject: [PATCH] feat: add paused state to config schema, restore it in generated shema.json --- build_helpers/schema.json | 1 + freqtrade/configuration/config_schema.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/build_helpers/schema.json b/build_helpers/schema.json index 02fadc6cf..63fb9d6ec 100644 --- a/build_helpers/schema.json +++ b/build_helpers/schema.json @@ -1032,6 +1032,7 @@ "type": "string", "enum": [ "running", + "paused", "stopped" ] }, diff --git a/freqtrade/configuration/config_schema.py b/freqtrade/configuration/config_schema.py index 166d4f4f6..3b0be5c8d 100644 --- a/freqtrade/configuration/config_schema.py +++ b/freqtrade/configuration/config_schema.py @@ -689,7 +689,7 @@ CONF_SCHEMA = { "initial_state": { "description": "Initial state of the system.", "type": "string", - "enum": ["running", "stopped"], + "enum": ["running", "paused", "stopped"], }, "force_entry_enable": { "description": "Force enable entry.",