Skip to content

Commit 83f70b3

Browse files
authored
Merge pull request freqtrade#12585 from LMessi2000/fix/okx-price-type-mapping
fix(okx): correct PriceType.MARK and PriceType.INDEX mapping
2 parents 37792e7 + e6e14ab commit 83f70b3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

freqtrade/exchange/okx.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ class Okx(Exchange):
4141
"stop_price_type_field": "slTriggerPxType",
4242
"stop_price_type_value_mapping": {
4343
PriceType.LAST: "last",
44-
PriceType.MARK: "index",
45-
PriceType.INDEX: "mark",
44+
PriceType.MARK: "mark",
45+
PriceType.INDEX: "index",
4646
},
4747
"stoploss_blocks_assets": False,
4848
"ws_enabled": True,

0 commit comments

Comments
 (0)