---
id: "P:cAlgo.API.PendingOrder.CurrentPrice"
kind: "property"
type: "T:cAlgo.API.PendingOrder"
url: "https://help.ctrader.com/ctrader-algo/references/Trading/Orders/PendingOrder/CurrentPrice/"
---

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

# PendingOrder.CurrentPrice

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

## CurrentPrice

Gets the current price of the symbol for which the pending order is placed.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double CurrentPrice {get;}
```

Python:

```python
pendingOrder.CurrentPrice: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
foreach (var order in PendingOrders)
    Print("Order {0}: target {1}, current price {2}", order.Id, order.TargetPrice, order.CurrentPrice);
```

Python:

```python
for order in api.PendingOrders:
    api.Print(f"Order {order.Id}: target {order.TargetPrice}, current price {order.CurrentPrice}")
```

