Performance

Get Account Performance

get

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 · dateOptional

The first date to include in the performance data

Example: 2024-02-01
endDatestring · dateOptional

The last date to include in the performance data

Example: 2024-05-01
Responses
200
Successful response
application/json
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