Free learning tools Test your finance and trading knowledge before you build, buy, or automate.

Forex Historical Data CSV

High-quality CSV data for MT4, MT5, backtesting, and machine learning algorithms

Historical data is now paid.

Free raw CSV and ZIP downloads are closed. View packages, pricing and secure delivery, or read the refund policy before ordering.

View data pricing Refund policy

Complete Forex Dataset 2020-2025

Access clean Forex historical data (2020–2025) in CSV format covering major currency pairs, minor pairs, BTCUSD, and XAUUSD Gold. This dataset is ideal for MT4 and MT5 backtesting, algorithmic trading, and advanced machine learning models such as LSTM, CNN, Random Forest, XGBoost, ARIMA, and reinforcement learning.

Time Period

2020 - 2025

Timeframes

All MT4/MT5

Format

CSV Files

Use Cases

ML & Trading

POPULAR DATA WORKFLOWS

XAUUSD CSV, MT5 Export Scripts and Python Backtesting

If you are testing a gold EA or building a Python research model, start with the focused guides below. They explain the actual file structure, broker-symbol issues, CSV quality checks, MT5 export workflow and backtest mistakes that usually create fake results.

Major Pairs

8 pairs available in the paid catalog

EUR/USD

Major Pairs

Euro vs US Dollar - Most traded forex pair

CSV Format 2020-2025 All Timeframes
Buy dataset

GBP/USD

Major Pairs

British Pound vs US Dollar - Cable

CSV Format 2020-2025 All Timeframes
Buy dataset

USD/JPY

Major Pairs

US Dollar vs Japanese Yen

CSV Format 2020-2025 All Timeframes
Buy dataset

USD/CHF

Major Pairs

US Dollar vs Swiss Franc - Swissy

CSV Format 2020-2025 All Timeframes
Buy dataset

USD/CAD

Major Pairs

US Dollar vs Canadian Dollar - Loonie

CSV Format 2020-2025 All Timeframes
Buy dataset

EUR/JPY

Major Pairs

Euro vs Japanese Yen

CSV Format 2020-2025 All Timeframes
Buy dataset

GBP/JPY

Major Pairs

British Pound vs Japanese Yen

CSV Format 2020-2025 All Timeframes
Buy dataset

EUR/GBP

Major Pairs

Euro vs British Pound - Chunnel

CSV Format 2020-2025 All Timeframes
Buy dataset

Minor Pairs

20 pairs available in the paid catalog

AUD/USD

Minor Pairs

Australian Dollar vs US Dollar - Aussie

CSV Format 2020-2025 All Timeframes
Buy dataset

NZD/USD

Minor Pairs

New Zealand Dollar vs US Dollar - Kiwi

CSV Format 2020-2025 All Timeframes
Buy dataset

EUR/AUD

Minor Pairs

Euro vs Australian Dollar

CSV Format 2020-2025 All Timeframes
Buy dataset

EUR/CAD

Minor Pairs

Euro vs Canadian Dollar

CSV Format 2020-2025 All Timeframes
Buy dataset

EUR/CHF

Minor Pairs

Euro vs Swiss Franc

CSV Format 2020-2025 All Timeframes
Buy dataset

EUR/NZD

Minor Pairs

Euro vs New Zealand Dollar

CSV Format 2020-2025 All Timeframes
Buy dataset

GBP/AUD

Minor Pairs

British Pound vs Australian Dollar

CSV Format 2020-2025 All Timeframes
Buy dataset

GBP/CAD

Minor Pairs

British Pound vs Canadian Dollar

CSV Format 2020-2025 All Timeframes
Buy dataset

GBP/CHF

Minor Pairs

British Pound vs Swiss Franc

CSV Format 2020-2025 All Timeframes
Buy dataset

GBP/NZD

Minor Pairs

British Pound vs New Zealand Dollar

CSV Format 2020-2025 All Timeframes
Buy dataset

AUD/CAD

Minor Pairs

Australian Dollar vs Canadian Dollar

CSV Format 2020-2025 All Timeframes
Buy dataset

AUD/CHF

Minor Pairs

Australian Dollar vs Swiss Franc

