A Feature for the bot to use sell orders instead of tickers. New config settings (min & max) are also introduced to allow the bot to search from the sell orders a profitable rate based on minimum roi.

Expected issue: cannot be used in backtesting
This commit is contained in:
Nullart
2018-06-12 10:27:08 +08:00
parent d36d536724
commit f530a7db0e
6 changed files with 54 additions and 13 deletions

View File

@@ -70,6 +70,14 @@ CONF_SCHEMA = {
},
'required': ['ask_last_balance']
},
'ask_strategy': {
'type': 'object',
'properties': {
'use_book_order': {'type': 'boolean'},
'book_order_min': {'type': 'number', 'minimum':1},
'book_order_max': {'type': 'number', 'minimum':1}
},
},
'exchange': {'$ref': '#/definitions/exchange'},
'experimental': {
'type': 'object',