At 03:47 UTC, a mid-tier market-making desk's signal engine printed a high-conviction long. The payload was impeccable — valid JSON, correct keys, zero parse errors, schema-compliant. Every value read "N/A." The bot didn't crash. It didn't warn. It traded. Two hours later the desk was down 4.1% on a position no human analyst would have touched, because there was no thesis underneath it. The most dangerous output in crypto isn't a wrong number — it's a structurally valid one with nothing inside. I've spent a decade turning raw chain data into executable signals, and the failure mode everyone fears is not the one that quietly drains accounts. The killer is the empty skeleton that passes every check except the three that actually matter.
Here's what nobody building AI trading agents wants to say out loud: the industry has industrialized a three-stage pipeline — scrape, extract, analyze — and almost nobody validates the handoffs. Stage one pulls article text. Stage two reduces it to structured fields: entities, claims, timestamps, source anchors. Stage three generates a thesis. When stage one fails — a paywall, a rate limit, a 200 response with an empty body — stage two should throw. Instead it complies. It returns a template. And stage three, asked to analyze nothing, does what every large model is trained to do with nothing: it invents.
I watched the shape of this during the Celsius collapse in June 2022. Within two hours of the withdrawal freeze I was reading treasury addresses directly instead of the narratives spinning up on Twitter. The wallets were ground truth. $230 million had already moved toward a Huobi-adjacent wallet days before the freeze, and most of the confident commentary had never opened an explorer. That gap between what the chain said and what the feed said is the entire game. The code doesn't lie; it just doesn't volunteer.
So let's talk about the actual engineering, because that's where this gets solvable.
A schema that permits "N/A" as a string is a schema that lies. This is the crux, and it's boring, and that's exactly why it ships. A non-null constraint means nothing when your allowed value set includes a null-shaped token. When I audit a signal pipeline — and I've torn apart dozens since I verified the integer overflow in Bancor's early contracts locally within 48 hours of first spotting it in 2017 — I run one test before anything else. I feed it an empty document and I watch what comes out. If the answer is a well-formatted summary, the pipeline is a hallucination generator with a marketing budget.
The mechanics are mundane. Stage one returns an empty array. Stage two's extractor runs a loop that iterates zero times and returns an empty struct. That struct is serialized, stamped, and passed downstream. Nothing throws, because nothing is technically wrong. That's the trap. We didn't build our confidence scoring for the happy path — we built it for the silence. A signal with zero source anchors should score zero. Not "low." Zero. A signal whose newest timestamp is fourteen hours old in a market that reprints every four minutes should be quarantined, not down-weighted.
The second failure is confidence laundering. A model that receives an empty input and emits a hedged, plausible paragraph has broken no code in any repository. But its output carries the same downstream weight as one grounded in twelve verified on-chain events, because nobody checks provenance — they check format. Format is not fidelity. This is where I get genuinely annoyed, because the industry has spent two years arguing about model benchmarks while ignoring the fact that most of its "alpha" arrives wrapped in identical JSON regardless of whether it contains a fact or a void.
I ran into the sharp edge of this while modeling the gamma exposure around the January 2024 spot Bitcoin ETF approvals. My simulations predicted the sideways consolidation that followed — but only because I fed them historically clean volatility surfaces. Two colleagues ran the same model on a corrupted feed and got a breakout signal. Same code, opposite conclusions. The model was never the variable. The input was. That lesson generalizes to every signal desk in this market: your edge is not your architecture, it's your provenance.
Provenance is cheap to implement and almost nobody does it. Content-address every stage-two struct with a hash of the source bytes it was derived from. If the hash doesn't resolve to a retrieved document, the struct is a ghost and dies at the gate. I've shipped this in three separate pipelines and it caught failures the humans never noticed — silent 200s, truncated bodies, extracted "facts" that traced back to a cookie banner. You cannot audit what you cannot trace, and you cannot trace what you never hashed.
Weekly I get pitched "AI research agents" that claim to ingest the entire crypto news firehose. I ask a single question: what does your system output when the firehose is closed? The honest answer is "nothing." The shipped answer, in roughly nine cases out of ten, is "a research report."
The third failure is the latency excuse. Real-time desks — mine included, once — push validation to the end of the queue because every millisecond of gate-checking is a millisecond not spent on execution. In 2021 I built a bot that read OpenSea's API latency against direct Ethereum node queries and caught floor-price drops milliseconds before they rendered on the frontend. I executed over 200 trades in a week on that edge, and I'll say it plainly: arbitrage is just patience wearing a speed suit. But the edge only existed because I trusted the node and distrusted the frontend. Floor prices are opinions; volume is the truth. The moment you let an unvalidated feed set your execution, you're not fast — you're just early to being wrong.
The fix is three gates, and none of them are exotic. Gate one: a hard minimum on source-anchor count, enforced at the schema level, throwing rather than warning. Gate two: a freshness window matched to the instrument's reprint cadence, not to the calendar. Gate three: cross-verification against a second, structurally independent feed — if two pipelines disagree on the same event, the signal dies, not the dissent. Three gates. Maybe forty lines of code. The code doesn't need to be clever; it needs to be unforgiving.
Now the part that will make me unpopular.
Everyone is worried that AI will hallucinate. Wrong concern. The market rewards hallucination. In a bull market, a confidently wrong signal generates more engagement, more flow, and more "alpha" branding than an honest "insufficient data" ever will. An empty skeleton that says "high-conviction long" gets read. A pipeline that says "I have nothing" gets muted. The incentive structure is actively selecting for the exact failure it claims to fear. That's not a bug in the models. That's a bug in the humans paying for output volume.
And here's the counter-intuitive corollary that keeps me up: a fully empty input is safe. It's easy to catch — one length check and you're done. The nightmare input is the half-empty one. Two real anchors buried under nine fabricated ones. A timestamp that's correct, an entity that's stale, a number that was true last quarter. That passes every gate you built for absence, and it poisons everything downstream because it looks alive. The half-truth pipeline is the real threat, and it's the one nobody instruments for. Liquidity leaves fast, but the smart money stays — and so does a bad schema, quietly feeding both of them the same lie.
So watch the handoffs, not the model outputs. When the next "AI analyst" goes viral for a call that turns out to be hallucinated, don't ask which model it ran. Ask which stage should have thrown and didn't. The answer will be stage one. It's always stage one. And the desk that instruments that handoff — that treats an empty struct as a circuit-breaker rather than a signal — will be the one still solvent when the rest of the market discovers it's been trading a template. Cheetahs don't outrun the fire. They notice the smoke before anyone calls it.