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

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

# PriceAlertQuoteType (enum)

Represents the price alert quote types.

Environments: Desktop supported · CLI supported · Cloud supported.

## Definition

```csharp
public enum PriceAlertQuoteType
```

Available since cAlgo.API 5.2.

## Examples

C#:

```csharp
var support = Bars.LowPrices.Minimum(50);
PriceAlerts.Add(Symbol, support, PriceAlertQuoteType.Ask, PriceAlertCondition.LowerOrEqual);
Print("Alert added when the ask price drops to {0}", support);
```

Python:

```python
support = Functions.Minimum(api.Bars.LowPrices, 50)
api.PriceAlerts.Add(api.Symbol, support, PriceAlertQuoteType.Ask, PriceAlertCondition.LowerOrEqual)
api.Print(f"Alert added when the ask price drops to {support}")
```

## Values

- `PriceAlertQuoteType.Bid` — Symbol Bid price will be used for price alert.
- `PriceAlertQuoteType.Ask` — Symbol Ask price will be used for price alert.

