# Account Metrics

| Field                  | Value                                                                                                          | Type                                                                    |
| ---------------------- | -------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------- |
| **account**            | Unique code of the account                                                                                     | [Account code](../getting-started/data-types-and-formats), **required** |
| **version**            | Numeric version of the account.                                                                                | [Number](../getting-started/data-types-and-formats), **required**       |
| **equity**             | Balance + Floating Profit/Loss                                                                                 | [Number](../getting-started/data-types-and-formats), **required**       |
| **balance**            | Total balance of the account in account’s base currency                                                        | [Number](../getting-started/data-types-and-formats), **required**       |
| **availableBalance**   | Total balance available for withdrawal in account’s base currency                                              | [Number](../getting-started/data-types-and-formats), **required**       |
| **availableFunds**     | Funds available for trading in the account’s base currency                                                     | [Number](../getting-started/data-types-and-formats), **required**       |
| **allocatedFunds**     | Total funds allocated to hold the current portfolio of product positions and / or orders for the whole account | [Number](../getting-started/data-types-and-formats), **required**       |
| **marginFree**         | Free margin (Equity - Margin)                                                                                  | [Number](../getting-started/data-types-and-formats), **required**       |
| **openPl**             | Open (Unrealized) Profit/Loss                                                                                  | [Number](../getting-started/data-types-and-formats), **required**       |
| **totalPl**            | Total PnL on the account                                                                                       | [Number](../getting-started/data-types-and-formats), **required**       |
| **margin**             | Used margin                                                                                                    | [Number](../getting-started/data-types-and-formats), **required**       |
| **openPositionsCount** | Number of open (non-zero quantity) positions                                                                   | [Number](../getting-started/data-types-and-formats), **required**       |
| **openOrdersCount**    | Number of order chains in non-final state                                                                      | [Number](../getting-started/data-types-and-formats), **required**       |
| **positions**          | If requested, contains a list of per-position metrics                                                          | [Position metrics](position-metrics), \*optional\*\*                    |
| **balances**           | If requested, contains a list of individual currency position metrics (balance metrics)                        | [Balance metrics](balance), \*optional\*\*                              |