CSV Format 2020-2025 All Timeframes
Buy dataset

AUD/JPY

Minor Pairs

Australian Dollar vs Japanese Yen

CSV Format 2020-2025 All Timeframes
Buy dataset

AUD/NZD

Minor Pairs

Australian Dollar vs New Zealand Dollar

CSV Format 2020-2025 All Timeframes
Buy dataset

CAD/CHF

Minor Pairs

Canadian Dollar vs Swiss Franc

CSV Format 2020-2025 All Timeframes
Buy dataset

CAD/JPY

Minor Pairs

Canadian Dollar vs Japanese Yen

CSV Format 2020-2025 All Timeframes
Buy dataset

CHF/JPY

Minor Pairs

Swiss Franc vs Japanese Yen

CSV Format 2020-2025 All Timeframes
Buy dataset

NZD/CAD

Minor Pairs

New Zealand Dollar vs Canadian Dollar

CSV Format 2020-2025 All Timeframes
Buy dataset

NZD/CHF

Minor Pairs

New Zealand Dollar vs Swiss Franc

CSV Format 2020-2025 All Timeframes
Buy dataset

NZD/JPY

Minor Pairs

New Zealand Dollar vs Japanese Yen

CSV Format 2020-2025 All Timeframes
Buy dataset

Cryptocurrency

1 pairs available in the paid catalog

BTC/USD

Cryptocurrency

Bitcoin vs US Dollar - Digital Gold

CSV Format 2020-2025 All Timeframes
Buy dataset

Commodities

2 pairs available in the paid catalog

XAU/AUD

Commodities

Gold vs Australian Dollar

CSV Format 2020-2025 All Timeframes
Buy dataset

XAU/USD

Commodities

Gold vs US Dollar - Spot Gold

CSV Format 2020-2025 All Timeframes
Buy dataset

Exotic Pairs

1 pairs available in the paid catalog

USD/RUB

Exotic Pairs

US Dollar vs Russian Ruble

CSV Format 2020-2025 All Timeframes
Buy dataset

How to Use This Data

MT4/MT5 Backtesting

Import CSV files directly into MetaTrader for strategy backtesting. All major timeframes included for comprehensive testing.

Machine Learning

Perfect for LSTM, Random Forest, XGBoost, CNN, and neural network models. Clean, structured data ready for Python/R analysis.

Algorithmic Trading

Build and test automated trading strategies with historical data spanning 5+ years of market conditions.

Need Custom Trading Bots?

Turn your strategies into professional Expert Advisors. We develop MT4/MT5 EAs, cTrader bots, and custom indicators optimized for these datasets.

Get Custom Bot Quote
Source code packages

Turn Free Data and Downloads Into Your Own Trading System

Buy source-code packages, request custom data automation, or get an MT4/MT5 EA built around your historical-data workflow. Packages start at $65 and advanced white-label bundles go up to $650.

  • Single source files, niche bundles and full developer packs
  • Personal, commercial trading and white-label license options
  • WhatsApp and Telegram quote path for fast manual delivery

Need Custom Forex Data for Your Trading Bot?

We prepare custom datasets, source-code tools, date ranges, exotic pairs, tick-level data and AI-ready feature engineering. Delivered in CSV, JSON, Python, or directly integrated into your MT4/MT5 EA.

View Source Packages Get Custom Data Build an EA

Free API & Data Tools for Forex & Metals Datasets

Validate, preview and compare the data before you download.

MT5 CSV ValidatorCheck this CSV for duplicates, gaps and OHLC errors in your browser. Preview This DatasetSee real rows, the exact date range and a chart before downloading. Session HeatmapBest trading hours by weekday and hour. Dataset Finder QuizSix questions to the right dataset for your strategy.

Compare all four free data tools →


🚀 Invite friends — Earn $5 You both get $5 credit on Go Ad · opencode.ai AI-Powered Coding Agent — Try Free Build apps, fix bugs & ship faster with opencode. Get $5 free credit when you join. × Ad · quo.com QuoPhone — $20 Visa Gift Card Free Sign up to Quo, subscribe 3 months, get a $20 Visa gift card. Atif's referral gift for you. ×