---
id: "P:cAlgo.API.PendingOrders.Item(System.Int32)"
kind: "property"
type: "T:cAlgo.API.PendingOrders"
url: "https://help.ctrader.com/ctrader-algo/references/Trading/Orders/PendingOrders/Item/"
---

> Documentation index for agents: https://help.ctrader.com/ctrader-algo/llms.txt · machine index: https://help.ctrader.com/ctrader-algo/api.json

# PendingOrders.Item

Member of [PendingOrders](https://help.ctrader.com/ctrader-algo/references/Trading/Orders/PendingOrders/index.md).

## Item

Find a pending order by index

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
PendingOrder Item {get;}
```

Python:

```python
api.PendingOrders[index: int] -> PendingOrder
```

### Parameters

- `index` (`int`, Python `int`): The position of the order in the collection

### Returns

`PendingOrder` — 

### Examples

C#:

```csharp
if (PendingOrders.Count > 0)
    Print("First pending order Id: {0}", PendingOrders[0].Id);
```

Python:

```python
if api.PendingOrders.Count > 0:
    api.Print(f"First pending order Id: {api.PendingOrders[0].Id}")
```

