Cascade backtest
get_cascade_backtestUse when an agent needs what price did after past liquidation cascades. Returns a symbol's events with 15 m, 1 h, 4 h and 24 h forward returns, n, mean, median, hit rate, a bootstrap interval and a random-time baseline. Not charged on 400, 404 or 503. Costs 0.5 USDC per call (x402, USDC on Solana, Base, Polygon, Arbitrum or Arc).
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "get_cascade_backtest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| side | No | which liquidations count: long, short or both (default both) | |
| limit | No | events listed, largest first, 1 to 100, default 20; the statistics always use every event | |
| symbol | No | BTC, ETH, SOL or any symbol the backtest covers (default SOLUSDT); a symbol it does not cover answers 400 with the list that works | |
| min_usd | No | USD liquidated inside the window, 10,000 to 1,000,000,000, default 100,000 | |
| window_min | No | rolling window in minutes, 1 to 60, default 5 | |
| cooldown_min | No | minutes without a qualifying window before the next event can start, 15 to 1,440, default 60 |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | the get_cascade_backtest payload; a real captured example is free at https://x402.ochinimus.app/api/sample/get_cascade_backtest | |
| tool | Yes | the tool that produced this payload |