Set an alert
You end with an alert on a price and one on an indicator's plot, both judged by the kernel, listed in the Alerts pane and read back over the wire. You need a running Taji (Install) and, for the wire steps, its token (Read bars over the wire shows where it is). An alert needs a symbol a provider streams, and a keyless Taji's Yahoo Finance streams SPY.
An alert is a watch on one symbol: a condition (a price level, a move, a drawing's level, an indicator's plot, or a time of day), how often it fires, and what its message says. Each alert belongs to a desk (Desks and panes).
1. Set one in the window
- Click Alert on the focused chart or press
⌥A, or type/alertin the agent's composer: all three press the focused chart's Alert. Add alert on a drawing's floating toolbar or on the plot's right-click menu starts one on that drawing or price. - Set the Condition, Trigger (once or every time), Expiration, Message and Notifications, then click Create.
- Open the Alerts pane (the dock, the gallery or Account › Alerts). Its Alerts tab lists each alert and its state, and its Log tab lists what fired (Chart).
Each act is a request to the kernel's wire, and your agent sends the same ones with its call tool (Connect your agent). The next steps send them by hand. calls.json has five: it reads a quote, adds a price alert, adds an alert on an indicator's plot, opens an Alerts pane and reads the desk's alerts back. {desk} stands for the desk's id, which GET /read/desks lists.
[
{"name": "quote", "method": "GET", "route": "/get/quotes?symbols=equity:SPY"},
{"name": "price", "method": "POST", "route": "/verb/desk/{desk}/watches/add", "body": {"symbol": "equity:SPY", "when": "crosses_up", "price": "{quote.[0].last | ceil + 5}", "trigger": "once", "message": "SPY is through my level"}},
{"name": "plot", "method": "POST", "route": "/verb/desk/{desk}/watches/add", "body": {"symbol": "equity:SPY", "when": "crosses_up", "of": {"indicator": {"name": "rsi", "params": {"length": 14}, "plot": "rsi"}}, "price": 70, "interval": "D", "trigger": "every", "message": "SPY's daily RSI crossed 70"}},
{"name": "pane", "method": "POST", "route": "/verb/desk/{desk}/layout/add_pane", "body": {"kind": "alerts", "position": "right"}},
{"name": "watches", "method": "GET", "route": "/read/desk/{desk}/watches", "until": "length == 2 and .[1].of_value != null", "shot": "{pane.pane_ids[0]}"}
]
{quote.[0].last | ceil + 5} is the capture filling in a number: the quote's last price rounded up, plus 5, so the level sits above the market whenever you run it. You type a level.
2. Set a price alert
POST /verb/desk/{desk}/watches/add takes the alert's members. A price alert states symbol (kind:key, here equity:SPY), when and price. when is one of crosses, crosses_up, crosses_down, above, below, the four channel words and moving_up, moving_down, moving_up_pct and moving_down_pct for a move. trigger is once (the default: one fire, then the alert is triggered) or every. message is what a fire says; left out, the alert builds one from its condition.
[
{
"symbol": "SPY",
"ts": "2026-12-04T18:58:36.133726+00:00",
"ts_init": 1796410716133726000,
"provider": "samplefeed",
"delayed": false,
"halted": null,
"session": null,
"bid": 142.3,
"ask": 142.32,
"last": 142.31,
"bid_size": null,
"ask_size": null,
"book_ts": null,
"last_ts": null,
"last_exchange": null,
"last_conditions": [],
"prev_close": 142.62,
"change": -0.31,
"change_pct": -0.2174,
"session_close": null,
"session_change": null,
"session_change_pct": null,
"market_session": "regular",
"next_session": "post",
"next_at": "2026-12-04T21:00:00+00:00"
}
]
{
"id": "01a2426c-336d-70a3-a261-83060b35322a",
"level": null,
"node": "desk/01a2426c-2f23-712e-8c2a-605d3bde65f5/watches/01a2426c-336d-70a3-a261-83060b35322a",
"refused": null,
"source": "samplefeed",
"waiting": null
}
The answer is the new alert's id and node, and what its feed says now: source is the provider streaming the symbol, and refused is null while one does. level is null here because a price alert has no level to read; a drawing's or an indicator's does.
3. Set an alert on an indicator's plot
Replace the price with a plot. of names an indicator, its params and one of its plots, and price is the bound it is compared with. interval sets the bars the indicator is read in; left out, it is the chart pane's. A built-in's plots are in GET /read/catalog (RSI has rsi, ma, bb_upper and bb_lower), a plugin's script or your own custom indicator takes the same name, and the kernel checks params against the indicator's schema.
{
"id": "01a2426c-351e-761c-b049-92ff9df551a0",
"level": null,
"node": "desk/01a2426c-2f23-712e-8c2a-605d3bde65f5/watches/01a2426c-351e-761c-b049-92ff9df551a0",
"refused": null,
"source": "samplefeed",
"waiting": null
}
The kernel reads the plot from its own instance of the indicator whether or not a chart shows it, and where a chart does, from that chart's, so the alert sees the figure the chart's legend shows. It pins the version when you add: the row below reads rsi@1, not rsi.
4. Read your alerts
GET /read/desk/{desk}/watches lists the desk's alerts in the order they were added, and the Alerts pane draws exactly these rows.

