HomeGuidesRecipesAPI ReferenceGraphQLChangelogDiscussionsv2023.08
HomeLog In
API Reference
These docs are for v2023.08. Click to read the latest docs for v2023.12.

Get Account Portfolio History

Returns timeseries data about equity and profit/loss (P/L) of the account in requested timespan.

Path Params
string
required
Query Params
string

The duration of the data in number + unit, such as 1D. unit can be D for day, W for week, M for month and A for year. Defaults to 1M.

string

The resolution of time window. 1Min, 5Min, 15Min, 1H, or 1D. If omitted, 1Min for less than 7 days period, 15Min for less than 30 days, or otherwise 1D.

string

Symbol included in portfolio

string

The date the data is returned up to, in ā€œYYYY-MM-DDā€ format. Defaults to the current market date (rolls over at the market open if extended_hours is false, otherwise at 7am ET)

boolean

If true, include extended hours in the result. This is effective only for timeframe less than 1D.

boolean

If true returns the current day of portfolio history

Response

Language
Credentials
Basic
base64
:
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json

©2023. Prime Industries, Services, and Trinkets LLC. We are not responsible