Skip to content

PriceAlerts.Count

property · PriceAlerts · cAlgo.API Since 5.2

DesktopCLICloud

Gets the total number of active price alerts.

Environment behaviour

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

Definition

int Count {get;}
api.PriceAlerts.Count: int

Returns int

Examples

Print("Active price alerts: {0}", PriceAlerts.Count);
api.Print(f"Active price alerts: {api.PriceAlerts.Count}")