mirror of
https://github.com/freqtrade/freqtrade.git
synced 2025-12-14 03:41:14 +00:00
fix(okx): correct PriceType.MARK and PriceType.INDEX mapping
This commit is contained in:
@@ -41,8 +41,8 @@ class Okx(Exchange):
|
|||||||
"stop_price_type_field": "slTriggerPxType",
|
"stop_price_type_field": "slTriggerPxType",
|
||||||
"stop_price_type_value_mapping": {
|
"stop_price_type_value_mapping": {
|
||||||
PriceType.LAST: "last",
|
PriceType.LAST: "last",
|
||||||
PriceType.MARK: "index",
|
PriceType.MARK: "mark",
|
||||||
PriceType.INDEX: "mark",
|
PriceType.INDEX: "index",
|
||||||
},
|
},
|
||||||
"stoploss_blocks_assets": False,
|
"stoploss_blocks_assets": False,
|
||||||
"ws_enabled": True,
|
"ws_enabled": True,
|
||||||
|
|||||||
Reference in New Issue
Block a user