Skip to content

Commit 92a1c30

Browse files
committed
feat: add additional supported keys to config schema
1 parent d8c2466 commit 92a1c30

File tree

1 file changed

+22
-5
lines changed

1 file changed

+22
-5
lines changed

freqtrade/config_schema/config_schema.py

Lines changed: 22 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -806,11 +806,6 @@
806806
"type": "object",
807807
"properties": {
808808
"name": {"description": "Name of the exchange.", "type": "string"},
809-
"enable_ws": {
810-
"description": "Enable WebSocket connections to the exchange.",
811-
"type": "boolean",
812-
"default": True,
813-
},
814809
"key": {
815810
"description": "API key for the exchange.",
816811
"type": "string",
@@ -827,6 +822,23 @@
827822
"default": "",
828823
},
829824
"uid": {"description": "User ID for the exchange, if required.", "type": "string"},
825+
"account_id": {
826+
"description": "Account ID for the exchange, if required.",
827+
"type": "string",
828+
},
829+
"wallet_address": {
830+
"description": (
831+
"Wallet address for the exchange, if required. "
832+
"Usually used by DEX exchanges."
833+
),
834+
"type": "string",
835+
},
836+
"private_key": {
837+
"description": (
838+
"Private key for the exchange, if required. Usually used by DEX exchanges."
839+
),
840+
"type": "string",
841+
},
830842
"pair_whitelist": {
831843
"description": "List of whitelisted trading pairs.",
832844
"type": "array",
@@ -847,6 +859,11 @@
847859
"type": "boolean",
848860
"default": False,
849861
},
862+
"enable_ws": {
863+
"description": "Enable WebSocket connections to the exchange.",
864+
"type": "boolean",
865+
"default": True,
866+
},
850867
"unknown_fee_rate": {
851868
"description": "Fee rate for unknown markets.",
852869
"type": "number",

0 commit comments

Comments
 (0)