alert_check
Evaluate stored alert rules against current Stockbit bars, reporting which fire while preventing duplicate fires. Distinguishes false conditions from rules still warming up.
Instructions
Evaluate stored alert rules against current Stockbit bars and report which fired.
Fetches only the symbols with rules, and only as much history as the slowest indicator needs. A rule that fires is recorded so it does not fire again for the same bar.
reason on a rule that did not fire distinguishes 'condition-false' from 'warming-up' — the second means the comparison could not be made, which is NOT the same as a no. It covers two situations: not enough history yet, which more bars fix; or an operand the SERIES DOES NOT CARRY — a response can omit volume, and where a bar is missing it the value is absent rather than zero. The second never resolves by waiting, however much history arrives, because the field is not in the payload. Check volume is present on the bars before widening the window.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | No | Only check rules for this ticker | |
| dry_run | No | Evaluate without recording fires, so a check can be repeated. Default false. |