You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TP/SL that stay after the position is closed: new bytx.exchanges.tp_sl_cancel_on_flat(ccxt_id) says whether the
exchange cancels the remaining TP/SL itself once the position is flat. Binance does not (demo 2026-11-18: both legs
stay after close_position, the SL stays after the TP fires); Bybit, OKX, BingX, Bitget, BloFin, Gate and
Hyperliquid do; KuCoin, MEXC, HTX — unknown.
open_position with SL and TP adds a warning to warnings on those exchanges: cancel the other leg with flatten, cancel_tp_sl or recover(). Orders are unchanged.
Docs: close_position does not cancel TP/SL (use flatten); paper cancels them on close, gentler than Binance.