run_hyperliquid_research_backtest_spec
Run an out-of-sample backtest from a Strategy Spec JSON (universe + rank factor or named pattern + portfolio rules). Deterministic; reads hl_research_* Postgres. Agent should translate natural-language strategy ideas into the spec object before calling. Pass presetId instead of spec to get a FortFi house preset (crypto-majors, core-momentum, mag7, semis, memory, ai-compute, pre-ipo, ...) with its frozen spec and published OOS, walk-forward, drawdown and leverage scenarios; add rerun:true to recompute it live.
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": "run_hyperliquid_research_backtest_spec"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| prod | No | Use production Supabase (default false in dev) | |
| spec | No | Strategy Spec: name, universe {dex, minDayVolumeUsd, includeCoins, excludeCoins, maxSymbols}, interval, signal {type rank|pattern, factor|pattern, params}, portfolio, costs, validation | |
| rerun | No | With presetId, rerun the preset spec live instead of returning published stats | |
| presetId | No | House preset id. Returns the spec plus published stats. |