Skip to content

Trade system validation API · MCP server

One request. An honest verdict on any trading idea.

Send trade results, get back whether the edge is real or luck: four plain statuses, the numbers behind them, what each check can’t tell you, and what to check next. Built for your scripts, your app and your AI agent.

API access includes the 8-week Sky Kings course and the Strategy Test Kit.

# A ready-made request: 160 synthetic trades, 14 versions tried
curl -sO https://flightchecklab.com/sample-trades.json

curl -X POST https://api.flightchecklab.com/v1/verdict \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer fc_your_key" \
  -d @sample-trades.json

# Your own: {"tries": 14, "costs": "included",
#            "trades": [{"date": "2024-01-02", "result": 83.33, "risk": 250}, ...]}

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.)

  1. Collect your trades: date, result (dollars, after fees) and risk (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.
  2. Say how many versions of the idea you tried (tries) and whether fees are in the results (costs).
  3. 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.

response · 200
{
  "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.

report (markdown, from the sample)
## 🍀 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 unlock

Why 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.

FieldTypeWhat it is
tradesarray, requiredYour trade results, one object per trade (fields below). Up to 10,000.
triesinteger ≥ 1How 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.
ideastringA name for the idea, shown on the verdict.
expectstringWhat you expect, written before you look. Shown back at the top of the verdict.
would_change_my_mindstringYour 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.
baselinearray of tradesThe same trade taken every day. Unlocks Signal vs. baseline and Beats random.
signal_datesarray of datesThe days your system said go. Unlocks the discipline audit.
livearray of tradesLive or paper trades. Unlocks live tracking against your backtest.
sweeparray of rowsA settings sweep: one row per trade per setting. Unlocks the plateau check and the max-statistic luck adjustment.
sweep_axesarray of stringsThe setting column names in sweep (up to 4).
throttlebooleanAlso 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.
importerstringWhich 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

FieldRequiredMeaning
dateyesYYYY-MM-DD (a timestamp is cut to its date).
resultyesDollars won (+) or lost (−), after fees.
riskyesDollars: the most the trade could lose. Must be above zero, and no loss may exceed it.
holding_timenoDays held. Optional.
labelnoTells two otherwise identical trades apart.
feesnoFees paid, if you track them separately.
currencynoOne currency per file.

Optional files

Each extra file unlocks more checks. Send any combination in the same request.

a settings sweep
"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.

StatusMeans
HOLDSThe check passed on the trades you sent.
CAVEATIt passed, with a named weakness.
DOES NOT HOLDIt failed.
OPENToo few trades to say either way.
LOCKEDChecks 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.

FieldWhat 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_levelWhich level of evidence you reached, and the one file that unlocks the next.
backtest_tipSet under 100 trades: add backtest trades for a real answer on luck and sizing.
standard_version, seedExactly which rules judged it and which random draws: the same request and seed always give the same answer.
sampleTrades counted, years covered, share of losers.
keptWhether the stripped submission was stored (see Privacy).

The checks

KeyAsksNeeds
sanityIs the profit spread out, or carried by the best 5 trades? Are fees in?trades
profit_luckIs the average trade above zero by more than luck? Sign-flip and bootstrap-t tests must agree; adjusted for every try.trades
consistencyDoes it hold year by year and in both halves? Does one year carry it?trades
sizingHow 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
profileNot 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_baseDo signal days beat the same trade taken every day, in R, dollars and totals?baseline
disciplineOn-plan, off-plan and skipped signals, matched by date, with what each cost.signal_dates
beats_randomDo your signal days beat random sets of the same number of days?baseline + signal_dates
plateauPlateau, slope or lonely spike? Which setting sits in the middle of the good region?sweep
liveIs 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.

response · 400
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"
    ]
  }
}
Statusdetail.errorWhen
400invalid_inputAny row problem: missing field, risk ≤ 0, a loss larger than its risk, impossible dates, duplicates, mixed currencies. See problems[].
400too_few_tradesFewer 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.

CodeMeans
too_few_tradesUnder 30 trades: too early to judge.
not_profitableThe total isn't positive.
profit_from_few_tradesWithout its best 5 trades the strategy loses money.
concentratedA handful of trades carry much of the profit.
costs_excludedResults don't include fees and slippage.
costs_unknownNot known whether results include fees and slippage.
rows_unreadableSome rows couldn't be read and were left out.
losing_averageThe average trade doesn't make money.
luck_after_searchLooks real on one try, but not after counting every version tried.
luck_explainsLuck alone produces a result like this too often.
tries_not_declaredVersions tried weren't declared, so the luck test can't score above CAVEAT.
one_period_dominatesOne year made more than half the profit.
inconsistent_periodsToo few years or halves are profitable.
single_periodAll trades fall in one calendar year.
signal_not_betterThe signal days don't beat the same trade taken without the signal.
signal_lowers_totalThe signal raises the average but lowers the total.
plan_not_followedToo many off-plan trades or skipped signals.
timing_not_better_than_randomThe entries don't beat enough random entries.
no_positive_settingNo setting in the sweep makes money.
spike_not_plateauThe best setting is a lonely spike: its neighbours don't hold up.
slope_not_plateauResults fall away from the best setting: not a clear plateau.
losses_clusterLosses come in clusters, so bad runs are deeper than a simple shuffle shows.
sizing_small_sampleUnder 100 trades: sizing numbers are a floor.
live_off_trackLive results are outside the range the backtest expects.
live_better_than_backtestLive results are better than the backtest's range: check the live data.
live_bad_luckLive results are below the backtest, within normal bad luck.
vault_failedThe strategy didn't hold on the held-back dates.
vault_spentThese 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.

FlightCheckPro
Price$50 a month$149 a month
Checks a month10,000250,000
Checks an hour6003,000
Past the allowanceSlows 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:

response headers
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/accountYour plan, checks used and included, extra so far, spending cap, whether you're slowed, and when the month resets.
PUT /v1/accountPro: set your monthly spending cap, e.g. {"spending_cap_usd": 300}. Zero means slow down at the allowance and never bill extra.
429 rate_limitedOver 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.

batch
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 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:

mcp config
{
  "mcpServers": {
    "flightcheck": {
      "type": "http",
      "url": "https://api.flightchecklab.com/mcp",
      "headers": { "Authorization": "Bearer fc_your_key" }
    }
  }
}
ToolWhat it does
check_tradesTrade 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_batchUp to 50 candidates from one search, judged as a family: each charged for the whole search, ranked, with reasons codes.
check_trades_csvA 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://standardResource: 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:

header
Authorization: Bearer fc_...
With a keyYour 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_requiredNo key was sent. The API and MCP need one; the web lab is always free.
401 invalid_keyThe key is wrong or revoked.
429 rate_limitedOver 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/logbookEvery entry, oldest first, plus the direction of your flight path.
DELETE /v1/logbookErase 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:

publish a card
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):

agent instructions
## 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:

Python tool
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

RowsUp to 10,000 per file; 20 trades minimum.
AccessA FlightCheck plan key on every request; 600 calls an hour. See API keys.
GET /healthUp, and which Standard version is live.
GET /health/storeWhether 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.