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

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

# PendingOrder.Comment

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

## Comment

User assigned Order Comment

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
string Comment {get;}
```

Python:

```python
pendingOrder.Comment: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
var result = PlaceLimitOrder(TradeType.Buy, SymbolName, 10000, Symbol.Bid - 20 * Symbol.PipSize, "myLabel", 20, 40, ProtectionType.Relative, null, "Pullback entry");
if (result.IsSuccessful)
    Print("Order comment: {0}", result.PendingOrder.Comment);
```

Python:

```python
result = api.PlaceLimitOrder(TradeType.Buy, api.SymbolName, 10000, api.Symbol.Bid - 20 * api.Symbol.PipSize, "myLabel", 20, 40, ProtectionType.Relative, None, "Pullback entry")
if result.IsSuccessful:
    api.Print(f"Order comment: {result.PendingOrder.Comment}")
```

