---
title: "Account Performance (All Time Periods)"
method: POST
path: "/pa/allperiods"
tags: ["tradingPortfolioAnalyst"]
---

# Account Performance (All Time Periods)

`POST /pa/allperiods`

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

## Query parameters

- `param` string

## Request body

- object
  - `acctIds` string[] — An array of strings containing each account identifier to retrieve performance details for.

## Response `200`

An array of objects detailing contract information.

- DetailedContractInformation
  - `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).
  - `view` string[] — Returns the accountIds being viewed and returned.
  - `nd` integer — Returns the total data points.
  - `id` string — Returns the request identifier, getPerformanceAllPeriods.
  - `included` string[] — Returns an array containing accounts reviewed.
  - `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)
