Pricing strategies should default to use orderbook pricing

This commit is contained in:
Matthias 2021-06-26 08:19:37 +02:00
parent 0ecf456d7f
commit c62fad0088
7 changed files with 15 additions and 14 deletions

View File

@ -13,7 +13,7 @@
},
"bid_strategy": {
"ask_last_balance": 0.0,
"use_order_book": false,
"use_order_book": true,
"order_book_top": 1,
"check_depth_of_market": {
"enabled": false,
@ -21,7 +21,7 @@
}
},
"ask_strategy": {
"use_order_book": false,
"use_order_book": true,
"order_book_top": 1,
"use_sell_signal": true,
"sell_profit_only": false,

View File

@ -12,7 +12,7 @@
"sell": 30
},
"bid_strategy": {
"use_order_book": false,
"use_order_book": true,
"ask_last_balance": 0.0,
"order_book_top": 1,
"check_depth_of_market": {
@ -21,7 +21,7 @@
}
},
"ask_strategy":{
"use_order_book": false,
"use_order_book": true,
"order_book_top": 1,
"use_sell_signal": true,
"sell_profit_only": false,

View File

@ -13,7 +13,7 @@
},
"bid_strategy": {
"ask_last_balance": 0.0,
"use_order_book": false,
"use_order_book": true,
"order_book_top": 1,
"check_depth_of_market": {
"enabled": false,
@ -21,7 +21,7 @@
}
},
"ask_strategy": {
"use_order_book": false,
"use_order_book": true,
"order_book_top": 1,
"use_sell_signal": true,
"sell_profit_only": false,

View File

@ -28,7 +28,7 @@
},
"bid_strategy": {
"price_side": "bid",
"use_order_book": false,
"use_order_book": true,
"ask_last_balance": 0.0,
"order_book_top": 1,
"check_depth_of_market": {
@ -38,7 +38,7 @@
},
"ask_strategy":{
"price_side": "ask",
"use_order_book": false,
"use_order_book": true,
"order_book_top": 1,
"use_sell_signal": true,
"sell_profit_only": false,

View File

@ -12,7 +12,7 @@
"sell": 30
},
"bid_strategy": {
"use_order_book": false,
"use_order_book": true,
"ask_last_balance": 0.0,
"order_book_top": 1,
"check_depth_of_market": {
@ -21,7 +21,7 @@
}
},
"ask_strategy":{
"use_order_book": false,
"use_order_book": true,
"order_book_top": 1,
"use_sell_signal": true,
"sell_profit_only": false,

View File

@ -163,7 +163,7 @@ CONF_SCHEMA = {
}
},
},
'required': ['ask_last_balance']
'required': ['price_side']
},
'ask_strategy': {
'type': 'object',
@ -181,7 +181,8 @@ CONF_SCHEMA = {
'sell_profit_only': {'type': 'boolean'},
'sell_profit_offset': {'type': 'number'},
'ignore_roi_if_buy_signal': {'type': 'boolean'}
}
},
'required': ['price_side']
},
'order_types': {
'type': 'object',

View File

@ -15,7 +15,7 @@
"bid_strategy": {
"price_side": "bid",
"ask_last_balance": 0.0,
"use_order_book": false,
"use_order_book": true,
"order_book_top": 1,
"check_depth_of_market": {
"enabled": false,
@ -24,7 +24,7 @@
},
"ask_strategy": {
"price_side": "ask",
"use_order_book": false,
"use_order_book": true,
"order_book_top": 1,
"use_sell_signal": true,
"sell_profit_only": false,