diff --git a/build_helpers/schema.json b/build_helpers/schema.json index 6227829d9..e12b0bf0d 100644 --- a/build_helpers/schema.json +++ b/build_helpers/schema.json @@ -682,12 +682,18 @@ }, "exit_fill": { "description": "Telegram setting for exit fill signals.", - "type": "string", - "enum": [ - "on", - "off", - "silent" + "type": [ + "string", + "object" ], + "additionalProperties": { + "type": "string", + "enum": [ + "on", + "off", + "silent" + ] + }, "default": "on" }, "exit_cancel": { diff --git a/freqtrade/configuration/config_schema.py b/freqtrade/configuration/config_schema.py index 2106d928d..30f1f6f28 100644 --- a/freqtrade/configuration/config_schema.py +++ b/freqtrade/configuration/config_schema.py @@ -517,8 +517,11 @@ CONF_SCHEMA = { }, "exit_fill": { "description": "Telegram setting for exit fill signals.", - "type": "string", - "enum": TELEGRAM_SETTING_OPTIONS, + "type": ["string", "object"], + "additionalProperties": { + "type": "string", + "enum": TELEGRAM_SETTING_OPTIONS, + }, "default": "on", }, "exit_cancel": {