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

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

# HistoricalTrade.Balance

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

## Balance

Account balance after the Deal was filled

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double Balance {get;}
```

Python:

```python
historicalTrade.Balance: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
var trade = History.FindLast("myLabel");
if (trade != null)
    Print("Balance after the trade: {0}", trade.Balance);
```

Python:

```python
trade = api.History.FindLast("myLabel")
if trade is not None:
    api.Print(f"Balance after the trade: {trade.Balance}")
```

