Add type check for coingecko settings

This commit is contained in:
Matthias
2024-05-20 14:34:18 +02:00
parent 1ff162cf17
commit 3729daf082

View File

@@ -322,6 +322,14 @@ CONF_SCHEMA = {
},
"required": REQUIRED_ORDERTIF,
},
"coingecko": {
"type": "object",
"properties": {
"is_demo": {"type": "boolean", "default": True},
"api_key": {"type": "string"},
},
"required": ["is_demo", "api_key"],
},
"exchange": {"$ref": "#/definitions/exchange"},
"edge": {"$ref": "#/definitions/edge"},
"freqai": {"$ref": "#/definitions/freqai"},