Create a price alert
alert_createCreates a Stockbit alert for one IDX symbol, triggering when price, volume, RSI, moving average, or best bid/offer crosses a threshold you set.
Instructions
Creates a Stockbit alert on one symbol: price, change, value, volume, frequency, best bid/offer, RSI(14) or price vs a moving average, compared with a threshold. alert_options lists what the account allows.
Endpoint: POST exodus /alert/v2/create.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"symbol": "<symbol>",
"item": "<item>",
"operator": "<operator>"
},
"name": "alert_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item | Yes | What to watch. ITEM_MA_* compares the price with that moving average. | |
| note | No | A note shown with the alert. | |
| value | No | Threshold (IDR for prices, percent for change). Leave out for ITEM_MA_*. | |
| expiry | No | How long the alert lives; default one month. | |
| symbol | Yes | IDX ticker such as BBCA or TLKM (no exchange prefix). | |
| operator | Yes | Comparison; CROSSING_* fire when the item crosses the value (or the MA). | |
| expiry_date | No | End date, only with EXPIRATION_CUSTOM. |