run_simulation
Backtest one portfolio config against the live meta-model.
The simulator trades the meta-model's published rankings as a
long/short portfolio with your chosen construction (cohort sizes,
cadence, optimizer, fees, funding). Returns stats split into
in-sample (is_stats) and out-of-sample (oos_stats, the final
oos_days), a config_token, and a web_url the user can open on
crowdcent.com.
Config knobs (all optional; omitted knobs use the site's defaults: pred_30d, 40/40, "10t", a $1.5M open-interest floor, 3.5 bps fees and funding on, and the best optimizer the key's tier unlocks — min_var at Contender, with carry_penalty 0.25 at Centurion):
rank_by: "pred_10d" | "pred_30d" | "blend" (Centurion tier)
n_long / n_short: names per leg, 1-100 each
net_exposure: long gross minus short gross, -1 to 1 in 0.01 steps (default 0, dollar-neutral at any leg sizes)
rebalance_days: "1"|"5"|"10"|"30", or tranched "5t"|"10t"|"30t"
optimizer: "equal" | "inv_vol"/"hrp" (Challenger); higher tiers unlock covariance optimizers (Contender) and conviction sizing (Centurion) — the capabilities listing names the keys your tier unlocks
fee_bps: 0-20 bps per side (default 3.5, Hyperliquid taker); include_funding: bool (default true)
signal_lag: 0-14 days; risk_lookback: 10-365 days in 5d steps, 0 = the optimizer's own window (Challenger)
impact_book: 0-1e9 USD gross (0 = off). Contender. Sizing is NOT a config knob: pass
leverage(0.25-3.0 gross as a multiple of equity, default 1.0) andtarget_vol(0-0.5 annualized, 0 = off, adapts the multiple under that leverage ceiling, never above it) as their own arguments; both Contender. Gross past 6x equity is liquidated (stats.liquidated_on).hedge_btc: bool and carry_penalty: 0-1.0 (Centurion); lw_shrinkage: bool. Continuous knobs snap to the step the capabilities listing reports (min/max/step per knob).
min_oi / min_volume / min_trades: liquidity floors (USD, USD, count)
meta_construction: how the meta-model weights its members: "points" (the published meta-model, default) | "equal" (one weight per member) | "zca" (decorrelated). For "points" only: meta_halflife: 1-365 days (default 7) and meta_points: "total" | "performance" | "quality" (the mean of each member's scored rounds). A non-default construction skips any release with fewer than 5 effective contributors.
start_date: "YYYY-MM-DD"
Knobs above the user's tier are silently clamped, never an error —
the response's locked list names what was clamped, so just run
and check it. No capability pre-check call is needed.
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": {
"config": "<config>"
},
"name": "run_simulation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| config | Yes | Knob dict, e.g. {"n_long": 10, "n_short": 10, "rebalance_days": "10t", "optimizer": "inv_vol", "include_funding": True}. | |
| leverage | No | Gross book as a multiple of equity (default 1.0). | |
| oos_days | No | Out-of-sample period, the final N days (default 90, 0 = none); `is_stats` covers the days before, `oos_stats` the test, and `split` echoes the cut. | |
| target_vol | No | Annualized vol target under `leverage` (0 = off). | |
| include_curve | No | Also return the full daily equity series. | |
| challenge_slug | No | Challenge slug, such as hyperliquid-ranking. list_all_challenges gives the slugs. | hyperliquid-ranking |
| benchmark_trials | No | 0-100 random-ranking portfolios to score the signal against. | |
| include_holdings | No | Also return the current simulated book. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||