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

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

# IAccount.UnrealizedNetProfit

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

## UnrealizedNetProfit

Gets the Unrealized Net profit value.

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

```csharp
double UnrealizedNetProfit {get;}
```

Python:

```python
api.Account.UnrealizedNetProfit: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
if (Account.UnrealizedNetProfit < -100)
    Print("Floating loss exceeds 100 {0}: {1}", Account.Asset.Name, Account.UnrealizedNetProfit);
```

Python:

```python
if api.Account.UnrealizedNetProfit < -100:
    api.Print(f"Floating loss exceeds 100 {api.Account.Asset.Name}: {api.Account.UnrealizedNetProfit}")
```

