Quickstart
Not a programmer? You don’t need to be. Start here for the plain-English version: the website, asking Claude, or a short script, step by step.
One endpoint does it all: POST https://api.flightchecklab.com/v1/verdict with a JSON body. The only required file is your trade results, one row per trade. The API and MCP server come with the FlightCheck plan: send your key with every request. (Just want to try it? The free lab runs the same checks on your trade log or backtest, no key needed.)
- Collect your trades:
date,result(dollars, after fees) andrisk(dollars: the most the trade could lose). Backtest trades, a broker export or a paper log all work. 20 trades minimum; 100+ gives a real answer on luck and sizing. - Say how many versions of the idea you tried (
tries) and whether fees are in the results (costs). - Send it. The answer is JSON you can show a person as it is.
Here is the real response to the sample request (sample-trades.json, 160 synthetic trades), trimmed: an idea that looks interesting on one try, judged after 14 versions.
{
"idea": "Sample strategy (synthetic)",
"standard_version": "2026.11.24.2",
"seed": 0,
"tries": 14,
"status": "DOES NOT HOLD",
"status_emoji": "❌",
"plain_english": "Does not hold: Profit and luck (3% single try, 35% adjusted). Caveats: Consistency (1 of 1 years positive). Holding: Sanity, Sizing. 6 locked until you add a file. Next level (2. Is my signal real?): add a baseline (the same trade taken every day) to unlock Signal vs. baseline, in R and dollars.",
"does_not_tell_you": "Whether this strategy will make money from here. A verdict describes the record you sent, not the future.",
"next_question": "Does it hold on dates you haven't looked at (a vault)?",
"summary": {
"holds": [
"Sanity",
"Sizing"
],
"caveat": [
"Consistency (1 of 1 years positive)"
],
"does_not_hold": [
"Profit and luck (3% single try, 35% adjusted)"
],
"open": [],
"locked": [
"Plateau, not spike",
"Beats random",
"Signal vs same trade without",
"Discipline audit",
"Live tracking",
"Vault"
]
},
"level": {
"number": 1,
"name": "Quick check"
},
"next_level": {
"level": 2,
"name": "Is my signal real?",
"add": [
"a baseline (the same trade taken every day)"
],
"unlocks": "Signal vs. baseline, in R and dollars"
},
"backtest_tip": null,
"checks": [
{
"key": "profit_luck",
"title": "Profit and luck",
"status": "DOES NOT HOLD",
"plain_english": "Average +0.09R (+$22.50) per trade, total +$3,600. 95% range for the average: -0.00R to +0.17R. Luck alone would do this well 3% of the time on one try. After counting 14 tries, 35%. One try at 3% looks interesting; 14 tries at 3% is closer to what luck looks like.",
"does_not_tell_you": "Whether the edge is still there now. Luck tests look backwards.",
"next_question": "Does it hold on dates you haven't looked at (a vault)?",
"numbers": {
"n": 160,
"mean_r": 0.08999,
"mean_usd": 22.497375,
"total_usd": 3599.58,
"total_r": 14.39832,
"ci_r": [
-0.001676,
0.173322
],
"ci_usd": [
1.612167,
43.3305
],
"ci_level": 0.95,
"p_sign_flip": 0.020798,
"p_bootstrap_t": 0.029897,
"p_single": 0.029897,
"tries": 14,
"p_adjusted": 0.346193,
"method": "sidak"
},
"short": "3% single try, 35% adjusted",
"locked_by": null,
"flags": [],
"seed": 0,
"standard_version": "2026.11.24.2",
"number": 6,
"emoji": "🍀",
"question": "Could luck do this?",
"status_emoji": "❌",
"points": [
{
"mark": "ℹ️",
"text": "One try: luck matched it 3% of the time."
},
{
"mark": "ℹ️",
"text": "After counting 14 tries: 35%."
}
],
"table": null,
"note": null
},
{
"key": "signal_vs_base",
"title": "Signal vs same trade without",
"status": "LOCKED",
"plain_english": "Add a baseline (the same trade taken every day) to unlock Is my signal real?",
"does_not_tell_you": "",
"next_question": "Can you add a baseline?",
"numbers": {},
"short": "Add a baseline (the same trade taken every day) to unlock Is my signal real?",
"locked_by": "a baseline",
"flags": [],
"seed": 0,
"standard_version": "2026.11.24.2",
"number": 5,
"emoji": "⚖️",
"question": "Did the signal help?",
"status_emoji": "🔒",
"points": [],
"table": null,
"note": null
},
"… 8 more checks …"
],
"report": "# FlightCheck: Sample strategy (synthetic)\n\n## 🧪 1. Sanity: ✅ HOLDS · best 5 = 13% of profit\n…",
"kept": true
}Every response also carries report: the whole verdict as a markdown report with emoji, numbered checks and small tables, ready to show a person or paste into a chat. Each check carries the same parts as fields (emoji, number, points, table), and summary lists which checks hold, carry a caveat, fail or are still open.
## 🍀 2. Profit and luck: ❌ DOES NOT HOLD · 3% single try, 35% adjusted
ℹ️ One try: luck matched it 3% of the time.
ℹ️ After counting 14 tries: 35%.
**Plain English:** ... One try at 3% looks interesting; 14 tries at 3% is closer to what luck looks like.
## 📉 4. Sizing: ✅ HOLDS · bad run 6% at 1% risk; under 20% at 3.2%
**Plain English:** Expect losing streaks of about 3 trades, and 4 in a bad run. A 1-in-20 bad
run costs about 7R: $1,653 at your usual $250 risk per trade. ...
## 🎛️ 5. Risk profile: ✅ HOLDS · balanced at $12,500–$100,000; sizing steady
✅ Sizing: steady, about the same risk on every trade.
✅ After a loss: you keep your usual size.
ℹ️ Where you sit: Steady hands, no lift yet.
VERDICT: ❌ DOES NOT HOLD
Holds: Sanity · Sizing · Risk profile
Caveats: Consistency (1 of 1 years positive)
Does not hold: Profit and luck (3% single try, 35% adjusted)
Locked: 6 check(s): add a file to unlockWhy use it
Your agent pushes back
Agents produce ideas all day and every backtest looks great. One call tells your agent when it's looking at noise, counting every version it tried.
Honest numbers in your app
Turn a journal's or backtester's flashy numbers into a verdict your users can trust, with plain-English explanations you can show directly.
Calibrated, not vibes
We test the engine on thousands of fake strategies with no edge. Pure noise passes the luck check 3.5–5.9% of the time and never passes the full verdict.
Searching is charged for automatically. In calibration, the best of 14 noise strategies passed a plain significance test 48% of the time; FlightCheck’s adjusted luck test let 4% through. The best cell of a 20-setting sweep: 34% unadjusted, 5% with FlightCheck.
The request
POST /v1/verdict, Content-Type: application/json. Unknown fields are rejected, so nothing you didn’t mean to send can slip through.
| Field | Type | What it is |
|---|---|---|
trades | array, required | Your trade results, one object per trade (fields below). Up to 10,000. |
tries | integer ≥ 1 | How many versions of this idea you tested. The luck test is adjusted for it. Left out, the luck check can't score above CAVEAT. |
costs | "included" | "excluded" | "unknown" | Whether results include fees and slippage. Anything but included is a CAVEAT on Sanity. |
idea | string | A name for the idea, shown on the verdict. |
expect | string | What you expect, written before you look. Shown back at the top of the verdict. |
would_change_my_mind | string | Your own bar, e.g. "If it doesn't beat 80% of random entries." A percentage about random entries is checked by your own rule too. |
baseline | array of trades | The same trade taken every day. Unlocks Signal vs. baseline and Beats random. |
signal_dates | array of dates | The days your system said go. Unlocks the discipline audit. |
live | array of trades | Live or paper trades. Unlocks live tracking against your backtest. |
sweep | array of rows | A settings sweep: one row per trade per setting. Unlocks the plateau check and the max-statistic luck adjustment. |
sweep_axes | array of strings | The setting column names in sweep (up to 4). |
throttle | boolean | Also simulate cutting size to a third below −15% from peak. |
source | "backtest" | "paper" | "real" | What kind of trades these are. A label only: no check changes, and benchmarks compare like with like. |
importer | string | Which client read the file, e.g. "tradingview" or "python". A label only. |
trade_type | "stocks" | "options" | "futures" | "forex" | "crypto" | "other" | A broad bucket of what's traded. Never a symbol. A label for like-with-like benchmarks. |
holding_period | "intraday" | "days" | "weeks" | "months" | How long trades are usually held. A label only. |
A trade
| Field | Required | Meaning |
|---|---|---|
date | yes | YYYY-MM-DD (a timestamp is cut to its date). |
result | yes | Dollars won (+) or lost (−), after fees. |
risk | yes | Dollars: the most the trade could lose. Must be above zero, and no loss may exceed it. |
holding_time | no | Days held. Optional. |
label | no | Tells two otherwise identical trades apart. |
fees | no | Fees paid, if you track them separately. |
currency | no | One currency per file. |
Optional files
Each extra file unlocks more checks. Send any combination in the same request.
"sweep_axes": ["fast", "slow"],
"sweep": [
{"fast": 10, "slow": 50, "date": "2024-01-02", "result": 120, "risk": 400},
{"fast": 10, "slow": 50, "date": "2024-01-03", "result": -400, "risk": 400},
{"fast": 20, "slow": 50, "date": "2024-01-02", "result": 95, "risk": 400},
...
]Send every trade for every setting, not one total per setting: the luck adjustment reshuffles each setting’s trades together, so it needs them all.
The response
Every verdict and every check carries the same four fields: status, plain_english, does_not_tell_you and next_question. Show them to people as they are.
| Status | Means |
|---|---|
| HOLDS | The check passed on the trades you sent. |
| CAVEAT | It passed, with a named weakness. |
| DOES NOT HOLD | It failed. |
| OPEN | Too few trades to say either way. |
| LOCKED | Checks only: a file it needs wasn't sent. locked_by says which. |
The overall status follows one published rule: under 30 trades, OPEN; otherwise any DOES NOT HOLD wins, then any CAVEAT, then HOLDS. OPEN and LOCKED checks don’t count. There is no “holds with caveats”: same four words everywhere, same bar for everyone.
| Field | What it holds |
|---|---|
checks[] | Every check: key, title, status, plain_english, does_not_tell_you, next_question, short, numbers (R and dollars), locked_by, flags, seed, standard_version. |
level, next_level | Which level of evidence you reached, and the one file that unlocks the next. |
backtest_tip | Set under 100 trades: add backtest trades for a real answer on luck and sizing. |
standard_version, seed | Exactly which rules judged it and which random draws: the same request and seed always give the same answer. |
sample | Trades counted, years covered, share of losers. |
kept | Whether the stripped submission was stored (see Privacy). |
The checks
| Key | Asks | Needs |
|---|---|---|
sanity | Is the profit spread out, or carried by the best 5 trades? Are fees in? | trades |
profit_luck | Is the average trade above zero by more than luck? Sign-flip and bootstrap-t tests must agree; adjusted for every try. | trades |
consistency | Does it hold year by year and in both halves? Does one year carry it? | trades |
sizing | How bad can a losing run get: streak length, cost in R and dollars, the fall at 0.5%, 1% and 2% risk, and the risk per trade that kept a 1-in-20 run under 20%. Block reshuffling keeps losing streaks together. | trades |
profile | Not a check: the trader profile that comes with every verdict from 30 trades. Sizing habits (steady? sizing up after losses or wins?), account sizes where your usual risk is too aggressive, in balance or too safe, and four quadrant maps with your dot on each: edge vs discipline, style, where the profit comes from, pain vs reward. Never counted in the status. | trades (30+) |
signal_vs_base | Do signal days beat the same trade taken every day, in R, dollars and totals? | baseline |
discipline | On-plan, off-plan and skipped signals, matched by date, with what each cost. | signal_dates |
beats_random | Do your signal days beat random sets of the same number of days? | baseline + signal_dates |
plateau | Plateau, slope or lonely spike? Which setting sits in the middle of the good region? | sweep |
live | Is live on track, within normal bad luck, or outside the normal range? | live (30+ trades) |
Small samples get warnings, not numbers: most checks need 30 trades; sizing shows numbers from 20 as a floor and needs 100 to hold. Every threshold is versioned in the Standard.
Errors
Errors name the exact row and problem, all of them at once, so you can fix a file in one pass.
HTTP 400
{
"detail": {
"error": "invalid_input",
"message": "2 problem(s) in your data: trades row 12: the trade lost 391.51, more than its stated risk of 242.96; ...",
"problems": [
"trades row 12: the trade lost 391.51, more than its stated risk of 242.96; check the risk figure (it should be the most the trade could lose)",
"trades rows 40, 41: duplicate trades (2024-03-05, result 83.33, risk 250.00); if these are separate real trades, give each a different label or holding_time"
]
}
}| Status | detail.error | When |
|---|---|---|
| 400 | invalid_input | Any row problem: missing field, risk ≤ 0, a loss larger than its risk, impossible dates, duplicates, mixed currencies. See problems[]. |
| 400 | too_few_trades | Fewer than 20 readable trades. |
| 422 | (field list) | A field the API doesn't accept, e.g. an account number or symbol. |
Reasons codes
Every verdict carries reasons: one stable code for each thing that didn’t cleanly hold, worst first, as {"code", "check", "status", "text"}. Agents can drop a candidate or send it back for work without reading the English. Codes don’t change meaning; new ones may be added.
| Code | Means |
|---|---|
too_few_trades | Under 30 trades: too early to judge. |
not_profitable | The total isn't positive. |
profit_from_few_trades | Without its best 5 trades the strategy loses money. |
concentrated | A handful of trades carry much of the profit. |
costs_excluded | Results don't include fees and slippage. |
costs_unknown | Not known whether results include fees and slippage. |
rows_unreadable | Some rows couldn't be read and were left out. |
losing_average | The average trade doesn't make money. |
luck_after_search | Looks real on one try, but not after counting every version tried. |
luck_explains | Luck alone produces a result like this too often. |
tries_not_declared | Versions tried weren't declared, so the luck test can't score above CAVEAT. |
one_period_dominates | One year made more than half the profit. |
inconsistent_periods | Too few years or halves are profitable. |
single_period | All trades fall in one calendar year. |
signal_not_better | The signal days don't beat the same trade taken without the signal. |
signal_lowers_total | The signal raises the average but lowers the total. |
plan_not_followed | Too many off-plan trades or skipped signals. |
timing_not_better_than_random | The entries don't beat enough random entries. |
no_positive_setting | No setting in the sweep makes money. |
spike_not_plateau | The best setting is a lonely spike: its neighbours don't hold up. |
slope_not_plateau | Results fall away from the best setting: not a clear plateau. |
losses_cluster | Losses come in clusters, so bad runs are deeper than a simple shuffle shows. |
sizing_small_sample | Under 100 trades: sizing numbers are a floor. |
live_off_track | Live results are outside the range the backtest expects. |
live_better_than_backtest | Live results are better than the backtest's range: check the live data. |
live_bad_luck | Live results are below the backtest, within normal bad luck. |
vault_failed | The strategy didn't hold on the held-back dates. |
vault_spent | These dates were already used by an opened vault. |
Plans and usage
Two plans use the API and MCP server. A check of up to 1,000 trades counts as one; a bigger one counts one per 1,000 trades. A batch candidate counts half. Your agent never hits a wall: past the allowance it slows down instead of erroring.
| FlightCheck | Pro | |
|---|---|---|
| Price | $50 a month | $149 a month |
| Checks a month | 10,000 | 250,000 |
| Checks an hour | 600 | 3,000 |
| Past the allowance | Slows to 60 an hour until the month resets | $2 per 1,000 on one monthly bill, up to your spending cap; then slows to 120 an hour |
Every keyed response carries where you stand, so an agent can pace itself:
X-FlightCheck-Plan: pro
X-FlightCheck-Checks-Used: 182340
X-FlightCheck-Checks-Included: 250000
X-FlightCheck-Rate-Limit: 3000
X-FlightCheck-Extra-Usd: 0.00
X-FlightCheck-Cap-Usd: 100.00
X-FlightCheck-Slowed: 1 (only when slowed)GET /v1/account | Your plan, checks used and included, extra so far, spending cap, whether you're slowed, and when the month resets. |
PUT /v1/account | Pro: set your monthly spending cap, e.g. {"spending_cap_usd": 300}. Zero means slow down at the allowance and never bill extra. |
| 429 rate_limited | Over your hourly limit, or slowed: the message says which, and Retry-After says how many seconds to wait. |
Batch: an agent’s search
An agent that tries 40 strategies will find one that looks great by luck alone. Send the whole search to POST /v1/verdict/batch (up to 50 candidates) and FlightCheck judges it as one family: every candidate is charged for the whole search, so the best of 40 faces the bar the best of 40 should. Results come back ranked, each with its status and reasons. Each candidate counts half a check toward your usage (40 candidates count as 20), so sending the whole search, failures included, is cheaper than checking winners one by one.
curl -X POST https://api.flightchecklab.com/v1/verdict/batch \
-H "Content-Type: application/json" -H "Authorization: Bearer fc_..." \
-d '{"costs": "included", "source": "backtest",
"candidates": [{"idea": "breakout 20", "trades": [...]},
{"idea": "breakout 55", "trades": [...]}]}'With a member key, FlightCheck also counts versions itself: every distinct set of trades checked under the same strategy name is one version, and the luck test uses the larger of your tries and its count. Re-sending the same trades never counts twice. Keep strategy names stable. The response shows tries_counted.
MCP server
FlightCheck is also a remote MCP server, so Claude Code, Cursor and other MCP clients can call it as a tool. Same engine, same Standard, same privacy rules as the HTTP API. One line in Claude Code:
claude mcp add --transport http flightcheck https://api.flightchecklab.com/mcp --header "Authorization: Bearer fc_your_key"Or add it to any client that reads an MCP config file:
{
"mcpServers": {
"flightcheck": {
"type": "http",
"url": "https://api.flightchecklab.com/mcp",
"headers": { "Authorization": "Bearer fc_your_key" }
}
}
}| Tool | What it does |
|---|---|
check_trades | Trade rows (date, result, risk) plus tries, and any optional file: baseline, signal_dates, live, sweep. Returns the verdict, each check and how to report it. |
check_batch | Up to 50 candidates from one search, judged as a family: each charged for the whole search, ranked, with reasons codes. |
check_trades_csv | A CSV of trades, e.g. a backtest's trade list. Only the date, result and risk columns are read; every other column is ignored and never kept. |
flightcheck://standard | Resource: the four statuses and how the overall verdict is decided. |
tries is required on every call: the server tells the agent to count every version it has tested and never lower it, and to report the status as given.
API keys
The API and MCP server are part of the FlightCheck plan: you get your key when you join. Send it on every request, to /v1/verdict, the batch check and /mcp alike:
Authorization: Bearer fc_...| With a key | Your plan's hourly limit and monthly allowance (see Plans and usage). Every response carries your usage in headers; GET /v1/account shows where you stand. |
| 401 key_required | No key was sent. The API and MCP need one; the web lab is always free. |
| 401 invalid_key | The key is wrong or revoked. |
| 429 rate_limited | Over the limit. The Retry-After header says how many seconds to wait. |
Keys are never linked to submissions: usage is counted per key, and the kept trade data carries no key, no account and no address.
Your logbook (the flight path)
Every check a member runs with their key adds an entry to their logbook: the date, the verdict, where they landed on each map, and their sizing-habit numbers. Outcomes only, never trades or dollar figures, and never joined to the anonymous submissions. Each verdict with a key also carries logbook: which way you are heading (climbing, holding altitude or descending) and why.
GET /v1/logbook | Every entry, oldest first, plus the direction of your flight path. |
DELETE /v1/logbook | Erase your logbook. Anonymous submissions are unaffected. |
Share links
Every response carries a share offer: an outcome-only card (overall status, each check’s status and short line, the Standard version, the date, trade count, tries and a fingerprint of the rows) signed by the engine. Nothing is published unless you post it back:
curl -X POST https://api.flightchecklab.com/v1/share \
-H "Content-Type: application/json" \
-d "$(jq '.share' verdict.json)"
# → {"id": "Xq3..."} Link: https://flightchecklab.com/verdict/?id=Xq3...
# Read it back: GET https://api.flightchecklab.com/v1/share/Xq3...The link shows the verdict exactly as given, including every check that didn’t hold. Cards can’t be edited: a changed card fails the signature check.
For AI agents
Give your agent the rule and the tool. Paste this into your project’s agent instructions (for example CLAUDE.md):
## Checking trading ideas (FlightCheck)
Before calling any strategy, backtest or variant promising, check its trade results with FlightCheck:
POST https://api.flightchecklab.com/v1/verdict (JSON). Docs: https://flightchecklab.com/docs
- Send one row per trade: {"date", "result" ($ after fees), "risk" ($ the most the trade could lose)}.
- Set "tries" to the number of versions you have tested of this idea, including every parameter
combination. Never lower it. If you ran a parameter sweep, send it as "sweep" instead.
- Set "costs" honestly: "included", "excluded" or "unknown".
- Report the verdict's "status", "plain_english" and "does_not_tell_you" to the user verbatim.
- Never describe an idea as working unless "status" is "HOLDS". CAVEAT means a named weakness;
DOES NOT HOLD means stop or change the idea; OPEN means not enough evidence yet.
- Follow "next_question" before building further on the idea.And a function it can call:
import requests
FLIGHTCHECK = "https://api.flightchecklab.com/v1/verdict"
def flightcheck(trades: list[dict], tries: int, costs: str = "unknown", idea: str = "agent idea") -> dict:
"""Judge an idea's trade results. Returns the verdict; raises with FlightCheck's explanation on bad input."""
r = requests.post(FLIGHTCHECK, json={"idea": idea, "tries": tries, "costs": costs, "trades": trades},
timeout=120)
body = r.json()
if not r.ok:
detail = body.get("detail", {})
raise ValueError(detail.get("message") if isinstance(detail, dict) else detail)
return {k: body[k] for k in ("status", "plain_english", "does_not_tell_you", "next_question", "checks")}A plain-text summary for agents and LLM tools lives at /llms.txt.
Privacy and data
- Send results, never rules: FlightCheck never needs, accepts or stores strategy code.
- The API and MCP server only ever get stripped rows, exactly like the web lab: date, result and risk per trade (and signal dates). They never take price files either: a real price-data check needs your symbol, and your symbol never leaves your computer.
- Anything else is refused with a 422 that names the fields and asks you to remove them: account numbers, order IDs, names, symbols, strikes, times and prices. (The MCP CSV tool reads only the date, result and risk columns and ignores the rest.) None of it is ever checked or kept.
- Each submission is kept as sent (the stripped rows and the verdict summary), not linked to a person, to build benchmarks shown only as group totals with minimum group sizes.
- We never sell anyone’s data or any individual’s results. Paid plans include aggregate insights built from everyone’s submissions; that is the product, not a sale of data.
Limits and health
| Rows | Up to 10,000 per file; 20 trades minimum. |
| Access | A FlightCheck plan key on every request; 600 calls an hour. See API keys. |
GET /health | Up, and which Standard version is live. |
GET /health/store | Whether submissions can be kept right now. |
FlightCheck checks results you already have. It never gives trade signals or recommendations, and a passing verdict is not a promise of future profit. Clarity, not certainty.