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

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

# Position.Comment

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

## Comment

Comment can be used as a note for the order.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
position.Comment: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
var result = ExecuteMarketOrder(TradeType.Buy, SymbolName, 10000, "myLabel", 20, 40, "Breakout entry");
if (result.IsSuccessful)
    Print("Position comment: {0}", result.Position.Comment);
```

Python:

```python
result = api.ExecuteMarketOrder(TradeType.Buy, api.SymbolName, 10000, "myLabel", 20, 40, "Breakout entry")
if result.IsSuccessful:
    api.Print(f"Position comment: {result.Position.Comment}")
```

