screener_backtest
Historically replay a cross-sectional screen at every bar. Matching instruments form an equal-weight long or short portfolio, entered at the next bar open and held to the following bar open, then re-screened. Use this when the question is whether repeatedly trading screener matches worked — a single-symbol backtest of coins that match today is not a substitute. Costs follow actual portfolio turnover, so an unchanged holding is not charged as a fresh round trip.
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": {
"rules": "<rules>"
},
"name": "screener_backtest"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | ||
| logic | No | Default all. | |
| quote | No | Default USDC on Hyperliquid, USDT elsewhere. | |
| rules | Yes | ||
| feeBps | No | Per side. Default 4. | |
| market | No | Defaults to the chart. Perpetuals are futures. | |
| exchange | No | Defaults to the chart. | |
| lookback | No | Bars. Default 300. | |
| direction | No | Default long. | |
| timeframe | No | Defaults to the chart. | |
| slippageBps | No | Per side. Default 1. | |
| maxPositions | No | Equal-weight slots, 1 to 50. Default 10. | |
| universeSize | No | Default 50. | |
| manualSymbols | No | Optional symbols forced into the universe before current-volume ranking. |