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

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

# HistoricalTrade.Comment

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

## Comment

The comment.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
historicalTrade.Comment: str
```

### Returns

`string` — 

### Examples

C#:

```csharp
var trade = History.FindLast("myLabel");
if (trade != null)
    Print("Trade comment: {0}", trade.Comment);
```

Python:

```python
trade = api.History.FindLast("myLabel")
if trade is not None:
    api.Print(f"Trade comment: {trade.Comment}")
```

