Get many assets performance
Get many assets performance
Retrieves the performance of multiple assets in the portfolio, including the average cost, total invested, and unrealized gains (gains and losses) for each asset.
POST
Get many assets performance
Documentation Index
Fetch the complete documentation index at: https://developer.uphold.com/llms.txt
Use this file to discover all available pages before exploring further.
All calculations are performed internally in USD. When a denomination asset other than USD is used, amounts are converted using current market exchange rates. This can lead to discrepancies in portfolio performance values, which tend to be minor for assets that remain relatively stable against USD.
Denomination
Thedenomination query parameter allows you to denominate rates against another asset. If no value is set for this parameter, it defaults to USD.
For a more detailed explanation of the denomination concept, check the Core Concepts page.
Interval
Theinterval query parameter determines the time period for which performance data is calculated and returned. This allows you to analyze asset performance over different timeframes, from recent short-term activity to comprehensive long-term investment tracking. Each interval value corresponds to a specific historical period:
| Interval | Description |
|---|---|
one-hour | Past hour of historical data |
one-day | Past day of historical data |
all-time | All historical data available |
Authorizations
OAuth 2.0 authentication.
Query Parameters
Specifies the asset code to use as the denomination for value conversion. If not provided, USD is used by default.
Minimum string length:
1The interval for the portfolio performance.
Available options:
one-hour, one-day, all-time Body
application/json
The asset codes to retrieve.
Required array length:
1 - 100 elementsMinimum string length:
1Response
Portfolio assets performance retrieved.