# Interpreting instruments positions

When trading instruments via the Investment API, positions can be locked for trading or other purposes (e.g., an account transfer). We provide full transparency on the current status of each position and allow full insight into the permitted actions that affect the position:

| Field | Description | Example |
|  --- | --- | --- |
| `quantity` | The total quantity of the position. | 10.4 |
| `locked_for_trading` | The portion of the position reserved for created but not yet executed sell orders. | 5 |
| `pending_settlement` | The portion of the total quantity that is not yet settled. The amount for outstanding settlements is always only a positive number, as it is only increased for purchase orders that have not yet been settled. | 0 |
| `available_for_trading` | The portion of the position that is available for trading. Equals quantity minus the positions locked for trading and all other locks (e.g., withdrawals, holding periods) that apply to the position. | 5.4 |
| `settled_quantity` | The total settled quantity of the position. Excludes units from buy orders pending settlement and includes units from sell orders pending settlement. This means the `settled_quantity` value can equal more or less than the `quantity` value. | 10.4 |


## End of Day (EOD) positions

Upvest provides real-time settled positions via the [Position events webhook](/api/positions/position_event). To record an account's end of day settled position, use the `settled_quantity` value from the last `POSITION.UPDATED` event within your defined end of day period.