Add basic config validation

This commit is contained in:
Matthias
2024-03-17 19:34:03 +01:00
parent 1d5f2b64a2
commit f663b53ac9

View File

@@ -471,6 +471,15 @@ CONF_SCHEMA = {
},
'position_adjustment_enable': {'type': 'boolean'},
'max_entry_position_adjustment': {'type': ['integer', 'number'], 'minimum': -1},
'orderflow': {
'type': 'object',
'properties': {
'scale': {'type': 'number', 'minimum': 0.0},
'stacked_imbalance_range': {'type': 'number'},
'imbalance_volume': {'type': 'number'},
'imbalance_ratio': {'type': 'number'},
}
},
},
'definitions': {
'exchange': {