alert

forge.alertsfunctionSince Forge API 1
Signaturepython
forge.alerts.alert(message: str,/,*,bar: int | None = None,frequency: str = 'bar_close') -> None

Raise an alert from on_bar, or from calculate with bar=.

Parameters

NameTypeDefault
messagestr
barint | NoneNone
frequencystr'bar_close'

There is no way to say who is told: only the person who armed the alert hears it.