get
https://webapi.x9trader.com/api/v1/accounts//active-trades
Retrieve all active trades for a specific trading account (user).
Returns data from Redis only (no third-party API or DB for this read):
- positions: From
ACCOUNT_TRADEScache (OPEN trades) - orders: From
ACCOUNT_ORDERScache (PENDING orders)
Response includes:
- account_number
- total_positions, positions[]
- total_orders, orders[]
Returns 404 if the account has no open positions and no pending orders.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
401Invalid or missing API key
403Access denied (CRM token company scope)
404Account has no active trades (no positions and no pending orders)
429Rate limit exceeded
503Redis temporarily unavailable