From 1c98c2feeb5a538577099ee9656b0fe8c4042376 Mon Sep 17 00:00:00 2001 From: Matthias Date: Thu, 26 Mar 2026 06:54:23 +0100 Subject: [PATCH] feat(bitget): add stoploss price type support closes #12981 --- freqtrade/exchange/bitget.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/freqtrade/exchange/bitget.py b/freqtrade/exchange/bitget.py index d298d14d6..277ae5532 100644 --- a/freqtrade/exchange/bitget.py +++ b/freqtrade/exchange/bitget.py @@ -4,7 +4,7 @@ from datetime import datetime, timedelta import ccxt from freqtrade.constants import BuySell -from freqtrade.enums import OPTIMIZE_MODES, CandleType, MarginMode, TradingMode +from freqtrade.enums import OPTIMIZE_MODES, CandleType, MarginMode, PriceType, TradingMode from freqtrade.exceptions import ( DDosProtection, OperationalException, @@ -34,6 +34,11 @@ class Bitget(Exchange): "stoploss_query_requires_stop_flag": True, "ohlcv_candle_limit": 200, # 200 for historical candles, 1000 for recent ones. "order_time_in_force": ["GTC", "FOK", "IOC", "PO"], + "stop_price_type_field": "triggerType", + "stop_price_type_value_mapping": { + PriceType.LAST: "fill_price", + PriceType.MARK: "mark_price", + }, } _ft_has_futures: FtHas = { "funding_fee_candle_limit": 100,