Loading the API reference…

Browse the API reference

Cancel and replace an order

post https://trading-gateway-api.prod.thinkalpha.io/orders/modifications
Authentication
Bearer token or Client credentials (HTTP Basic)

Query parameters

  • session string

Request body application/json required

Request to cancel and replace (modify) an existing order.

  • AccountDescriptor required

    Polymorphic account identifier — can be a raw UUID or a qualified name lookup. This is the client-facing version with all 5 lookup variants.

  • MutableOrderFields required

    Mutable fields that can be changed in a cancel-replace (modify) request.

  • modifyClOrdId string

    ClOrdId of a pending modify request to base this modification on.

  • OrderDescriptor required
  • text string

    Optional notes for the modification.

Responses