Portfolio
Get portfolio PnL chart
Changed onHybrid PnL: realised series + current total snapshot
get/portfolio/pnl-chart
Request
- Base URLhttps://api.limitless.exchange
- AuthAPI key in header lmts-api-key
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
timeframestring
Example:7d
Timeframe window for percent change and chart series
Response
PnL chart data
Example response
{
"timeframe": "7d",
"data": [
{
"timestamp": 1700000000000,
"value": 123.45
}
],
"currentValue": -7.04,
"previousValue": -6.5,
"percentChange": 8.24
}Changes
- info
the endpoint scheme security
HmacAuthwas added to the API - info
the endpoint scheme security
ApiKeyAuthwas removed from the API
- info
- info
the endpoint scheme security
ApiKeyAuthwas added to the API - info
the endpoint scheme security
bearerwas removed from the API
- info