---
id: "T:cAlgo.API.PopupNotificationState"
kind: "enum"
namespace: "cAlgo.API"
url: "https://help.ctrader.com/ctrader-algo/references/Notifications/PopupNotificationState/"
---

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

# PopupNotificationState (enum)

Represents different states for popup notifications.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public enum PopupNotificationState
```

Available since cAlgo.API 5.3.

## Examples

C#:

```csharp
Notifications.ShowPopup("Account", "Balance: " + Account.Balance, PopupNotificationState.Information);
```

Python:

```python
api.Notifications.ShowPopup("Account", f"Balance: {api.Account.Balance}", PopupNotificationState.Information)
```

## Values

- `PopupNotificationState.InProgress` — In progress.
- `PopupNotificationState.Success` — Success.
- `PopupNotificationState.Error` — Error.
- `PopupNotificationState.Partial` — Partial.
- `PopupNotificationState.Information` — Information.

