feat: add additional supported keys to config schema
This commit is contained in:
@@ -806,11 +806,6 @@ CONF_SCHEMA = {
|
|||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
"name": {"description": "Name of the exchange.", "type": "string"},
|
"name": {"description": "Name of the exchange.", "type": "string"},
|
||||||
"enable_ws": {
|
|
||||||
"description": "Enable WebSocket connections to the exchange.",
|
|
||||||
"type": "boolean",
|
|
||||||
"default": True,
|
|
||||||
},
|
|
||||||
"key": {
|
"key": {
|
||||||
"description": "API key for the exchange.",
|
"description": "API key for the exchange.",
|
||||||
"type": "string",
|
"type": "string",
|
||||||
@@ -827,6 +822,23 @@ CONF_SCHEMA = {
|
|||||||
"default": "",
|
"default": "",
|
||||||
},
|
},
|
||||||
"uid": {"description": "User ID for the exchange, if required.", "type": "string"},
|
"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": {
|
"pair_whitelist": {
|
||||||
"description": "List of whitelisted trading pairs.",
|
"description": "List of whitelisted trading pairs.",
|
||||||
"type": "array",
|
"type": "array",
|
||||||
@@ -847,6 +859,11 @@ CONF_SCHEMA = {
|
|||||||
"type": "boolean",
|
"type": "boolean",
|
||||||
"default": False,
|
"default": False,
|
||||||
},
|
},
|
||||||
|
"enable_ws": {
|
||||||
|
"description": "Enable WebSocket connections to the exchange.",
|
||||||
|
"type": "boolean",
|
||||||
|
"default": True,
|
||||||
|
},
|
||||||
"unknown_fee_rate": {
|
"unknown_fee_rate": {
|
||||||
"description": "Fee rate for unknown markets.",
|
"description": "Fee rate for unknown markets.",
|
||||||
"type": "number",
|
"type": "number",
|
||||||
|
|||||||
Reference in New Issue
Block a user