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

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

# PendingOrder.TargetPrice

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

## TargetPrice

The order target price.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double TargetPrice {get;}
```

Python:

```python
pendingOrder.TargetPrice: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var targetPrice = Symbol.Bid - 20 * Symbol.PipSize;
var result = PlaceLimitOrder(TradeType.Buy, SymbolName, 10000, targetPrice, "myLabel");
if (result.IsSuccessful)
    Print("Order target price: {0}", result.PendingOrder.TargetPrice);
```

Python:

```python
targetPrice = api.Symbol.Bid - 20 * api.Symbol.PipSize
result = api.PlaceLimitOrder(TradeType.Buy, api.SymbolName, 10000, targetPrice, "myLabel")
if result.IsSuccessful:
    api.Print(f"Order target price: {result.PendingOrder.TargetPrice}")
```

