fix(okx): correct PriceType.MARK and PriceType.INDEX mapping

This commit is contained in:
LMessi2000
2025-12-03 20:41:01 +08:00
parent 7137461891
commit a3e97527d1

View File

@@ -41,8 +41,8 @@ class Okx(Exchange):
"stop_price_type_field": "slTriggerPxType",
"stop_price_type_value_mapping": {
PriceType.LAST: "last",
PriceType.MARK: "index",
PriceType.INDEX: "mark",
PriceType.MARK: "mark",
PriceType.INDEX: "index",
},
"stoploss_blocks_assets": False,
"ws_enabled": True,