alert
forge.alertsfunctionSince Forge API 1
Signaturepython
forge.alerts.alert(message: str,/,*,bar: int | None = None,frequency: str = 'bar_close') -> NoneRaise an alert from on_bar, or from calculate with bar=.
Parameters
| Name | Type | Default |
|---|---|---|
| message | str | |
| bar | int | None | None |
| frequency | str | 'bar_close' |
There is no way to say who is told: only the person who armed the alert hears it.