Merge pull request #12585 from LMessi2000/fix/okx-price-type-mapping

fix(okx): correct PriceType.MARK and PriceType.INDEX mapping
This commit is contained in:
Matthias
2025-12-04 07:24:31 +01:00
committed by GitHub

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,