TGViewer
CCXT Announcements CCXT Announcements @ccxt_announcements · 840 subscribers
Post #103 1.05K
Hello CCXT community 👋

We would like to inform Bybit users that CCXT has decided to change the endpoint used for placing independent stopLossPrice / takeProfitPrice orders.

Previously, these orders were placed using the trading-stop endpoint. After further analysis, we concluded that this endpoint does not align well with our unification standards and, since it does not return an orderId, it makes order tracking more difficult for users.

As a result, such orders will now be placed using the standard create-order endpoint.


    tp_order = await bybit.create_order(symbol, 'limit', 'sell', 50, 1.5, {"takeProfitPrice": 1.6}) # take profit order
sl_order = await bybit.create_order(symbol, 'limit', 'sell', 50, 0.24, {"stopLossPrice": 0.25}) # stop loss order


However, if you still want to use the previous endpoint (trading-stop) you can just provide tradingStopEndpoint: true in params and the behavior will remain unchanged

    tp_order = await bybit.create_order(symbol, 'limit', 'sell', 50, 1.5, {"takeProfitPrice": 1.6, "tradingStopEndpoint": true}) # take profit order
sl_order = await bybit.create_order(symbol, 'limit', 'sell', 50, 0.24, {"stopLossPrice": 0.25, "tradingStopEndpoint": true}) # stop loss order


- create-order: https://bybit-exchange.github.io/docs/v5/order/create-order
- trading-stop: https://bybit-exchange.github.io/docs/v5/position/trading-stop

This feature is available starting from CCXT v4.5.27.

As always, if you have any questions or need assistance, feel free to reach out to the CCXT team!

Thank you for your continued support,
The CCXT Team
bybit-exchange.github.io Place Order | Bybit API Documentation This endpoint supports to create the order for Spot, Margin trading, USDT perpetual, USDT futures, USDC perpetual, USDC futures, Inverse Futures and Options.
  • 🔥 11
  • ❤ 2
More from @ccxt_announcements
  1. Sep 19, 2026📘 4.5.81 released! Upgrade now to take advantage of: 🔧 Updates & Fixes: Upgrade to v4.5.…
  2. Sep 17, 2026🇸🇬 CCXT is coming to TOKEN2049 Singapore! We’d love to meet members of the CCXT communit…
  3. Sep 14, 2026Hello, CCXT community! 👋 🚀 Introducing ccxt-mcp — the official CCXT MCP server Give your…
  4. Sep 7, 2026Hello, CCXT community! 👋 We're excited to announce the public release of the Rust version…
  5. Sep 4, 2026⏰ Last call — registration closes Monday The BTSE × CCXT Trading Competition registration…
  6. Sep 1, 2026Hello, CCXT community! 👋 We are happy to announce the integration of the Revolut X exchan…
Threads Profile ViewerView any public Threads profile without an account.Open ThreadLook →Writing with AI? Make it sound human.Metric37 rewrites AI drafts so they read naturally. Free AI detector, 1,500 words free.Try Metric37 →