Implement validation for valid stake currency

This commit is contained in:
Matthias
2020-01-11 11:53:44 +01:00
parent 235a10ab86
commit 13274964a9
3 changed files with 25 additions and 3 deletions

View File

@@ -61,7 +61,7 @@ CONF_SCHEMA = {
'properties': {
'max_open_trades': {'type': ['integer', 'number'], 'minimum': -1},
'ticker_interval': {'type': 'string'},
'stake_currency': {'type': 'string', 'enum': ['BTC', 'XBT', 'ETH', 'USDT', 'EUR', 'USD']},
'stake_currency': {'type': 'string'},
'stake_amount': {
'type': ['number', 'string'],
'minimum': 0.0001,