Cancel every resting order EXCEPT protective SL/TP legs on symbols that still hold a position (reported per connection in `preserved[]`; strategy-owned stops are always kept). Does NOT close positions. `includeProtective` is not honoured on this surface (scope: trading:write)

Risk-reducing only. Nothing on the trading surface can open a position, place a resting order, or move funds. Rate-limited to 30 live-account actions per minute per user.

post/v1/trading/orders/cancel-all

Request

  • Base URL: https://app.texttoquant.com/api
  • URL: https://app.texttoquant.com/api/v1/trading/orders/cancel-all
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Request body

connectionIdstring uuid

Limit to one account. Omit = every connected account.

Response

Success

successtrue required
dataobject[] required

Changes

No recorded changes to this operation across all 1 revision of this API.