# Account Portfolio

The portfolio contains information about open positions and working orders on an account. Closed positions and completed orders are absent from the portfolio.

| Field         | Value                                                                                                                               | Type                                                                                                                          |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| **account**   | Unique code of the account                                                                                                          | [Account code](/sway-charts-api-documentation/rest-api-specification/getting-started/data-types-and-formats.md), **required** |
| **version**   | Numeric version of the account. Clients can use this value to find out which of the updates is more recent (its version is greater) | [Number](/sway-charts-api-documentation/rest-api-specification/getting-started/data-types-and-formats.md), **required**       |
| **balances**  | Cash balances in various currencies. Zero balances are not included.                                                                | List of [balance](/sway-charts-api-documentation/rest-api-specification/cash-transaction/balance.md) objects, **required**    |
| **positions** | Current positions on an account                                                                                                     | List of [position](/sway-charts-api-documentation/rest-api-specification/cash-transaction/position.md) objects, **required**  |
| **orders**    | Current orders on an account                                                                                                        | List of [order](/sway-charts-api-documentation/rest-api-specification/cash-transaction/order.md) objects, **required**        |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://sway-technologies.gitbook.io/sway-charts-api-documentation/rest-api-specification/cash-transaction/account-portfolio.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
