From 92a1c304a8368fcde4316d4956bd632078e6496a Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 20 May 2025 06:48:21 +0200 Subject: [PATCH] feat: add additional supported keys to config schema --- freqtrade/config_schema/config_schema.py | 27 +++++++++++++++++++----- 1 file changed, 22 insertions(+), 5 deletions(-) diff --git a/freqtrade/config_schema/config_schema.py b/freqtrade/config_schema/config_schema.py index 8b88e655a..4c16bc661 100644 --- a/freqtrade/config_schema/config_schema.py +++ b/freqtrade/config_schema/config_schema.py @@ -806,11 +806,6 @@ CONF_SCHEMA = { "type": "object", "properties": { "name": {"description": "Name of the exchange.", "type": "string"}, - "enable_ws": { - "description": "Enable WebSocket connections to the exchange.", - "type": "boolean", - "default": True, - }, "key": { "description": "API key for the exchange.", "type": "string", @@ -827,6 +822,23 @@ CONF_SCHEMA = { "default": "", }, "uid": {"description": "User ID for the exchange, if required.", "type": "string"}, + "account_id": { + "description": "Account ID for the exchange, if required.", + "type": "string", + }, + "wallet_address": { + "description": ( + "Wallet address for the exchange, if required. " + "Usually used by DEX exchanges." + ), + "type": "string", + }, + "private_key": { + "description": ( + "Private key for the exchange, if required. Usually used by DEX exchanges." + ), + "type": "string", + }, "pair_whitelist": { "description": "List of whitelisted trading pairs.", "type": "array", @@ -847,6 +859,11 @@ CONF_SCHEMA = { "type": "boolean", "default": False, }, + "enable_ws": { + "description": "Enable WebSocket connections to the exchange.", + "type": "boolean", + "default": True, + }, "unknown_fee_rate": { "description": "Fee rate for unknown markets.", "type": "number",