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

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

# Symbol.UnrealizedGrossProfit

Member of [Symbol](https://help.ctrader.com/ctrader-algo/references/MarketData/Symbols/Symbol/index.md).

## UnrealizedGrossProfit

Gets the sum of the unrealized Gross profits of the positions of this Symbol

Environments: Desktop supported · CLI supported · Cloud supported.

C#:

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

Python:

```python
api.Symbol.UnrealizedGrossProfit: float
```

### Returns

`double` — 

### Examples

C#:

```csharp
Print("Unrealized gross profit of {0} positions: {1}", SymbolName, Symbol.UnrealizedGrossProfit);
```

Python:

```python
api.Print(f"Unrealized gross profit of {api.SymbolName} positions: {api.Symbol.UnrealizedGrossProfit}")
```

