---
title: "Account Performance"
method: POST
path: "/pa/performance"
tags: ["tradingPortfolioAnalyst"]
---

# Account Performance

`POST /pa/performance`

Returns the performance (MTM) for the given accounts, if more than one account is passed, the result is consolidated.

## Request body

- object
  - `acctIds` unknown[] — An array of strings containing each account identifier to retrieve performance details for.
    - unknown
  - `period` '1D' | '7D' | 'MTD' | '1M' | '3M' | '6M' | '12M' | 'YTD' — Specify the period for which the account should be analyzed. Available period lengths: * `1D` - The last 24 hours. * `7D` - The last 7 full days. * `MTD` - Performance since the 1st of the month. * `1M` - A full calendar month from the last full trade day. * `3M` - 3 full calendar months from the last full trade day. * `6M` - 6 full calendar months from the last full trade day. * `12M` - 12 full calendar month from the last full trade day. * `YTD` - Performance since January 1st.

## Response `200`

An array of objects detailing contract information.

- PerformanceResponse
  - `currencyType` string — Confirms if the currency type. If trading exclusively in your base currency, "base" will be returned.
  - `rc` integer — Returns the data identifier (Internal Use Only).
  - `nav` PerformanceResponseNav — Net asset value data for the account or consolidated accounts. NAV data is not applicable to benchmarks.
    - `data` PerformanceResponseNavDataItems[] — Contains the affiliated 'nav' data.
      - `idType` string — Returns how identifiers are determined.
      - `navs` unknown[] — Returns sequential data points corresponding to the net asset value between the "start" and "end" days.
        - unknown
      - `start` string — Returns the first available date for data.
      - `end` string — Returns the end of the available frequency.
      - `id` string — Returns the account identifier.
      - `startNAV` PerformanceResponseNavDataItemsStartNav — Returns the intiial NAV available.
        - `date` string — Returns the starting date for the request.
        - `val` integer — Returns the Net Asset Value of the account.
      - `baseCurrency` string — Returns the base currency used in the account.
    - `freq` string — Displays the values corresponding to a given frequency.
    - `dates` unknown[] — Returns the array of dates formatted as strings corresponding to your frequency, the length should be same as the length of returns inside data.
      - unknown
  - `nd` integer — Returns the total data points.
  - `cps` PerformanceResponseCps — Returns the object containing the Cumulative performance data.
    - `data` PerformanceResponseCpsDataItems[] — Returns the array of cps data available.
      - `idType` string — Returns the key value of the request.
      - `start` string — Returns the starting value of the value range.
      - `end` string — Returns the ending value of the value range.
      - `returns` unknown[] — Returns all cps values in order between the start and end times.
        - unknown
      - `id` string — Returns the account identifier.
      - `baseCurrency` string — Returns the base curency for the account.
    - `freq` string — Returns the determining frequency of the data range.
    - `dates` unknown[] — Returns the dates corresponding to the frequency of data.
      - unknown
  - `tpps` PerformanceResponseTpps — Returns the time period performance data.
    - `data` PerformanceResponseTppsDataItems[] — Object containing all data about tpps.
      - `idType` string — Returns the key value of the request.
      - `start` string — Returns the starting value of the value range.
      - `end` string — Returns the ending value of the value range.
      - `returns` unknown[] — Returns all cps values in order between the start and end times.
        - unknown
      - `id` string — Returns the account identifier.
      - `baseCurrency` string — Returns the base curency for the account.
    - `freq` string — Returns the determining frequency of the data range.
    - `dates` unknown[] — Returns the dates corresponding to the frequency of data.
      - unknown
  - `id` string — Returns the request identifier, getPerformanceData.
  - `included` unknown[] — Returns an array containing accounts reviewed.
    - unknown
  - `pm` string — Portfolio Measure. Used to indicate TWR or MWR values returned.

## Other responses

- `400` — Missing, empty, non-numeric, or out-of-range parameter. The `error` field is always prefixed with `Bad Request:`.
- `401` — Missing, invalid, or unparseable Authorization token.
- `500` — internal server error, returned when incoming request cannot be processed. It can sometimes include subset of bad requests. For example, wrong accountId passed and it can only be detected later in handling request. Error contains reason of the problem.
- `503` — service is unavailable. For example if request takes more than 10s due to some internal service unavailability, request aborted and this status returned

---

[API](https://skmtc.net/interactivebrokers/apis/api-reference.md) · [All operations](https://skmtc.net/interactivebrokers/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/interactivebrokers/api-reference/revisions/67f9f562c2c6/schema)
