Real-Time Market Data with AI: Architecture, Latency and Cost
· Rubén García
How to ingest and normalise real-time market data with AI agents: the five architectural layers, what feeds actually cost, and the data quality failures that ruin an analysis.
Working with real-time market data and AI is, above all, a data engineering problem: capture prices as they arrive, normalise them into a single schema, detect when the feed is lying to you, and serve it with a known latency. The artificial intelligence part does not belong on the critical path — that is the domain of fast, deterministic code — but around it: reconciling instrument catalogues, watching feed quality, enriching with context and explaining what just happened. Confusing those two layers is the most expensive mistake in this kind of project.
I write this from the side that builds the infrastructure, not the side that trades. In our own market research systems the conclusion has always been the same: most problems that look like strategy problems are data problems — a badly adjusted series, a gap nobody noticed, a misread timezone. This guide walks through the ingestion architecture, the real cost of the data, and the quality failures that ruin an analysis before it starts.
What does "real time" actually mean in market data?
It means very different things depending on who you ask, and the price varies by an order of magnitude between them. There are at least four tiers, and picking the one you do not need is the most common way to burn budget.
- Delayed. The same data 15-20 minutes late. Free or nearly free from many vendors, and fine for analysis, reporting and prototypes. For research and historical validation it is enough 90% of the time.
- Consolidated real time. The aggregated price across all trading venues, distributed by the market's consolidator. Latency from tens of milliseconds to a second depending on the route. The standard for analytical applications and most non-intraday decision systems.
- Direct exchange feed. A connection to the venue itself, with no consolidator in between. Microseconds to milliseconds, and a completely different cost and complexity class: hardware, colocation, dedicated engineers.
- Full order book. Not just the last price but the whole book: it multiplies data volume — and storage cost — by several orders of magnitude.
The useful question is not "do I need real time?" but "what is one second worth to me?". If your decision horizon is minutes or hours, paying for microseconds is pure waste.
What does real-time market data cost?
The cost has two layers that get confused constantly: what the technology vendor charges for the API, and what the exchange itself charges for the rights to the data. The second one is where the surprises live.
| Tier | Indicative cost (August 2026) | Typical latency | What it is for |
|---|---|---|---|
| 15-minute delayed | Free or bundled into entry plans | 15-20 minutes | Prototypes, reporting, historical research |
| Real time, non-professional use | Roughly $100-250/month per API vendor | Tens of ms to seconds | Analytics, dashboards, non-intraday decisions |
| Real time, professional / non-display | Exchange fees, quoted separately per user or application | Same feed, different rights | Enterprise use, redistribution, commercial product |
| Direct feed and full book | Thousands per month plus infrastructure | Microseconds to ms | Low-latency execution |
Real-time plans from general-purpose API vendors sat around $199/month in their public rate cards as reviewed in August 2026, with wide variation by market, asset class and whether history is included. Always verify the current rate before budgeting: prices and even brand names change often in this sector.
The usual trap is licensing. Exchanges distinguish between "non-professional" and "professional" use, and between "display" use (a person looks at a screen) and "non-display" use (a machine consumes the data to decide). The same feed can cost tens of euros a month under one classification and thousands under another — and non-display, which is exactly what an automated agent does, almost always lands in the expensive bracket. If you are building an enterprise system, that conversation with the exchange or redistributor comes before the technical design, not after.
How should the ingestion architecture be structured?
In five layers, kept deliberately separate because each one fails differently. Blending them is what produces systems nobody dares touch.
- Ingestion. The connector that talks to the vendor — websocket, API, binary protocol — with exactly one responsibility: receive and persist the raw data as it arrives, with your own receipt timestamp. Never transform at this layer; the day you find a normalisation bug you will want to reprocess from the original.
- Normalisation. Translate every vendor into your internal schema: instrument identifiers, timezones in UTC, units, price conventions, split and dividend handling. This layer decides whether, two years from now, you can switch vendors without rewriting everything.
- Storage. Time series partitioned by instrument and date, raw data on cheap storage and normalised data somewhere queryable. Size it up front: tick data for a handful of instruments already runs to tens of gigabytes a year.
- Quality control. An independent process that continuously audits gaps, impossible prices, zero volume during market hours, growing delays and divergence between vendors. Without this layer, your quality control is your results, and you find out late.
- Serving. The interface your systems consume, with a stable versioned contract and a measured, published latency, so every consumer knows what it is working with.
Where does AI genuinely add value here?
In the normalisation, quality and explanation layers — not on the critical ingestion path. A language model adds hundreds of milliseconds and a non-zero chance of being wrong, and neither is acceptable at the point where a tick must be captured. Away from that point, it removes work that used to be manual and tedious.
- Instrument catalogue reconciliation. The same asset is named three ways by three vendors, changes identifier after a corporate action and carries venue suffixes. An agent that cross-references catalogues, proposes matches and flags the doubtful ones for human review saves weeks and prevents the silent error of merging two different instruments.
- Feed anomaly detection. Beyond fixed rules, spotting that an instrument's data arrival pattern has gone strange relative to its own normal behaviour, and raising it before the problem reaches the analysis.
- Enrichment with unstructured context. Cross-referencing an unusual move with news, regulatory filings and corporate calendars so "what happened here" takes seconds instead of half an hour. Same mechanics we describe in our piece on AI agents for financial research.
- Living schema documentation. What each field means, where it comes from and when it changed. Sounds minor until somebody new joins the team.
The quality failures that ruin an analysis
Almost all of them are invisible until you look at the output and it does not add up. These five show up again and again:
Corporate action adjustments. An unadjusted split turns a series into an unreal price jump. Worse: mixed series, adjusted up to a certain date and unadjusted after it.
Ambiguous timestamps. Exchange time, vendor time or receipt time, with or without timezone. Everything to UTC at normalisation, and keep both marks — source and yours — because their difference is your measured latency.
Silent gaps. The feed dropped for twenty minutes and nobody noticed because there was no error; data simply stopped arriving. Without active continuity monitoring, those gaps get filled downstream with the last known value and distort every conclusion.
Survivorship bias. Working only with instruments that exist today. The ones that disappeared were part of the universe too, and leaving them out biases any historical study.
Unintended look-ahead. Using at time T a figure that was not actually available until T+1: revised numbers, consolidated closes, retroactively corrected data. It is the failure that produces the most spectacular — and most false — historical results. We cover it in detail in our guide to AI for backtesting and strategy validation.
What should you never delegate to a model?
Capture, storage and any decision with money behind it. In this architecture, AI proposes and documents; deterministic code executes and a human decides.
- The critical ingestion path. Simple, fast, auditable code. A model here only adds latency and uncertainty.
- Automatic data correction. Letting a model "fix" an odd price is the surest way to introduce an undetectable error. Detect and flag, yes; overwrite the original, never.
- Discarding anomalies. Many anomalies are real: market events, auctions, halts. Filtering them by default deletes exactly the interesting part.
- The economic decision. A data system exists to inform decisions, not to take them on its own.
How to build it in practice
- Define your latency and universe requirements before looking at vendors: which instruments, what granularity, what maximum acceptable delay. It almost always turns out to be less demanding than it looked.
- Settle licensing before technology. Professional or not, display or not, redistribution or not. It drives cost more than any technical decision.
- Start with delayed data and one vendor. Build all five layers against cheap data and validate the circuit end to end.
- Add quality control before you add real time. A fast feed with no quality audit is a false-conclusion generator running at higher speed.
- Upgrade to real time only for the subset that needs it and track cost per instrument per month so the decision has numbers behind it.
If you want the conceptual map first — what applying AI to markets is and is not — it is in our article on what AI algorithmic trading is. And if you would rather scope the architecture with a team that builds these systems, that is how we work from our AI consulting practice.
Frequently asked questions
Do I need real-time data or is delayed enough?
It depends on your decision horizon. If you decide in minutes, hours or days, 15-minute delayed data covers nearly all analysis and history, and real time is only needed at the moment of acting. Our recommendation is to build the whole system against delayed data and buy real time only for the subset of instruments where a second has demonstrable value.
Can I use free public data sources for an enterprise system?
For prototyping, yes; for production, read the terms. Many free sources explicitly prohibit commercial use, redistribution or automated access, and offer no availability or accuracy guarantee. An enterprise system depending on an uncontracted source is an operational risk, not a saving.
How much storage does this need?
It depends radically on granularity. One-minute bars for a few hundred instruments fit in a few gigabytes a year; tick data with order book for the same universe runs to terabytes. Keep raw data compressed on cheap storage and keep queryable only the granularity you genuinely use.
Is it worth having two vendors for the same data?
For systems where an economic decision depends on the data, yes: the second vendor is not redundancy, it is your quality control. Comparing two independent sources catches errors no internal audit would find, and keeps you running when one goes down. For research and analysis, one source with solid continuity monitoring usually suffices.
What about crypto market data?
It changes the cost picture, not the engineering. Many crypto venues offer real-time data with no licensing fee, which removes the expensive layer, but they add fragmentation across venues, uneven quality and no official consolidator. Normalisation and quality control matter more, not less.
This article covers the technology and business of AI applied to financial markets. It is not financial advice or an investment recommendation.