Audit a strategy's credibility, not its promises
A public, machine-readable audit endpoint for any quantitative strategy — overfitting risk, data-quality checks, in-sample vs out-of-sample decay, and walk-forward evidence. It answers "can you trust this backtest?"— never "how much will it make?"
Compliance red line: historical performance does not guarantee future results. This is not investment advice. The audit evaluates trustworthiness / overfitting / data quality — it never predicts returns, promises profits, or guarantees capital preservation.
Anti-overfitting
Detects selection bias from parameter tuning (N trials) and flags in-sample / out-of-sample decay that most dashboards hide.
Data-quality checks
Sample size, trade count, leakage windows, and dataset labeling — surfaced as evidence, not vibes.
Machine-readable
One POST → structured JSON with verdicts, scores, and mandatory disclaimers. Easy to wire into any agent or workflow.
Authentication
Send an API key (or the demo token) as a header:
X-API-Key: easyquant-demo-2026Demo token is free & rate-limited. Production keys use a per-request credit model — the balance is checked before the audit runs (returns 402 on insufficient funds, never charges a failed run).
Endpoint
POST http://127.0.0.1:8001/api/audit/strategyAll request fields are optional. The more complete the input, the more authoritative the report — missing data is reported as unknown, never fabricated.
Call example
curl -X POST http://127.0.0.1:8001/api/audit/strategy \
-H "Content-Type: application/json" \
-H "X-API-Key: easyquant-demo-2026" \
-d '{
"name": "momentum_breakout_v3",
"dataset": "XAUUSD_H1",
"parameter_count": 6,
"trials": 500,
"in_sample": {"sharpe": 2.8, "max_drawdown": 0.12, "trade_count": 400, "bars": 3000},
"out_of_sample":{"sharpe": 0.4, "max_drawdown": 0.30, "trade_count": 120, "bars": 1000},
"is_walk_forward": false
}'Sample report
{
"schema_version": "easyquant-audit/0.1.0",
"overall_verdict": "medium_risk",
"overall_verdict_en": "Moderate credibility — add a time hold-out or walk-forward before judging",
"combined_risk_score": 44.5,
"overfit_risk": {
"score": 60.0,
"level": "medium",
"reasons": [
"Tuning candidates N=500 — selection-bias risk",
"Out-of-sample Sharpe decays more than 50% versus in-sample — the edge may not extrapolate (a time hold-out inside the same fitting window, not a truly frozen out-of-sample set)"
]
},
"data_quality": {
"score": 0,
"checks": [
{"check": "sample size", "status": "pass", "detail": "3000 bars — sufficient sample"},
{"check": "sample leakage", "status": "pass", "detail": "no overlap between in-sample and out-of-sample windows"}
]
},
"in_vs_out_of_sample": {
"available": true, "gap_pct": 85.7, "verdict": "high"
},
"recommendation": "Reduce overfitting first...; past performance does not indicate future results and this is not investment advice.",
"disclaimer_en": "Past performance does not indicate future results and this is not investment advice. This report is a credibility screen, not a promise of returns or capital protection.",
"disclaimer_en": "Past performance does not guarantee future results. This is not investment advice.",
"not_investment_advice": true,
"no_return_guarantee": true,
"no_capital_guarantee": true
}Live demo
Fill in a strategy's metrics and run the audit against the live API.
Submit a strategy to see its credibility audit report.