---
id: "M:cAlgo.API.PriceAlerts.FindAll(System.String)"
kind: "method"
type: "T:cAlgo.API.PriceAlerts"
url: "https://help.ctrader.com/ctrader-algo/references/PriceAlert/PriceAlerts/FindAll/"
---

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

# PriceAlerts.FindAll

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

## FindAll(string symbolName)

Finds all price alerts by their symbol.

Environments: Desktop supported · CLI supported · Cloud not supported.

- Cloud: Always empty: Count 0, Find null, FindAll empty, Remove false. Added/Removed/Updated/Triggered never raised.

C#:

```csharp
PriceAlert[] FindAll(string symbolName)
```

Python:

```python
api.PriceAlerts.FindAll(symbolName: str) -> list[PriceAlert]
```

### Parameters

- `symbolName` (`string`, Python `str`): The symbol name of the price alert.

### Returns

`PriceAlert[]` — Array of PriceAlerts.

Available since cAlgo.API 5.2.

### Examples

C#:

```csharp
var eurUsdAlerts = PriceAlerts.FindAll("EURUSD");
Print("EURUSD price alerts: {0}", eurUsdAlerts.Length);
```

Python:

```python
eurUsdAlerts = api.PriceAlerts.FindAll("EURUSD")
api.Print(f"EURUSD price alerts: {len(eurUsdAlerts)}")
```

