feat: more config schema descriptions

This commit is contained in:
Matthias 2024-07-25 20:51:55 +02:00
parent 6cfba2c225
commit 14a20c703b

View File

@ -697,27 +697,60 @@ CONF_SCHEMA = {
}, },
"required": ["enabled", "listen_ip_address", "listen_port", "username", "password"], "required": ["enabled", "listen_ip_address", "listen_port", "username", "password"],
}, },
"db_url": {"type": "string"}, "db_url": {
"export": {"type": "string", "enum": EXPORT_OPTIONS, "default": "trades"}, "description": "Database connection URL.",
"disableparamexport": {"type": "boolean"}, "type": "string",
"initial_state": {"type": "string", "enum": ["running", "stopped"]}, },
"force_entry_enable": {"type": "boolean"}, "export": {
"disable_dataframe_checks": {"type": "boolean"}, "description": "Type of data to export.",
"type": "string",
"enum": EXPORT_OPTIONS,
"default": "trades",
},
"disableparamexport": {
"description": "Disable parameter export.",
"type": "boolean",
},
"initial_state": {
"description": "Initial state of the system.",
"type": "string",
"enum": ["running", "stopped"],
},
"force_entry_enable": {
"description": "Force enable entry.",
"type": "boolean",
},
"disable_dataframe_checks": {
"description": "Disable checks on dataframes.",
"type": "boolean",
},
"internals": { "internals": {
"description": "Internal settings.",
"type": "object", "type": "object",
"default": {}, "default": {},
"properties": { "properties": {
"process_throttle_secs": {"type": "integer"}, "process_throttle_secs": {
"interval": {"type": "integer"}, "description": "Throttle time in seconds for processing.",
"sd_notify": {"type": "boolean"}, "type": "integer",
},
"interval": {
"description": "Interval time in seconds.",
"type": "integer",
},
"sd_notify": {
"description": "Enable systemd notify.",
"type": "boolean",
},
}, },
}, },
"dataformat_ohlcv": { "dataformat_ohlcv": {
"description": "Data format for OHLCV data.",
"type": "string", "type": "string",
"enum": AVAILABLE_DATAHANDLERS, "enum": AVAILABLE_DATAHANDLERS,
"default": "feather", "default": "feather",
}, },
"dataformat_trades": { "dataformat_trades": {
"description": "Data format for trade data.",
"type": "string", "type": "string",
"enum": AVAILABLE_DATAHANDLERS, "enum": AVAILABLE_DATAHANDLERS,
"default": "feather", "default": "feather",