Loading the API reference…

Browse the API reference

Live positions for an account

get https://trading-gateway-api.prod.thinkalpha.io/accounts/{accountId}/positions
Authentication
Bearer token or Client credentials (HTTP Basic)

Path parameters

  • accountId string required

    The ID of the account to get live positions for.

Responses

Position

A live position for one (account, symbol) pair. Invariant: `quantity = sodQuantity + boughtQuantity - soldQuantity`. `version` is strictly increasing per (account, symbol). Broadcast ordering across concurrent writers is not guaranteed: clients must drop payloads whose `version` is at or below the last seen for the same key, and should treat a REST snapshot the same way when merging with the live stream.