Get order health signals
Reports amendment counts, including cancels, and stale orders in PENDING_NEW, PENDING_CANCEL, PENDING_REPLACE or UNSPECIFIED status. Amendment buckets end at 3 or more. Returns at most 100 stuck orders, oldest first; stuck_count includes all matches. Requires a paid plan.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
Trading account ID. Omitted, the window covers every account in the organization
Required broker environment. Includes disabled and deleted accounts. A named account must belong to this environment.
paper, live Trailing day count for the amendment distribution. Clamped to 1..=90, then to the window the caller's plan grants
Filter by symbol. Symbols are normalized to uppercase; a blank value is treated as no filter
How long an order must have rested to count as stuck. Defaults to 15, clamped to 1..=1440
Response
Health signals retrieved
Order-level health signals that describe a window rather than a series.
The amendment distribution over the requested window, ascending, with every bucket present up to and including the cap.
An amendment is any command issued against an order after the one that placed it, which includes the cancel that ends it, so an order replaced once and then cancelled reports two. The distribution is read for its shape near zero rather than as a count of replaces alone.
How many were found, which can exceed stuck_orders.len(). The list
is capped so one wedged account cannot return an unbounded response.
x >= 0The threshold the list was built with, echoed back so a caller does not have to remember what it asked for to label the result.
Orders still open past the staleness threshold, oldest first.