MarketData Hub

USD/CNH Historical Data Downloader

A desktop app that downloads US Dollar vs Offshore Chinese Renminbi (USD/CNH) price history on your own machine, written straight to your disk as CSV or JSON. History runs from 2012-01-02 — around 14 years — at every timeframe from raw ticks to monthly candles. A complete USD/CNH 1-minute series is roughly 5.2M rows, about 260 MB as CSV.

Preview a USD/CNH download →Buy a licence — from €9 →

Or work out the size first: the file-size calculator takes a range and returns the row count and CSV size.

Windows, macOS, Linux · €9 one-time for the entry licence · get the app

What the app fetches for USD/CNH

SymbolUSD/CNH
InstrumentUS Dollar vs Offshore Chinese Renminbi
Asset classForex Crosses
Tick & 1-second data from2012-06-27
1–30 minute candles from2012-06-27
Hourly & 4-hour candles from2012-06-26
Daily & monthly candles from2012-01-02
TimeframesTick → 1s → 1m → 5m → 15m → 30m → 1h → 4h → Daily → Monthly
Price typesBid & Ask (with volume)
File formatsCSV, JSON (MetaTrader, NinjaTrader, Parquet & SQLite/DuckDB from the Pro licence)
Coverage2012-01-02 → 2026-11-02 (last completed trading day)
RetrievalLocal — your machine connects directly to Dukascopy Bank SA
Runs onWindows, macOS, Linux

USD/CNH timeframes the app supports

USD/CNH coverage & file size, timeframe by timeframe

Every USD/CNH timeframe shares the same 2012-01-02 start date, but not the same scale — coarser candles stay small while tick and intraday files grow fast. Current through 2026-11-02:

TimeframeHistory fromApprox. rowsApprox. CSV
Tick (every quote)2012-06-27very large—
1 second2012-06-27very large—
1 minute2012-06-27~5.2M~260 MB
5 minutes2012-06-27~1.0M~52 MB
15 minutes2012-06-27~347K~17 MB
30 minutes2012-06-27~174K~9 MB
1 hour2012-06-26~86,800~4 MB
4 hours2012-06-26~21,700~1 MB
Daily2012-01-02~3,700~187 KB
Monthly2012-01-02~180~9 KB

Counts are approximate, derived from forex session hours across the available history. Tick and 1-second runs are queued and resumable rather than fetched in one pass. See the data methodology for how candles are built.

The MarketData Hub desktop app configuring a historical data download: instrument, timeframe, date range, price side and output file format.
What fetching USD/CNH looks like. Choose the timeframe and date range, bid or ask, and the output format; the app writes the file straight to a folder on your own machine.

Working with the USD/CNH series

This is the offshore renminbi (CNH), created in 2010 and tradable outside mainland controls — a different market from onshore CNY, and the two can and do diverge under stress. The series' defining event is 11 August 2015, when the PBoC's surprise fixing reform devalued the currency and CNH gapped beyond CNY. The pair is managed: long stretches of engineered calm punctuated by policy-driven repricing, which is the worst possible shape for models that infer risk from recent volatility.

USD/CNH historical data — the offshore yuan, tick to daily

USD/CNH tick and 1-minute data

Ticks and 1-minute candles both start 2012-06-27; the full 1-minute run is 5.2M rows, about 260 MB as CSV. Daily candles start only months earlier, on 2012-01-02, so unlike the dollar majors there is no decades-long daily tail here — the whole history of the offshore market fits in the tick era. The complete daily file is 3,700 rows, about 187 KB as CSV.

CNH is not CNY — and the file shows it on mainland holidays

The onshore yuan (CNY) trades in mainland China's interbank market inside a band around the People's Bank of China's daily central parity, set at ±2% since 17 March 2014. CNH is the same currency traded offshore — Hong Kong, London, Singapore — with no band. The onshore market also closes for mainland public holidays, such as Lunar New Year and the early-October National Day week, while CNH keeps trading. So this file has rows on days when there is no CNY fixing. If you join it against an onshore series or the fixing, expect empty values on those days. Do not forward-fill them: forward-filling turns a real CNH–CNY gap into a fake zero spread.

USD/CNH CSV — what the columns are

Candle files are timestamp,open,high,low,close,volume with UTC timestamps; the volume is the source's own quote volume, not a market-wide traded figure, because offshore yuan has no central exchange. Keep prices as floats and do not round on import. A managed currency's normal daily range is small, so the precision you would drop is a large share of a typical day's move.

Is USD/CNH historical data free?

The app is a free download and the data comes straight from Dukascopy Bank SA to your disk, never through our servers. Every licence, including the €9 entry tier, reaches the whole USD/CNH archive at every timeframe — tiers differ by software features, never by history.

What's inside the USD/CNH file

timestamp,open,high,low,close,volume

One row per candle, stamped with the bar's opening time; tick files instead carry timestamp,askPrice,bidPrice,askVolume,bidVolume on every quote — ask first. Timestamps are epoch milliseconds in UTC, which pd.to_datetime(df.timestamp, unit="ms", utc=True) or =A2/86400000+DATE(1970,1,1) turns into a date. Worked examples and import steps are in the CSV & JSON format guide.

About US Dollar vs Offshore Chinese Renminbi

US Dollar vs Offshore Chinese Renminbi (USD/CNH) is a spot forex pair with 14 years of retrievable history. It is commonly used for backtesting forex trading strategies and expert advisors (EAs), spread and volatility analysis, training algorithmic and machine-learning models, and charting currency-pair history. Pick any date range from 2012-01-02 onward, choose a timeframe and the bid or ask side, and the app fetches and writes the files locally — no scripting.

Frequently asked questions

How far back does USD/CNH data go?
USD/CNH history runs from 2012-01-02 — roughly 14 years — up to the last completed trading day, at every timeframe from raw ticks to monthly candles. Every licence tier reaches all of it.
How large is a full USD/CNH download?
The complete USD/CNH 1-minute history is roughly 5.2M rows, about 260 MB as CSV. Daily candles over the same instrument are far smaller — around 3,700 rows, 187 KB. Tick and 1-second runs are larger again and are queued and resumable rather than fetched in one pass. Sizes are approximate; nothing is priced by volume.
What columns are in the USD/CNH CSV file?
OHLC files contain a timestamp plus open, high, low and close columns (with volume); tick files contain a timestamp with bid and ask prices. All timestamps are UTC. The files import directly into Excel, Google Sheets, Python (pandas read_csv), R, MetaTrader, NinjaTrader and TradingView.
Do you sell USD/CNH data?
No — we sell software. The MarketData Hub client retrieves US Dollar vs Offshore Chinese Renminbi (USD/CNH) on your own machine, under your instruction, directly from the source; we never host, cache or relay it. Your use of the retrieved data is subject to the source's terms.

Guides

Related Forex Crosses

Preview your USD/CNH download — pick a range, see the exact file →

Sizing it up rather than fetching it? Estimate USD/CNH rows and CSV size for any date range.

The preview runs in the browser; the download runs in the free desktop app, on your machine.