tests and flake8 compliance

This commit is contained in:
Nullart
2018-06-18 18:05:43 +08:00
parent 735356197d
commit 2f6673fbe7
5 changed files with 48 additions and 27 deletions

View File

@@ -61,7 +61,7 @@ CONF_SCHEMA = {
'buy': {'type': 'number', 'minimum': 1},
'sell': {'type': 'number', 'minimum': 1}
},
'required': ['buy','sell']
'required': ['buy', 'sell']
},
'bid_strategy': {
'type': 'object',
@@ -74,9 +74,9 @@ CONF_SCHEMA = {
},
'use_book_order': {'type': 'boolean'},
'book_order_top': {'type': 'number', 'maximum': 20, 'minimum': 1},
'percent_from_top' : {'type': 'number', 'minimum': 0}
'percent_from_top': {'type': 'number', 'minimum': 0}
},
'required': ['ask_last_balance','use_book_order']
'required': ['ask_last_balance', 'use_book_order']
},
'ask_strategy': {
'type': 'object',