Aquanow CAMS v1.0 (Updated)
  • Welcome
  • Security
    • OAuth2.0
    • API Limits
  • Pagination
  • Webhooks
    • Onboarding
    • Settlements
    • Reports
    • Order
    • Execution
    • Document
  • Market Data
    • Websocket
    • Rest API
      • OHLC
  • API reference
    • Customers
      • Docs
      • Configuration
    • Trades
      • RFQ
    • Orders
    • Executions
    • Settlements
    • Transactions
    • Accounts
      • Credit
      • Balances
      • Configuration
      • Performance
    • Instruments
      • Pairs
      • Assets
    • Custody
      • Balances
      • Allocation
    • Files
    • Webhook
  • Change Log
  • Specification
  • User Guide
    • View Customers
      • Customer Onboarding
      • Upload Onboarding Docs
      • View Customer Account Balances
      • Customer Risk Groups
    • View Customer Trade Activity
    • Manage Team Members
Powered by GitBook
On this page
  1. API reference
  2. Accounts

Performance

PreviousConfigurationNextInstruments

Last updated 8 months ago

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
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"
        }
      ]
    }
  ]
}