v1

latestOpenAPI 3.0.02026-07-26166415635.8 KB
Reporting

Retrieve EOD Positions

This API retrieves a comprehensive list of end-of-day positions for all accounts. End-of-day (EOD) positions are typically accessible after 4:00 am Eastern Time (ET) on the following day, providing a comprehensive view of the day's closing positions across all accounts. This API currently only supports retrieving EOD positions for the last trading date.

get/v1/reporting/eod/positions

Query parameters

account_idstring uuid

Filter the results by account_id (optional).

assetstring

Filter the results by asset ID or symbol (optional).

asofstring date

The positions date in 'YYYY-MM-DD' format. It's recommended to provide this parameter when the 'page' parameter is specified, to ensure precise data retrieval based on the desired date. Only previous trading date is supported.

page_tokenstring
Example:MA==

Used for pagination, this token retrieves the next page of results. It is obtained from the response of the preceding page when additional pages are available.

limitinteger

The number of accounts to display per page (default=1000, max=10000).

Response

Successful response containing the end-of-day positions for the specified accounts.

asofstring date

The date of the snapshot in the 'YYYY-MM-DD' format.

next_page_tokenstring nullable

Use this token in your next API call to paginate through the dataset and retrieve the next page of results. A null token indicates there are no more data to fetch.

positionsobject

A detailed map of account IDs to their respective positions.

Example response

{
  "next_page_token": "MTAwMA=="
}