v1

latestOpenAPI 3.0.02026-07-26166415635.8 KB
Trading

Bulk Fetch All Accounts Positions

Retrieves a list of the account's open positions. This endpoint is deprecated and will be removed in the future. Please use the GET /v1/reporting/eod/positions endpoint instead.

get/v1/accounts/positions

Query parameters

pageinteger

The number of the page of the results to be fetched.

Response

The response contains two fields:

asof: the timestamp for which the positions are returned. It is always the last market close

positions: an account-id to position list map, contains the requested page's accounts The positions map is empty for the last page.

Note: when fetching bulk positions, which can take multiple minutes depending on the number of accounts managed have, a market close can happen, and after that a new set of results might be returned. To make sure results are consistent, please always check that the as_of field didn't change during the whole fetching process.

as_ofstring date-time
positionsobject