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

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

# PendingOrder.VolumeInUnits

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

## VolumeInUnits

Volume of this order.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double VolumeInUnits {get;}
```

Python:

```python
pendingOrder.VolumeInUnits: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var result = PlaceLimitOrder(TradeType.Buy, SymbolName, 10000, Symbol.Bid - 20 * Symbol.PipSize);
if (result.IsSuccessful)
    Print("The order's volume is: {0}", result.PendingOrder.VolumeInUnits);
```

Python:

```python
result = api.PlaceLimitOrder(TradeType.Buy, api.SymbolName, 10000, api.Symbol.Bid - 20 * api.Symbol.PipSize)
if result.IsSuccessful:
    api.Print(f"The order's volume is: {result.PendingOrder.VolumeInUnits}")
```

