alert_link
Prepare a price or indicator alert and get a link that sets it in Basis in one click. Use it whenever the person wants to be told when something happens -- a level breaks, RSI crosses 70, price moves 5%. For a price level pass price (and when, or it is chosen from the current price); for anything else pass conditions. Give the URL as a link and say in one line what it watches. Nothing is armed until they open it and confirm. No account needed; the link lasts seven days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | What the person sees when it fires. Chosen for you if omitted. | |
| when | No | With price. Omit to pick the crossing from where price is now. | |
| match | No | How conditions combine. Default all. | |
| price | No | Shorthand for a price-level alert. | |
| market | No | ||
| symbol | No | e.g. BTCUSDT. Defaults to the chart you are building. | |
| message | No | Optional note carried into the notification. | |
| exchange | No | ||
| frequency | No | Default once: fires, then switches itself off. | |
| timeframe | No | Bars the alert is checked on, e.g. 15m, 1h, 4h. One of 1m, 3m, 5m, 10m, 15m, 30m, 1h, 2h, 4h, 6h, 8h, 12h, 1d, 3d, 1w, 1M. | |
| conditions | No | Instead of price. Each {left, operator, right}. An operand is a number, a price field ("close"), an indicator name ("rsi", "ema50"), or {"type":"indicator","studyId":"macd","plotKey":"histogram","params":{}}. rising and falling need no right; changeUpPercent and changeDownPercent take a percent. | |
| cooldownMinutes | No | With frequency cooldown. |