create_alert
Subscribe an HTTPS URL to push alerts instead of polling (Pro: 3, Bot: 20 subscriptions).
type='condition': YOUR OWN trigger on one symbol — fires when metric op threshold becomes
true (edge-triggered: once per crossing, again only after it was false). metric = funding_apr_pct
(median annualised funding across venues) | oi_chg_1h_pct | oi_chg_24h_pct (Binance+Bybit+OKX, in
coins) | liq_1h_usd | liq_24h_usd | price_chg_1h_pct | price_chg_24h_pct (Binance mark) | long_pct
(mean long share of accounts) — the SAME definitions test_rule backtests, so test a rule first and
alert on it after; op = gt | lt. Example: symbol='BTC', metric='funding_apr_pct', op='gt',
threshold=50. The payload carries the value, the threshold and every other metric as context.
Checked every 60 s.
type='position': YOUR OWN position (symbol, side, entry, leverage, notional_usd, venue) — fires when it is
within max_dist_pct of its liquidation price, computed every 60 s from the venue's maintenance-margin
tier and the live mark (same numbers as check_position); again only when it gets a whole percent closer.
type='cascade': a liquidation cascade just ended, over min_usd and x_normal times the coin's
normal minute. type='hl_near_liq': a Hyperliquid whale position over min_usd within
max_dist_pct of its liquidation price. type='cluster_sweep': price reached one of the 10
largest modeled liquidation-map clusters (size over min_usd; no symbol = BTC, ETH, SOL), sent
3 min later with modeled vs actually liquidated USD. Returns the signing secret ONCE: verify header
X-LiquidVision-Signature = hex HMAC-SHA256(secret, raw body). Needs a Pro or Bot key.
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": {
"type": "<type>",
"url": "<url>"
},
"name": "create_alert"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| op | No | Comparison: gt (greater than) | lt (less than). | |
| url | Yes | HTTPS endpoint that will receive the POST deliveries. | |
| side | No | type=position: long | short. | |
| type | Yes | Type id, one of the values listed in the description. | |
| entry | No | type=position: entry price (USDT). | |
| venue | No | type=position: venue whose margin tiers and mark to use (default binance). | |
| metric | No | Condition metric: funding_apr_pct | oi_chg_1h_pct | oi_chg_24h_pct | liq_1h_usd | price_chg_1h_pct | long_pct. | |
| symbol | No | Contract as BASEUSDT, e.g. BTCUSDT, ETHUSDT, SOLUSDT (1000PEPE and kPEPE fold to PEPEUSDT). | |
| api_key | No | LiquidVision API key (lv_...). Omit when the key is sent as the X-API-Key header on the connection. | |
| min_usd | No | Only rows at or above this notional in USD. | |
| leverage | No | type=position: leverage, e.g. 20. | |
| x_normal | No | Minimum cascade size as a multiple of the coin's normal minute of liquidations. | |
| threshold | No | Threshold the metric is compared with, in the metric's own unit (percent or USD). | |
| max_dist_pct | No | Only positions whose liquidation price is within this many percent of the mark price. | |
| notional_usd | No | type=position: position size in USD (default 10,000). |