diff --git a/freqtrade/configuration/config_schema.py b/freqtrade/configuration/config_schema.py index e3c575b79..5b0c7a12f 100644 --- a/freqtrade/configuration/config_schema.py +++ b/freqtrade/configuration/config_schema.py @@ -893,39 +893,77 @@ CONF_SCHEMA = { "required": ["process_throttle_secs", "allowed_risk"], }, "external_message_consumer": { + "description": "Configuration for external message consumer.", "type": "object", "properties": { - "enabled": {"type": "boolean", "default": False}, + "enabled": { + "description": "Whether the external message consumer is enabled.", + "type": "boolean", + "default": False, + }, "producers": { + "description": "List of producers for the external message consumer.", "type": "array", "items": { "type": "object", "properties": { - "name": {"type": "string"}, - "host": {"type": "string"}, + "name": { + "description": "Name of the producer.", + "type": "string", + }, + "host": { + "description": "Host of the producer.", + "type": "string", + }, "port": { + "description": "Port of the producer.", "type": "integer", "default": 8080, "minimum": 0, "maximum": 65535, }, - "secure": {"type": "boolean", "default": False}, - "ws_token": {"type": "string"}, + "secure": { + "description": "Whether to use SSL to connect to the producer.", + "type": "boolean", + "default": False, + }, + "ws_token": { + "description": "WebSocket token for the producer.", + "type": "string", + }, }, "required": ["name", "host", "ws_token"], }, }, - "wait_timeout": {"type": "integer", "minimum": 0}, - "sleep_time": {"type": "integer", "minimum": 0}, - "ping_timeout": {"type": "integer", "minimum": 0}, - "remove_entry_exit_signals": {"type": "boolean", "default": False}, + "wait_timeout": { + "description": "Wait timeout in seconds.", + "type": "integer", + "minimum": 0, + }, + "sleep_time": { + "description": "Sleep time in seconds before retrying to connect.", + "type": "integer", + "minimum": 0, + }, + "ping_timeout": { + "description": "Ping timeout in seconds.", + "type": "integer", + "minimum": 0, + }, + "remove_entry_exit_signals": { + "description": "Remove signal columns from the dataframe (set them to 0)", + "type": "boolean", + "default": False, + }, "initial_candle_limit": { + "description": "Initial candle limit.", "type": "integer", "minimum": 0, "maximum": 1500, "default": 1500, }, - "message_size_limit": { # In megabytes + "message_size_limit": { + "description": "Message size limit in megabytes.", "type": "integer", "minimum": 1, "maximum": 20,