Performance
Retrieve account performance details. Returns up to 15 data points for the account and it's assets. Will return the first and last date and then an approximately even distribution of 13 additional data points in between.
Authorizations
Path parameters
accountIdstring · uuidRequired
The account ID
Query parameters
startDatestring · dateOptionalExample:
The first date to include in the performance data
2024-02-01
endDatestring · dateOptionalExample:
The last date to include in the performance data
2024-05-01
Responses
200
Successful response
application/json
400
Validation Error
401
Unauthorized
403
Insufficient Privileges
4XX
Client error
5XX
Server error
get
GET /api/v1/accounts/{accountId}/performance HTTP/1.1
Host: cams.aquanow.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"accountId": "123e4567-e89b-12d3-a456-426614174000",
"performanceCurrency": "USD",
"mtm": "13554107.22",
"lastUpdatedAt": "2024-08-01T18:44:05Z",
"assetMtm": [
{
"asset": "BTC",
"assetMarketValue": "13554107.22",
"assetTradeBalance": "225.9017",
"marketRate": "60000.00",
"averagePrice": "45780.00"
}
],
"dataPoints": [
{
"closedAt": "2024-02-01",
"accountMarketValue": "13554107.22",
"assets": [
{
"asset": "BTC",
"assetMarketValue": "13554107.22",
"assetTradeBalance": "225.9017",
"marketRate": "60000.00"
}
]
}
]
}
Last updated