From 3f60b2c140c02b31d547508c092cf55cfc961774 Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 26 Sep 2023 06:45:48 +0200 Subject: [PATCH] Update bybit stoploss parameter/prop for new ccxt version --- freqtrade/exchange/bybit.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/freqtrade/exchange/bybit.py b/freqtrade/exchange/bybit.py index d9b7c817f..ac6efb670 100644 --- a/freqtrade/exchange/bybit.py +++ b/freqtrade/exchange/bybit.py @@ -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",