Improve docs and fix typos

This commit is contained in:
Matthias
2020-11-29 11:36:16 +01:00
parent 768d7fa196
commit 9d6f3a89ef
3 changed files with 14 additions and 2 deletions

View File

@@ -204,8 +204,8 @@ CONF_SCHEMA = {
'properties': {
'method': {'type': 'string', 'enum': AVAILABLE_PROTECTIONS},
'stop_duration': {'type': 'number', 'minimum': 0.0},
'trade_limit': {'type': 'number', 'integer': 1},
'lookback_period': {'type': 'number', 'integer': 1},
'trade_limit': {'type': 'number', 'minimum': 1},
'lookback_period': {'type': 'number', 'minimum': 1},
},
'required': ['method'],
}