---
id: "P:cAlgo.API.Internals.IAccount.UnrealizedGrossProfit"
kind: "property"
type: "T:cAlgo.API.Internals.IAccount"
url: "https://help.ctrader.com/ctrader-algo/references/Account/IAccount/UnrealizedGrossProfit/"
---

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

# IAccount.UnrealizedGrossProfit

Member of [IAccount](https://help.ctrader.com/ctrader-algo/references/Account/IAccount/index.md).

## UnrealizedGrossProfit

Gets the Unrealized Gross profit value.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double UnrealizedGrossProfit {get;}
```

Python:

```python
api.Account.UnrealizedGrossProfit: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
Print("Unrealized gross profit: {0}", Account.UnrealizedGrossProfit);
```

Python:

```python
api.Print(f"Unrealized gross profit: {api.Account.UnrealizedGrossProfit}")
```

