Update bybit stoploss parameter/prop for new ccxt version

This commit is contained in:
Matthias
2023-09-26 06:45:48 +02:00
parent 927d1d2686
commit 3f60b2c140

View File

@@ -36,6 +36,9 @@ class Bybit(Exchange):
"funding_fee_timeframe": "8h",
"stoploss_on_exchange": True,
"stoploss_order_types": {"limit": "limit", "market": "market"},
"stop_price_param": "stopLossPrice",
# bybit response parsing fails to populate stopLossPrice
"stop_price_prop": "stopPrice",
"stop_price_type_field": "triggerBy",
"stop_price_type_value_mapping": {
PriceType.LAST: "LastPrice",