quant-swarm
Free backtest forensics (lookahead bias, t-stats, cost survival) and hosted PIT SEC/macro data.
Should I use this
Quality & Safety
Findings (13)
- LOWin tournament.verdict
- LOWin gym.label_regimes
- LOWin gym.probe_fragility
- LOWin gym.paired_preview
- LOWin gym.estimate_cloud_run
- LOWin gym.evaluate_graph
- LOWin gym.prop_challenge_sim
- LOWin tournament.submit
- LOWin tournament.verdict
- LOWin tournament.leaderboard
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"quant-swarm": {
"url": "https://swarm-mcp-503318750546.europe-west1.run.app/mcp/data"
}
}
}Remote endpoints
https://swarm-mcp-503318750546.europe-west1.run.app/mcp/datastreamable-httphttps://swarm-mcp-503318750546.europe-west1.run.app/mcp/wardenstreamable-httphttps://swarm-mcp-503318750546.europe-west1.run.app/mcp/gymstreamable-httphttps://mcp.1.21initiative.com/mcpstreamable-httphttps://mcp.1.21initiative.com/mcp/wardenstreamable-httphttps://mcp.1.21initiative.com/mcp/datastreamable-httphttps://mcp.1.21initiative.com/mcp/gymstreamable-httpWhat it can do
Tool inventory
Tools (12)
🟢gym.label_regimes(symbols, bars, min_symbols)
Label the causal market regimes (high_vol, drawdown, chop, melt_up, gap_heavy) over cached bars and report the episode pool per regime, flagging thin pools. Labels use trailing data only — no lookahead.
Input Schema
{
"type": "object",
"properties": {
"symbols": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional tickers served from the shared cache; omit when passing your own bars.",
"title": "Symbols"
},
"bars": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional inline OHLCV rows [{symbol, ts, open, high, low, close, volume}].",
"title": "Bars"
},
"min_symbols": {
"default": 8,
"description": "Minimum symbols required for a valid episode pool.",
"maximum": 20,
"minimum": 1,
"title": "Min Symbols",
"type": "integer"
}
},
"title": "label_regimesArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"regimes": {
"items": {
"type": "string"
},
"title": "Regimes",
"type": "array"
},
"regime_counts": {
"additionalProperties": true,
"title": "Regime Counts",
"type": "object"
},
"pool_size": {
"title": "Pool Size",
"type": "integer"
},
"thin_pools": {
"items": {
"type": "string"
},
"title": "Thin Pools",
"type": "array"
},
"thin_pool_warning": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Thin Pool Warning"
},
"labels_are_causal": {
"title": "Labels Are Causal",
"type": "string"
},
"depth": {
"additionalProperties": true,
"title": "Depth",
"type": "object"
},
"escalation": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Escalation"
},
"access": {
"title": "Access",
"type": "string"
},
"error": {
"title": "Error",
"type": "string"
},
"request_access_at": {
"title": "Request Access At",
"type": "string"
},
"how": {
"title": "How",
"type": "string"
}
},
"title": "LabelRegimesOut"
}🟢gym.probe_fragility(genome, champion_genome, seeds, per_regime, symbols, ...)
Replay a genome over the capped episode-seed matrix and surface per-regime fragility. Returns per-regime net bps, worst regime, turnover, exposure caps, and hard-constraint violations — never a promotion verdict. Seeds are capped at 8 and per_regime at 2; tier-B/C mutations against a champion raise the gym's TierScoringRefusal (UNSCORABLE).
Input Schema
{
"type": "object",
"properties": {
"genome": {
"additionalProperties": true,
"description": "Genome to replay over the capped episode-seed matrix.",
"title": "Genome",
"type": "object"
},
"champion_genome": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional champion genome; tier-B/C mutations vs it refuse to score.",
"title": "Champion Genome"
},
"seeds": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional episode seeds (max 8 locally).",
"title": "Seeds"
},
"per_regime": {
"default": 2,
"description": "Episodes per regime (1 or 2 locally).",
"maximum": 2,
"minimum": 1,
"title": "Per Regime",
"type": "integer"
},
"symbols": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional tickers from the shared cache; omit when passing bars.",
"title": "Symbols"
},
"bars": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional inline OHLCV rows.",
"title": "Bars"
},
"min_symbols": {
"default": 8,
"description": "Minimum symbols for a valid episode pool.",
"maximum": 20,
"minimum": 1,
"title": "Min Symbols",
"type": "integer"
}
},
"required": [
"genome"
],
"title": "probe_fragilityArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"verdict": {
"title": "Verdict",
"type": "string"
},
"valid_genome": {
"title": "Valid Genome",
"type": "boolean"
},
"errors": {
"items": {
"type": "string"
},
"title": "Errors",
"type": "array"
},
"genome_hash": {
"title": "Genome Hash",
"type": "string"
},
"fidelity": {
"title": "Fidelity",
"type": "string"
},
"n_episodes": {
"title": "N Episodes",
"type": "integer"
},
"seeds": {
"items": {
"type": "integer"
},
"title": "Seeds",
"type": "array"
},
"per_regime": {
"title": "Per Regime",
"type": "integer"
},
"mean_weekly_bps": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Mean Weekly Bps"
},
"per_regime_bps": {
"additionalProperties": true,
"title": "Per Regime Bps",
"type": "object"
},
"worst_regime": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Worst Regime"
},
"worst_regime_bps": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Worst Regime Bps"
},
"turnover_pct_avg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Turnover Pct Avg"
},
"max_gross_exposure": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Max Gross Exposure"
},
"max_position_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Max Position Pct"
},
"hard_constraint_violations": {
"items": {
"anyOf": [
{
"type": "string"
},
{
"additionalProperties": true,
"type": "object"
}
]
},
"title": "Hard Constraint Violations",
"type": "array"
},
"lookahead_violations": {
"items": {
"type": "string"
},
"title": "Lookahead Violations",
"type": "array"
},
"underpowered": {
"title": "Underpowered",
"type": "boolean"
},
"power_note": {
"title": "Power Note",
"type": "string"
},
"depth": {
"additionalProperties": true,
"title": "Depth",
"type": "object"
},
"cloud_job": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Cloud Job"
},
"fidelity_note": {
"title": "Fidelity Note",
"type": "string"
},
"access": {
"title": "Access",
"type": "string"
},
"error": {
"title": "Error",
"type": "string"
},
"request_access_at": {
"title": "Request Access At",
"type": "string"
},
"how": {
"title": "How",
"type": "string"
}
},
"title": "ProbeFragilityOut"
}🟢gym.paired_preview(champion_genome, challenger_genome, seeds, per_regime, symbols, ...)
Paired champion-vs-challenger preview on identical market paths with the promotion gate bypassed. Every statistic is labelled UNDERPOWERED and the exact seed count needed to clear MIN_EPISODES=20 is named. Never returns a promotion.
Input Schema
{
"type": "object",
"properties": {
"champion_genome": {
"additionalProperties": true,
"description": "Current champion genome.",
"title": "Champion Genome",
"type": "object"
},
"challenger_genome": {
"additionalProperties": true,
"description": "Challenger genome to compare against the champion.",
"title": "Challenger Genome",
"type": "object"
},
"seeds": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional episode seeds (max 8 locally).",
"title": "Seeds"
},
"per_regime": {
"default": 2,
"description": "Episodes per regime (1 or 2 locally).",
"maximum": 2,
"minimum": 1,
"title": "Per Regime",
"type": "integer"
},
"symbols": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional tickers from the shared cache; omit when passing bars.",
"title": "Symbols"
},
"bars": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional inline OHLCV rows.",
"title": "Bars"
},
"min_symbols": {
"default": 8,
"description": "Minimum symbols for a valid episode pool.",
"maximum": 20,
"minimum": 1,
"title": "Min Symbols",
"type": "integer"
}
},
"required": [
"champion_genome",
"challenger_genome"
],
"title": "paired_previewArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"verdict": {
"title": "Verdict",
"type": "string"
},
"promotion": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Promotion"
},
"champion_hash": {
"title": "Champion Hash",
"type": "string"
},
"challenger_hash": {
"title": "Challenger Hash",
"type": "string"
},
"n_paired_episodes": {
"title": "N Paired Episodes",
"type": "integer"
},
"seeds": {
"items": {
"type": "integer"
},
"title": "Seeds",
"type": "array"
},
"per_regime": {
"title": "Per Regime",
"type": "integer"
},
"statistics": {
"additionalProperties": true,
"title": "Statistics",
"type": "object"
},
"gate_requirements": {
"additionalProperties": true,
"title": "Gate Requirements",
"type": "object"
},
"identical_paths": {
"title": "Identical Paths",
"type": "string"
},
"depth": {
"additionalProperties": true,
"title": "Depth",
"type": "object"
},
"cloud_job": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Cloud Job"
},
"valid_genomes": {
"title": "Valid Genomes",
"type": "boolean"
},
"errors": {
"items": {
"type": "string"
},
"title": "Errors",
"type": "array"
},
"access": {
"title": "Access",
"type": "string"
},
"error": {
"title": "Error",
"type": "string"
},
"request_access_at": {
"title": "Request Access At",
"type": "string"
},
"how": {
"title": "How",
"type": "string"
}
},
"title": "PairedPreviewOut"
}🟢gym.estimate_cloud_run(seeds, per_regime, n_genomes)
Estimate what a hosted league run costs before you spend credits. Covers the required episodes (5 regimes x per_regime x seeds x genomes), wall-clock, the credit cost at the published rate card (1 credit per hosted episode; fixed price for a Shadow Tournament submit), and the tournament.submit shape.
Input Schema
{
"type": "object",
"properties": {
"seeds": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional episode seeds (default [0..4]).",
"title": "Seeds"
},
"per_regime": {
"default": 4,
"description": "Episodes per regime (default 4 on the hosted side).",
"maximum": 10,
"minimum": 1,
"title": "Per Regime",
"type": "integer"
},
"n_genomes": {
"default": 1,
"description": "Number of genomes in the run.",
"maximum": 100,
"minimum": 1,
"title": "N Genomes",
"type": "integer"
}
},
"title": "estimate_cloud_runArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"episodes_required": {
"title": "Episodes Required",
"type": "integer"
},
"formula": {
"title": "Formula",
"type": "string"
},
"regimes": {
"items": {
"type": "string"
},
"title": "Regimes",
"type": "array"
},
"wall_clock_estimate_s": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Wall Clock Estimate S"
},
"wall_clock_note": {
"title": "Wall Clock Note",
"type": "string"
},
"budget": {
"additionalProperties": true,
"title": "Budget",
"type": "object"
},
"submit_bodies": {
"additionalProperties": true,
"title": "Submit Bodies",
"type": "object"
},
"handoff": {
"title": "Handoff",
"type": "string"
},
"access": {
"title": "Access",
"type": "string"
},
"error": {
"title": "Error",
"type": "string"
},
"request_access_at": {
"title": "Request Access At",
"type": "string"
},
"how": {
"title": "How",
"type": "string"
}
},
"title": "EstimateCloudRunOut"
}🟢gym.evaluate_graph(graph, seeds, per_regime, symbols, bars, ...)
Validate and replay an ExpressionGraph (strategy-spec-v3) DAG over the capped episode-seed matrix across the 5 causal market regimes. Topologically sorts the node graph, rejects cycles or unsupported operators, evaluates cross-sectional rank/zscore/combine expressions on each regime episode, and returns per-regime net bps, turnover, and worst-regime fragility without issuing a promotion verdict.
Input Schema
{
"type": "object",
"properties": {
"graph": {
"additionalProperties": true,
"description": "ExpressionGraph (strategy-spec-v3) DAG with nodes and output_node.",
"title": "Graph",
"type": "object"
},
"seeds": {
"anyOf": [
{
"items": {
"type": "integer"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional episode seeds (max 8 locally).",
"title": "Seeds"
},
"per_regime": {
"default": 2,
"description": "Episodes per regime (1 or 2 locally).",
"maximum": 2,
"minimum": 1,
"title": "Per Regime",
"type": "integer"
},
"symbols": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional tickers from the shared cache; omit when passing bars.",
"title": "Symbols"
},
"bars": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional inline OHLCV rows.",
"title": "Bars"
},
"min_symbols": {
"default": 8,
"description": "Minimum symbols for a valid episode pool.",
"maximum": 20,
"minimum": 1,
"title": "Min Symbols",
"type": "integer"
}
},
"required": [
"graph"
],
"title": "evaluate_graphArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"verdict": {
"title": "Verdict",
"type": "string"
},
"valid_graph": {
"title": "Valid Graph",
"type": "boolean"
},
"errors": {
"items": {
"type": "string"
},
"title": "Errors",
"type": "array"
},
"graph_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Graph Hash"
},
"operator_abi": {
"title": "Operator Abi",
"type": "string"
},
"node_count": {
"title": "Node Count",
"type": "integer"
},
"n_episodes": {
"title": "N Episodes",
"type": "integer"
},
"seeds": {
"items": {
"type": "integer"
},
"title": "Seeds",
"type": "array"
},
"per_regime": {
"title": "Per Regime",
"type": "integer"
},
"mean_weekly_bps": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Mean Weekly Bps"
},
"per_regime_bps": {
"additionalProperties": true,
"title": "Per Regime Bps",
"type": "object"
},
"worst_regime": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Worst Regime"
},
"worst_regime_bps": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Worst Regime Bps"
},
"turnover_pct_avg": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Turnover Pct Avg"
},
"underpowered": {
"title": "Underpowered",
"type": "boolean"
},
"power_note": {
"title": "Power Note",
"type": "string"
},
"depth": {
"additionalProperties": true,
"title": "Depth",
"type": "object"
},
"cloud_job": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Cloud Job"
},
"access": {
"title": "Access",
"type": "string"
},
"error": {
"title": "Error",
"type": "string"
},
"request_access_at": {
"title": "Request Access At",
"type": "string"
},
"how": {
"title": "How",
"type": "string"
}
},
"title": "EvaluateGraphOut"
}🟢gym.prop_challenge_sim(trades_r, win_rate, avg_win_r, avg_loss_r, trades_per_day, ...)
Simulates multi-day prop-firm evaluation pass and breach rates across up to 500 paths. Computes daily/overall drawdown breach rates, consistency-rule lock frequency, and optimal risk-per-trade on your trade R-multiples or win/loss parameters. Pro tool (1 credit on hosted, 0 locally).
Input Schema
{
"type": "object",
"properties": {
"trades_r": {
"anyOf": [
{
"items": {
"type": "number"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional list of historical trade R-multiples (min 5) to bootstrap from; omit to use parametric win_rate/avg_win_r/avg_loss_r.",
"title": "Trades R"
},
"win_rate": {
"default": 0.52,
"description": "Win probability in [0.01, 0.99] when trades_r is omitted.",
"maximum": 0.99,
"minimum": 0.01,
"title": "Win Rate",
"type": "number"
},
"avg_win_r": {
"default": 1.85,
"description": "Average winning trade R-multiple when trades_r is omitted.",
"exclusiveMinimum": 0,
"title": "Avg Win R",
"type": "number"
},
"avg_loss_r": {
"default": 1,
"description": "Average losing trade R-multiple magnitude when trades_r is omitted.",
"exclusiveMinimum": 0,
"title": "Avg Loss R",
"type": "number"
},
"trades_per_day": {
"default": 2,
"description": "Average number of trades executed per trading session.",
"maximum": 20,
"minimum": 1,
"title": "Trades Per Day",
"type": "integer"
},
"risk_pct_per_trade": {
"default": 0.0075,
"description": "Fraction of equity risked per trade (e.g. 0.0075 for 0.75%).",
"maximum": 0.05,
"minimum": 0.0005,
"title": "Risk Pct Per Trade",
"type": "number"
},
"initial_balance": {
"default": 100000,
"description": "Starting prop-challenge balance in USD.",
"exclusiveMinimum": 0,
"title": "Initial Balance",
"type": "number"
},
"format_type": {
"default": "TwoStep",
"description": "Challenge format: 'TwoStep' or 'OneStep'.",
"title": "Format Type",
"type": "string"
},
"daily_loss_limit_pct": {
"default": 0.05,
"description": "Daily drawdown limit fraction (e.g. 0.05 for 5%).",
"exclusiveMinimum": 0,
"maximum": 0.5,
"title": "Daily Loss Limit Pct",
"type": "number"
},
"max_loss_limit_pct": {
"default": 0.1,
"description": "Overall max drawdown limit fraction (e.g. 0.10 for 10%).",
"exclusiveMinimum": 0,
"maximum": 0.5,
"title": "Max Loss Limit Pct",
"type": "number"
},
"profit_target_pct": {
"default": 0.08,
"description": "Phase profit target fraction (e.g. 0.08 for 8%).",
"exclusiveMinimum": 0,
"maximum": 0.5,
"title": "Profit Target Pct",
"type": "number"
},
"consistency_cap_pct": {
"default": 0.4,
"description": "Max single-day profit share allowed by consistency rules (e.g. 0.40 for 40%).",
"exclusiveMinimum": 0,
"maximum": 1,
"title": "Consistency Cap Pct",
"type": "number"
},
"max_trading_days": {
"default": 30,
"description": "Evaluation horizon in trading days.",
"maximum": 90,
"minimum": 1,
"title": "Max Trading Days",
"type": "integer"
},
"challenge_fee_usd": {
"default": 500,
"description": "Prop evaluation fee in USD used to compute expected net value.",
"minimum": 0,
"title": "Challenge Fee Usd",
"type": "number"
},
"payout_split_pct": {
"default": 0.8,
"description": "Trader profit split fraction upon passing (e.g. 0.80 for 80%).",
"exclusiveMinimum": 0,
"maximum": 1,
"title": "Payout Split Pct",
"type": "number"
},
"n_paths": {
"default": 250,
"description": "Number of Monte Carlo evaluation paths to simulate (1-500).",
"maximum": 500,
"minimum": 1,
"title": "N Paths",
"type": "integer"
},
"seed": {
"default": 42,
"description": "Deterministic RNG seed.",
"title": "Seed",
"type": "integer"
}
},
"title": "prop_challenge_simArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"verdict": {
"title": "Verdict",
"type": "string"
},
"format_type": {
"title": "Format Type",
"type": "string"
},
"n_paths": {
"title": "N Paths",
"type": "integer"
},
"max_trading_days": {
"title": "Max Trading Days",
"type": "integer"
},
"trades_per_day": {
"title": "Trades Per Day",
"type": "integer"
},
"evaluated_risk_pct_per_trade": {
"title": "Evaluated Risk Pct Per Trade",
"type": "number"
},
"pass_probability_pct": {
"title": "Pass Probability Pct",
"type": "number"
},
"daily_breach_probability_pct": {
"title": "Daily Breach Probability Pct",
"type": "number"
},
"overall_breach_probability_pct": {
"title": "Overall Breach Probability Pct",
"type": "number"
},
"consistency_locked_pct": {
"title": "Consistency Locked Pct",
"type": "number"
},
"timeout_probability_pct": {
"title": "Timeout Probability Pct",
"type": "number"
},
"median_days_to_pass": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Median Days To Pass"
},
"expected_net_value_usd": {
"title": "Expected Net Value Usd",
"type": "number"
},
"optimal_risk_pct_per_trade": {
"title": "Optimal Risk Pct Per Trade",
"type": "number"
},
"optimal_expected_net_value_usd": {
"title": "Optimal Expected Net Value Usd",
"type": "number"
},
"risk_sizing_curve": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Risk Sizing Curve",
"type": "array"
},
"methodology": {
"title": "Methodology",
"type": "string"
},
"access": {
"title": "Access",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"plan": {
"title": "Plan",
"type": "string"
},
"upgrade_url": {
"title": "Upgrade Url",
"type": "string"
},
"checkout_url": {
"title": "Checkout Url",
"type": "string"
},
"unlock_preview": {
"title": "Unlock Preview",
"type": "string"
},
"starter_pack": {
"additionalProperties": true,
"title": "Starter Pack",
"type": "object"
},
"note": {
"title": "Note",
"type": "string"
},
"error": {
"title": "Error",
"type": "string"
},
"request_access_at": {
"title": "Request Access At",
"type": "string"
},
"how": {
"title": "How",
"type": "string"
}
},
"title": "PropChallengeSimOut"
}🟡tournament.submit(genome, contribute, disclosure, strategy_code, notify_webhook, ...)
Submit a genome to the hosted Shadow Tournament. Charges credits (200, or 100 with contribute=true) and replays the genome and live champion over up to 200 seed draws (~62 unique paired historical Fridays across 5 seeds x 4 draws/regime) on the rolling as-of window. Sends only the genome vector, hash, contribute flag, and optional strategy-tier disclosure or strategy_code (never executed). Returns a job_id for tournament.verdict.
Input Schema
{
"type": "object",
"properties": {
"genome": {
"additionalProperties": true,
"description": "Genome parameter vector (public schema) to score against the swarm's live champion. Validate locally with warden.validate_genome first.",
"title": "Genome",
"type": "object"
},
"contribute": {
"default": false,
"description": "true: license the genome vector + outcome to the swarm's evolution loop as an external challenger and pay half price. Combine with `disclosure` and/or `strategy_code` for the strategy-contributor tier (leaderboard attribution + league-seat eligibility after review). false (default): the vector is deleted after scoring; only hash + outcome remain.",
"title": "Contribute",
"type": "boolean"
},
"disclosure": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"default": null,
"description": "Strategy-contributor tier: author-written decision-logic disclosure (version 1; fields hypothesis, universe, selection, entry_timing, risk_sizing, weekend_hold, expected_edge — describe how the strategy decides, never code, data dumps, or secrets). Requires contribute=true. Validated locally before anything is sent.",
"title": "Disclosure"
},
"strategy_code": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Strategy-contributor tier: submit strategy CODE for STATIC LLM review. The code is treated as inert text — it is NEVER executed by us or the swarm; the hosted reviewer reads it with an LLM and stores only the structured explanation + a code hash (raw code is discarded after review). Remove keys/secrets first. Requires contribute=true.",
"title": "Strategy Code"
},
"notify_webhook": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional HTTPS webhook URL to notify when rolling period rescores change this entry's rank or outcome.",
"title": "Notify Webhook"
},
"notify_mode": {
"default": "changes_only",
"description": "Notification cadence: 'changes_only' (default) or 'every_rescore'.",
"title": "Notify Mode",
"type": "string"
}
},
"required": [
"genome"
],
"title": "tournament_submitArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status"
},
"job_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Job Id"
},
"genome_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Genome Hash"
},
"contribute": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Contribute"
},
"contribution": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Contribution"
},
"disclosure_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Disclosure Status"
},
"strategy_code_sent": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Strategy Code Sent"
},
"analysis_contract": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Analysis Contract"
},
"valid_disclosure": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Valid Disclosure"
},
"disclosure_errors": {
"items": {
"type": "string"
},
"title": "Disclosure Errors",
"type": "array"
},
"valid_strategy_code": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Valid Strategy Code"
},
"strategy_code_errors": {
"items": {
"type": "string"
},
"title": "Strategy Code Errors",
"type": "array"
},
"credits_charged": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Credits Charged"
},
"quota": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Quota"
},
"geometry": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Geometry"
},
"what_was_sent": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "What Was Sent"
},
"retention": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Retention"
},
"next": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Next"
},
"valid_genome": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Valid Genome"
},
"errors": {
"items": {
"type": "string"
},
"title": "Errors",
"type": "array"
},
"note": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Note"
},
"access": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Access"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error"
},
"request_access_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Access At"
},
"how": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "How"
}
},
"title": "TournamentSubmitOut"
}🟢tournament.verdict(job_id)
Poll a Shadow Tournament job. Returns the paired outcome vs the champion (CHALLENGER_BEATS_CHAMPION / CHALLENGER_LOSES / INCONCLUSIVE), Wilcoxon p, bootstrap CI, worst-regime margin, violations, and the challenger's ELO rating. Not a promotion: the promotion gate stays inside the swarm's registry. No charge to poll.
Input Schema
{
"type": "object",
"properties": {
"job_id": {
"description": "job_id returned by tournament.submit.",
"title": "Job Id",
"type": "string"
}
},
"required": [
"job_id"
],
"title": "tournament_verdictArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"job_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Job Id"
},
"status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Status"
},
"genome_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Genome Hash"
},
"contribute": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Contribute"
},
"contribution": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Contribution"
},
"disclosure_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Disclosure Status"
},
"credits_charged": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Credits Charged"
},
"credits_refunded": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Credits Refunded"
},
"net_credits_charged": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Net Credits Charged"
},
"created_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Created At"
},
"scored_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Scored At"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "As Of"
},
"window_start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Window Start"
},
"window_end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Window End"
},
"data_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Data Hash"
},
"rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Rating"
},
"result": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Result"
},
"win_share_pct": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Win Share Pct"
},
"bootstrap_prob_positive_delta": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Bootstrap Prob Positive Delta"
},
"outcome_detail": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Outcome Detail"
},
"benchmark_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Benchmark Status"
},
"verification_badge": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Verification Badge"
},
"verdict_semantics": {
"title": "Verdict Semantics",
"type": "string"
},
"next": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Next"
},
"access": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Access"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error"
},
"request_access_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Access At"
},
"how": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "How"
}
},
"title": "TournamentVerdictOut"
}🟢tournament.leaderboard(season_id)
Returns the anonymised Shadow Tournament board for a single rolling as_of window. Includes champion rating, confirmed entries at board as_of, freshness status on any unchecked incumbent, run counts, and credit prices. Free on every plan.
Input Schema
{
"type": "object",
"properties": {
"season_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional season identifier (e.g. '2026-s2-house-v4' to inspect a read-only archived season; omit for the active rolling season).",
"title": "Season Id"
}
},
"title": "tournament_leaderboardArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"season_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Season Id"
},
"read_only_archive": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Read Only Archive"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "As Of"
},
"window_start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Window Start"
},
"window_end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Window End"
},
"data_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Data Hash"
},
"freshness": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Freshness"
},
"season_panel": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Season Panel"
},
"updated_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Updated At"
},
"last_run_age_days": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Last Run Age Days"
},
"champion_rating": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Champion Rating"
},
"champion_rating_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Champion Rating Status"
},
"benchmark_status": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Benchmark Status"
},
"total_runs": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Total Runs"
},
"contributed_runs": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Contributed Runs"
},
"challenger_wins": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Challenger Wins"
},
"cost_model": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Cost Model"
},
"evaluated_schema_version": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"title": "Evaluated Schema Version"
},
"top": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Top",
"type": "array"
},
"stale_entries": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Stale Entries",
"type": "array"
},
"archived_seasons": {
"items": {
"type": "string"
},
"title": "Archived Seasons",
"type": "array"
},
"challengers": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Challengers",
"type": "array"
},
"baselines": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Baselines",
"type": "array"
},
"geometry": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Geometry"
},
"pricing": {
"anyOf": [
{
"additionalProperties": true,
"type": "object"
},
{
"type": "null"
}
],
"title": "Pricing"
},
"anonymised": {
"title": "Anonymised",
"type": "string"
},
"access": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Access"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error"
},
"request_access_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Access At"
},
"how": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "How"
}
},
"title": "TournamentLeaderboardOut"
}🟢tournament.my_entries
Track your own Shadow Tournament entries across rolling rescores. Returns current rank, previous rank, rank change, s2-to-s3 delta, freshness status, and your own stats (mean delta, 95% CI, win_share_pct, bootstrap_prob_positive_delta, per-regime margins, active weeks) without exposing competitors' strategies or episodes. Free on every plan.
Input Schema
{
"type": "object",
"properties": {},
"title": "tournament_my_entriesArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"season_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Season Id"
},
"as_of": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "As Of"
},
"entries": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Entries",
"type": "array"
},
"notifications": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Notifications",
"type": "array"
},
"caveat": {
"title": "Caveat",
"type": "string"
},
"access": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Access"
},
"error": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Error"
},
"request_access_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Request Access At"
},
"how": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "How"
}
},
"title": "TournamentMyEntriesOut"
}🟢gym.evaluate_formula(formula, symbols, bars, forward_horizon_days)
Evaluates a caller-supplied symbolic alpha formula causally with a no-lookahead guard. Reports cross-sectional Spearman rank IC, Newey-West HAC t-statistic, top-minus-bottom quantile spread (bps/day), and daily rank turnover without exposing internal equations or issuing a local promotion verdict. Pro tool (1 credit on hosted).
Input Schema
{
"type": "object",
"properties": {
"formula": {
"description": "Caller-supplied symbolic expression using causal operators (CS_ZScore, CS_Rank, CS_Winsorize, TS_Mean, TS_Std, TS_Delta, TS_Corr, KaufmanER, Ret, Abs, Sign) and variables (ret1d, ret5d, ret20d, close, volume, vol_ratio), e.g. 'CS_ZScore(TS_Mean(ret1d, 10) * KaufmanER(10))'.",
"title": "Formula",
"type": "string"
},
"symbols": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional list of tickers (min 2) via the shared cache/relay.",
"title": "Symbols"
},
"bars": {
"anyOf": [
{
"items": {
"additionalProperties": true,
"type": "object"
},
"type": "array"
},
{
"type": "null"
}
],
"default": null,
"description": "Optional caller-supplied OHLCV rows [{symbol, ts, open, high, low, close, volume}].",
"title": "Bars"
},
"forward_horizon_days": {
"default": 5,
"description": "Forward return horizon in trading sessions (1-20).",
"maximum": 20,
"minimum": 1,
"title": "Forward Horizon Days",
"type": "integer"
}
},
"required": [
"formula"
],
"title": "evaluate_formulaArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"status": {
"title": "Status",
"type": "string"
},
"formula": {
"title": "Formula",
"type": "string"
},
"symbols": {
"items": {
"type": "string"
},
"title": "Symbols",
"type": "array"
},
"source": {
"title": "Source",
"type": "string"
},
"forward_horizon_days": {
"title": "Forward Horizon Days",
"type": "integer"
},
"n_cross_sections": {
"title": "N Cross Sections",
"type": "integer"
},
"lookahead_truncation_check": {
"additionalProperties": true,
"title": "Lookahead Truncation Check",
"type": "object"
},
"spearman_rank_ic": {
"title": "Spearman Rank Ic",
"type": "number"
},
"ic_std": {
"title": "Ic Std",
"type": "number"
},
"ir_annualized": {
"title": "Ir Annualized",
"type": "number"
},
"t_hac": {
"title": "T Hac",
"type": "number"
},
"quantile_spread_bps_per_day": {
"title": "Quantile Spread Bps Per Day",
"type": "number"
},
"daily_rank_turnover_l1": {
"title": "Daily Rank Turnover L1",
"type": "number"
},
"allowed_operators": {
"items": {
"type": "string"
},
"title": "Allowed Operators",
"type": "array"
},
"why_not_a_promotion": {
"title": "Why Not A Promotion",
"type": "string"
},
"cloud_job": {
"additionalProperties": true,
"title": "Cloud Job",
"type": "object"
},
"access": {
"title": "Access",
"type": "string"
},
"reason": {
"title": "Reason",
"type": "string"
},
"plan": {
"title": "Plan",
"type": "string"
},
"upgrade_url": {
"title": "Upgrade Url",
"type": "string"
},
"checkout_url": {
"title": "Checkout Url",
"type": "string"
},
"unlock_preview": {
"title": "Unlock Preview",
"type": "string"
},
"starter_pack": {
"additionalProperties": true,
"title": "Starter Pack",
"type": "object"
},
"note": {
"title": "Note",
"type": "string"
},
"error": {
"title": "Error",
"type": "string"
},
"request_access_at": {
"title": "Request Access At",
"type": "string"
},
"how": {
"title": "How",
"type": "string"
}
},
"title": "EvaluateFormulaOut"
}🟢tournament.forward_league(include_weekly_commits)
Returns the Forward League SHA-256 pre-commitment settlement status and ledger. Returns status="NOT_STARTED" with empty settlement lists until external challengers are sealed into a weekly Friday commitment batch — never returns synthetic or illustrative returns. Free on every plan.
Input Schema
{
"type": "object",
"properties": {
"include_weekly_commits": {
"default": true,
"description": "Include week-by-week Friday SHA-256 pre-commitment settlement rows when available.",
"title": "Include Weekly Commits",
"type": "boolean"
}
},
"title": "tournament_forward_leagueArguments"
}Output Schema
{
"type": "object",
"properties": {
"tool": {
"title": "Tool",
"type": "string"
},
"batch_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Batch Id"
},
"status": {
"title": "Status",
"type": "string"
},
"window_start": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Window Start"
},
"window_end": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Window End"
},
"settled_weeks": {
"title": "Settled Weeks",
"type": "integer"
},
"total_window_weeks": {
"title": "Total Window Weeks",
"type": "integer"
},
"champion_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Champion Hash"
},
"champion_cumulative_net_bps": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Champion Cumulative Net Bps"
},
"leading_challenger_hash": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Leading Challenger Hash"
},
"leading_challenger_cumulative_net_bps": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Leading Challenger Cumulative Net Bps"
},
"field_median_cumulative_net_bps": {
"anyOf": [
{
"type": "number"
},
{
"type": "null"
}
],
"title": "Field Median Cumulative Net Bps"
},
"live_benchmark_sleeves": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Live Benchmark Sleeves",
"type": "array"
},
"weekly_settlements": {
"items": {
"additionalProperties": true,
"type": "object"
},
"title": "Weekly Settlements",
"type": "array"
},
"note": {
"title": "Note",
"type": "string"
},
"anonymised": {
"title": "Anonymised",
"type": "string"
},
"how_to_enter_next_batch": {
"title": "How To Enter Next Batch",
"type": "string"
},
"access": {
"title": "Access",
"type": "string"
},
"error": {
"title": "Error",
"type": "string"
},
"request_access_at": {
"title": "Request Access At",
"type": "string"
},
"how": {
"title": "How",
"type": "string"
}
},
"title": "TournamentForwardLeagueOut"
}Community
Evidence