Market data a backtest cannot cheat with.
Prices, company filings, credit ratings and macro data for the US and Europe, stored exactly as they were known on each day. Ask a question as of any date and get the answer you would have had then: no look-ahead, no survivors-only universe, and no restated history passing as the original.
A personal project I designed, built and run on my own. It is not for sale: this page shows what it holds and how it works, not the data itself.
Why QuantDB
Most backtests are wrong before the first line of strategy code. QuantDB is built to remove the usual reasons.
Every fact dated by when it became public
Statements count from their filing date, macro data from its release. Revised and restated values sit beside the originals, never on top of them.
The universe as it really was
Index membership as of each date, leavers included, and a symbol list that keeps delisted companies. Where a source lacks them, the gap is measured and reported.
Identity that never changes
A company is its SEC registration number and a security is a permanent ID. Tickers are dated, so a reused ticker cannot splice two companies together.
Every number traceable
Raw responses are saved before parsing, so any table can be rebuilt. Problems are flagged, never dropped, and every table says how far it can be trusted.
The data map
Where each dataset comes from, the rule that keeps it honest, and what it is used for. Select a source to light up the uses it feeds, or a use to see its sources.
What’s inside
The datasets by module. History, coverage and row counts are measured from the store each time this site is built.
Equity prices
Daily prices for US and European listings, with the splits and dividends to adjust them on read, and index membership as of each date.
| Dataset | History | Coverage | Rows |
|---|---|---|---|
| Daily prices, US and Europe ref | 1970–2026 | 159,214 listings | 447.1M |
| Daily prices, verified vendor fact | 2025–2026 | 16 instruments | 4K |
| Splits and dividends ref | 1970–2026 | 101,373 listings | 3.5M |
| Index membership changes ref | 1996–2026 | 1,208 names | 462K |
Company fundamentals
Financial statements as they were first filed, with every restatement kept as a new row rather than written over the old one.
| Dataset | History | Coverage | Rows |
|---|---|---|---|
| SEC XBRL statements, as first filed fact | 2009–2026 | 5,009 companies | 67.1M |
| Statements, US and Europe, by vintage ref | 2003–2026 | 10,570 listings | 5.9M |
Filings, events and insiders
Every SEC filing as an event with its exact acceptance time, the text behind it, and what insiders bought and sold.
| Dataset | History | Coverage | Rows |
|---|---|---|---|
| Filing index and 8-K events fact | 1994–2026 | 7,214 registrants | 1.1M |
| Filing text fact | 2009–2026 | 685 companies | 69K |
| Year-on-year text similarity feat | 2009–2026 | 96 companies | 111K |
| Insider transactions fact | 2006–2026 | 18,191 companies | 10.1M |
Credit
Credit rating actions on bonds and issuers, linked to the company where the link can be proven.
| Dataset | History | Coverage | Rows |
|---|---|---|---|
| Rating actions fact | 2012–2025 | 73,469 organisations | 6.4M |
Macro, rates and FX
US and euro-area macro data with every published vintage, the Treasury yield curve and euro reference rates.
| Dataset | History | Coverage | Rows |
|---|---|---|---|
| US macro, every vintage fact | 1854–2026 | 175 series | 3.9M |
| Euro-area macro and rates fact | 1970–2026 | 89 series | 237K |
| US Treasury yield curve fact | 1961–2026 | 30 maturities | 514K |
| Euro FX reference rates fact | 2015–2026 | 5 currencies | 15K |
Benchmarks and derivatives
Index levels and ETFs to measure against, published ETF holdings, continuous futures and daily option-chain snapshots.
| Dataset | History | Coverage | Rows |
|---|---|---|---|
| Benchmark indices and ETFs ref | 1970–2026 | 131 series | 779K |
| ETF holdings fact | 2026 | 3 ETFs | 2K |
| Continuous futures ref | 1971–2026 | 18 contracts | 122K |
| Option chains, daily snapshots snap | 2026 | 16 underlyings | 95K |
History, coverage and rows measured from snapshot 20261129T215010Z when this site was built. fact: checked against a primary source. ref: reference quality, labelled so. snap: captured daily, cannot be backfilled. feat: derived, with lineage.
Built for research you can defend
The guarantees
- Point in time. Fundamentals only after their filing date, as first filed; macro data by vintage; index universes as of each date, leavers included.
- Store raw, adjust on read. Splits and dividends are applied when a query asks, so old results reproduce.
- Identity by decision. Uncertain matches are quarantined; hard cases get a human ruling recorded with its evidence.
- Flag, never silently drop. Coverage is measured against what the source actually has.
- Trust per table.
factis checked against a primary source,refis not, and every study says which it uses.
How it’s built
- Parquet files, DuckDB on top. Files are the source of truth; DuckDB is the query layer, in layers from raw to research-ready.
- Reads never wait for writes. Each update publishes a frozen snapshot; research reads that copy.
- Budgeted vendors. Paid API calls go through one client that counts quota; free sources first.
- Tested offline. 28 test modules run without network or data drive.
- Portable. 30,517 lines of Python; it runs on a laptop today and is moving to a small Linux server that updates it every night.
Known limits
Survivors only in the free price source. It has no delisted companies; every study measures how much of its true universe it can price and says which way the gap pushes the result.
Europe has no SEC filings. European fundamentals come from a reference-quality source and are labelled so.
Daily data only. No intraday bars or quotes; spread-sensitive strategies get explicit cost assumptions.
All 26 tables, with row counts
What is stored
| Table | One row is | Source | Rows |
|---|---|---|---|
| fact · verified against a primary source | |||
fact.fundamental | Company financial statements, each value as first filed | SEC EDGAR (XBRL) | 67,065,034 |
fact.insider_transaction | Insider transactions and holdings | SEC Forms 3/4/5 | 10,111,543 |
fact.insider_footnote | Footnotes attached to insider filings | SEC Forms 3/4/5 | 9,493,188 |
fact.credit_rating | Credit rating actions, by agency and instrument | SEC 17g-7 disclosures | 6,424,444 |
fact.insider_owner | Reporting owners of each filing | SEC Forms 3/4/5 | 4,874,337 |
fact.insider_filing | Insider ownership filings | SEC Forms 3/4/5 | 4,496,561 |
fact.fred_series | US macro series with every published vintage | FRED / ALFRED | 3,879,188 |
fact.sec_filing | Filing index for every issuer, with 8-K item codes | SEC EDGAR | 1,137,657 |
fact.gsw_yield | Gurkaynak-Sack-Wright Treasury yield curve | Federal Reserve | 514,400 |
fact.ecb_series | Euro-area macro and rates series | ECB | 236,803 |
fact.sec_filing_text | Cleaned text of 8-K, 10-K and 10-Q filings | SEC EDGAR | 69,224 |
fact.fx_rate | Euro foreign-exchange reference rates | ECB | 15,185 |
fact.sec_filing_coverage | What was fetched against what exists, per issuer | SEC EDGAR | 8,318 |
fact.bar_daily | Vendor daily bars (budgeted API) | EODHD | 4,015 |
fact.etf_holding | Published ETF portfolio holdings | ETF sponsors | 2,211 |
| ref · reference quality, not yet verified | |||
ref.bar_daily_yahoo | Daily bars for US and European listings | Yahoo Finance | 447,061,228 |
ref.fundamental_yahoo | Financial statements, US and Europe, kept by vintage | Yahoo Finance | 5,911,857 |
ref.corporate_action_yahoo | Splits and dividends | Yahoo Finance | 3,496,429 |
ref.benchmark_bar | Benchmark index levels and index ETFs | Yahoo Finance | 778,564 |
ref.index_constituent | Index constituent changes | Community records | 462,036 |
ref.futures_bar | Continuous futures bars | Yahoo Finance | 122,400 |
ref.filing_extraction | Structured extractions from filings | Language model over SEC text | 6,959 |
ref.filing_event_llm | Events read from 8-K text | Language model over SEC text | 6,202 |
| snap · point-in-time captures | |||
snap.option_quote | Daily option-chain snapshots | CBOE (delayed) | 95,320 |
| feat · derived features with lineage | |||
feat.filing_text_score | Text similarity between consecutive filings | Derived | 111,220 |
feat.filing_section | 10-K / 10-Q sections located in the text | Derived | 22,868 |