mirror of
https://github.com/freqtrade/freqtrade.git
synced 2024-11-10 02:12:01 +00:00
feat: more config schema descriptions - emc
This commit is contained in:
parent
05b202caa6
commit
075f6b9412
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue
Block a user