set stake_currency to be an enum of available markets in Bittrex

This commit is contained in:
Janne Sinivirta 2017-09-08 08:51:10 +03:00
parent 768eae31e8
commit a3b318cb03

View File

@ -14,7 +14,7 @@ _conf_schema = {
'type': 'object', 'type': 'object',
'properties': { 'properties': {
'max_open_trades': {'type': 'integer', 'minimum': 1}, 'max_open_trades': {'type': 'integer', 'minimum': 1},
'stake_currency': {'type': 'string'}, 'stake_currency': {'type': 'string', 'enum': ['BTC', 'ETH', 'USDT']},
'stake_amount': {'type': 'number', 'minimum': 0.0005}, 'stake_amount': {'type': 'number', 'minimum': 0.0005},
'dry_run': {'type': 'boolean'}, 'dry_run': {'type': 'boolean'},
'minimal_roi': { 'minimal_roi': {