Free datasets for quantitative finance research: factors, rates, prices and fundamentals

Most of the research discussed on Out of Sample can be reproduced with free data. This page lists the public datasets we use or recommend, grouped by what they contain, with a line on what each is good for and the trap to avoid. It complements the broader resources page, which also covers software and communities.

Every provider sets its own terms of use. Most allow research and education, many forbid redistribution of the raw files: read the conditions on each site before publishing derived data.

Factor returns

Interest rates and macro series

Long-run prices and volatility

Company fundamentals

Four rules before you backtest

  1. Survivorship. A list of today's index members ignores the companies that disappeared. Free price data rarely includes delisted stocks; factor libraries do, which is one reason to start from them.
  2. Point in time. Use data as it was known on the date of the trade: original macro releases, filing dates for accounts, historical index membership.
  3. Revisions. Note the download date and keep a copy of the file you used; many series change after the fact.
  4. Costs. None of these datasets include trading costs, borrow fees or taxes. Add them before trusting a result, as our article on how systematic funds work explains.

Definitions of the terms used here, from look-ahead bias to factor, are in our glossary.