[
{
"added_utc": 1796410717,
"and": [],
"bars": null,
"calendar": null,
"drawing": null,
"expires_utc": null,
"fire": null,
"fired": null,
"fires": [],
"id": "01a2426c-336d-70a3-a261-83060b35322a",
"interval": null,
"level": null,
"message": "SPY is through my level",
"name": null,
"next_utc": null,
"node": "desk/01a2426c-2f23-712e-8c2a-605d3bde65f5/watches/01a2426c-336d-70a3-a261-83060b35322a",
"notify": {
"schedule": "24/7",
"sound": true,
"sound_secs": 0,
"toast": true
},
"of": null,
"of_value": null,
"price": 148.0,
"refused": null,
"schedule_tz": "America/New_York",
"session": "regular",
"shape": null,
"source": "samplefeed",
"spot": 142.31,
"state": "active",
"symbol": "equity:SPY",
"trigger": "once",
"upper": null,
"value": null,
"waiting": null,
"when": "crosses_up"
},
{
"added_utc": 1796410717,
"and": [],
"bars": null,
"calendar": null,
"drawing": null,
"expires_utc": null,
"fire": null,
"fired": null,
"fires": [],
"id": "01a2426c-351e-761c-b049-92ff9df551a0",
"interval": "D",
"level": 70.0,
"message": "SPY's daily RSI crossed 70",
"name": null,
"next_utc": null,
"node": "desk/01a2426c-2f23-712e-8c2a-605d3bde65f5/watches/01a2426c-351e-761c-b049-92ff9df551a0",
"notify": {
"schedule": "24/7",
"sound": true,
"sound_secs": 0,
"toast": true
},
"of": {
"indicator": {
"name": "rsi@1",
"params": {
"length": 14
},
"plot": "rsi"
}
},
"of_value": 75.89113346230138,
"price": 70.0,
"refused": null,
"schedule_tz": "America/New_York",
"session": "regular",
"shape": null,
"source": "samplefeed",
"spot": 142.31,
"state": "active",
"symbol": "equity:SPY",
"trigger": "every",
"upper": null,
"value": null,
"waiting": null,
"when": "crosses_up"
}
]
Captured 2026-12-04 on a headless kernel reading a made-up daily series and quote for SPY.
stateisactivewhile the alert is polled, thentriggered(aoncealert that fired),pausedorexpired; only an edit re-arms the last three.firedis the last fire andfiresevery one.spotis the last price the alert'ssessionhas seen,regularunless you nameextendedor24h. It isnulluntil that session prints: the quote above says inmarket_sessionwhich one is open.levelandof_valuebelong to the indicator alert.levelis the bound it waits for andof_valuethe plot's value now, so a reader sees how far it is.waitingandrefusedsay why an alert cannot be judged:waitingthat its bars are not there yet,refusedthat no provider streams the symbol.
watches/edit changes an alert and restarts it, pause stops one until an edit, remove deletes it, read marks its fires read, and clone is the only way to a second live alert on one trigger: add answers 409 duplicate for an active or paused alert that says the same.
Where does a fire go?
An alert is judged by the kernel on your machine, so it fires while Taji runs. A fire lands in four places:
- The Alerts pane's Log, and the window's toast and sound, which the alert's
notifysets and itsschedulelimits to hours you pick. - A desk note,
<message>: <spot>, written bywatch:<id>, so a fire is still on the desk after the toast is gone. - A frame on
desk/<id>/watches, which your agent'swaitblocks on, so it learns of a fire without polling. - Every linked channel, with each fill, exit, rejection and approval: Discord, Slack, iMessage, WhatsApp or your own Webhook (Reach your agent from your phone).
A crossing, an entry or an exit needs two polls: the first only records which side the price is on, so a price already past the level at the start does not fire it. every fires at most once a minute while its condition holds; an instant (fire, a time of day) and a vertical line fire once.
If it fails
refusednames no provider. Nothing linked streams that symbol, so the alert never fires. A brokerage or data provider that streams it, once linked, serves it:sourcethen names that provider andrefusedreadsnull(Coverage lists what each offers). The capture's made-up source streamed SPY, so it shows norefusedrow.waitingholds a reason. The alert cannot be judged yet, for instancethe forming bar is past the trendline's endorno bars for 5m. The row says which; a move waits until its bars reach back to the one before the forming bar.- 400
bad_ask. The reason names the member: apricethat is not positive, awhenthe drawing's kind does not take, a plot the indicator does not draw, a symbol that is notkind:key. - 409
duplicate. An active or paused alert already says the same:cloneit, oreditthe one you have.
Next
- Trade: orders, and the exits Taji works for you.
- Desks and panes: where the Alerts pane sits on a desk.
- Your first indicator: write the plot your next alert reads.
- Read bars over the wire: the same wire from a script.