> For the complete documentation index, see [llms.txt](https://th-trader.gitbook.io/th-trader-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://th-trader.gitbook.io/th-trader-docs/rest-api-specification/cash-transaction/position.md). Agents can also search and read this documentation through its [MCP server](https://th-trader.gitbook.io/th-trader-docs/~gitbook/mcp).

# Position

| Field                | Value                                                                                     | Type                                                                                                                                       |
| -------------------- | ----------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| **account**          | Unique code of the account                                                                | [Account code](https://th-trader.gitbook.io/th-trader-docs/rest-api-specification/getting-started/data-types-and-formats.md), **required** |
| **version**          | Numeric version of the account.                                                           | [Number](https://th-trader.gitbook.io/th-trader-docs/rest-api-specification/getting-started/data-types-and-formats.md), **required**       |
| **positionCode**     | Unique code of a position                                                                 | String, **required**                                                                                                                       |
| **symbol**           | Symbol of the position’s instrument                                                       | String, **required**                                                                                                                       |
| **quantity**         | Current quantity of the position in units (not in lots); unsigned value                   | [Number](https://th-trader.gitbook.io/th-trader-docs/rest-api-specification/getting-started/data-types-and-formats.md), **required**       |
| **quantityNotional** | Current quantity notional of the position in notional units (not in lots); unsigned value | [Number](https://th-trader.gitbook.io/th-trader-docs/rest-api-specification/getting-started/data-types-and-formats.md), **required**       |
| **side**             | Side of the position. Either `BUY` (long) or `SELL` (short)                               | String, **required**                                                                                                                       |
| **openTime**         | Timestamp in UTC when this position was opened                                            | Timestamp, **required**                                                                                                                    |
| **openPrice**        | Price at which the position was opened                                                    | [Number](https://th-trader.gitbook.io/th-trader-docs/rest-api-specification/getting-started/data-types-and-formats.md), **required**       |
| **lastUpdateTime**   | Timestamp in UTC when this position was last updated                                      | Timestamp]\(#dates-times), **required**                                                                                                    |
