Documentation
Historical forex data in Python: sample, coverage, API, and audits
Use these docs to load historical forex data in Python, inspect release coverage, choose between file downloads and API/update access, and validate known-gap caveats before backtesting: 74 symbols, 518 Parquet files, and 300,359,356 rows through 2026-05-31.
Fast answers
New here? Start with the essentials
These docs are built around things you can measure yourself: the sample benchmark, the current R2 coverage report, and the QA distinction between structural blockers and known source-observed gaps.
How do I load historical forex data in Python?
Download the EUR/USD M1 Parquet sample, run pandas.read_parquet, inspect timestamp bounds and OHLC null counts, then compare the release coverage page before choosing a paid bundle.
Start with the sampleShould I use a forex data API or files?
Use APIs for live or frequently refreshed workflows. Use audited local Parquet files when the job is historical research, repeatable backtests, or feature generation without rate limits.
See API/update optionsWhat proves the release is usable?
The evidence is release coverage, row counts, file counts, loader benchmarks, and explicit known-gap caveats. It is not a broad gap-free promise.
Open coverage reportMajor-8 proof
79,042,363
rows across 56 Parquet files
Coverage window
2000-05-30
to 2026-07-05
QA blockers
0
files needing structural review
Known gaps
51
files flagged for source-observed gaps
These docs explain how to evaluate the data; they are not a promise that it has no gaps. Start with the free sample, inspect release coverage, then use the quality/audit pages when your strategy depends on exact pair-date completeness.
Find your answer
Go straight to what you need
Instead of reading the whole docs page, pick the card that matches the job you are trying to finish.
I want forex prices or historical exchange rates in Python
Start with the sample, confirm the schema in pandas, then use the Python guide for repeatable local analysis.
Open Python workflowI need a historical forex data download I can trust
Check audited coverage, known gaps, and the current paid bundles before assuming a pair or year is included.
Review historical data optionsI want recurring updates or a forex data API
Today that means audited file delivery, plus a waitlist for manifests and API access. There is no self-serve API yet.
See API/update optionsI already have files and need a quality answer
Use the checker or request an audit when the problem is duplicate timestamps, invalid OHLC, missing bars, or platform import risk.
Scope an auditDeveloper answer
Historical forex data in Python without API friction
For historical backtesting, local Parquet files are usually simpler than repeated candle API pulls. The current public EUR/USD M1 sample has 31,680 rows and loaded with pandas.read_parquet in a median 3.81 ms in the latest local benchmark.
first-python-check
import pandas as pd
df = pd.read_parquet("EURUSD_M1_sample.parquet")
print(df.dtypes)
print(df["timestamp"].min(), df["timestamp"].max())
print(df[["open", "high", "low", "close"]].isna().sum())
Forex in Python
Use local Parquet files with pandas when the job is repeated historical research, backtesting, or feature generation.
Open Python guideChoosing a language
Start with Python or R for research, add DuckDB/SQL for repeatable Parquet scans, and reserve compiled languages for production systems.
Compare language choicesHistorical data in Python
Use the sample file to confirm timestamp parsing, OHLC types, row count, and missing-bar checks before scaling a notebook to the full release.
Validate sample fileAPI or files?
Use APIs for live or frequently refreshed workflows; use audited local files when you need repeatable historical scans without rate limits.
Join API/update waitlistHistorical exchange rates
Start with the EUR/USD sample, inspect timestamp and OHLC columns, then compare release coverage before expanding to more pairs.
Download sampleStart with the proof you need
Comparing historical forex prices or weighing a data download? The quickest order is: sample first, coverage second, known-gap review third, paid bundle fourth.
Step 1
Validate the schema
Download the free EUR/USD M1 sample to confirm your loader, timestamp handling, and local workflow before spending money.
Get the sampleStep 2
Check release coverage
Review the audited symbol and timeframe coverage before assuming a pair or year is present in the current release.
Open coverage reportStep 3
Read the caveats
The release has 0 structural review blockers, but 51 files still carry known source-observed gap flags.
Review gap statusStep 4
Choose a paid bundle
Move to the major bundle or broader historical data page once the sample and coverage report match your use case.
Need proof before buying?
Download the sample, inspect the coverage report, review known-gap status, or request an audit if your team needs custom validation.