MarketData Hub

XAG/HKD Historical Data Downloader

A desktop app that downloads Silver vs Hong Kong Dollar (XAG/HKD) price history on your own machine, written straight to your disk as CSV or JSON. Daily and monthly XAG/HKD candles reach back to 1990-01-02 — around 36 years — while quote-level tick history begins 2011-09-19. A complete XAG/HKD 1-minute series is roughly 5.4M rows, about 271 MB as CSV.

Preview a XAG/HKD download →

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 XAG/HKD

SymbolXAG/HKD
InstrumentSilver vs Hong Kong Dollar
Asset classForex Metals
Tick & 1-second data from2011-09-19
1–30 minute candles from2011-09-19
Hourly & 4-hour candles from2011-09-18
Daily & monthly candles from1990-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)
Coverage1990-01-02 → 2026-09-17 (last completed trading day)
RetrievalLocal — your machine connects directly to Dukascopy Bank SA
Runs onWindows, macOS, Linux

XAG/HKD timeframes the app supports

XAG/HKD coverage & file size, timeframe by timeframe

XAG/HKD does not start at the same date at every granularity: daily candles begin 1990-01-02, but the tick archive only reaches 2011-09-19, roughly 21 years later. Each row below gives that timeframe's own start date and scale, current through 2026-09-17:

TimeframeHistory fromApprox. rowsApprox. CSV
Tick (every quote)2011-09-19very large
1 second2011-09-19very large
1 minute2011-09-19~5.4M~271 MB
5 minutes2011-09-19~1.1M~54 MB
15 minutes2011-09-19~362K~18 MB
30 minutes2011-09-19~181K~9 MB
1 hour2011-09-18~90,400~5 MB
4 hours2011-09-18~22,600~1 MB
Daily1990-01-02~9,200~462 KB
Monthly1990-01-02~440~22 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 XAG/HKD 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 XAG/HKD series

Silver in Hong Kong dollars is silver in US dollars scaled by the peg — the HKD has been fixed to the USD since 1983 — so this series adds conversion convenience, not information. For analysis, use XAG/USD; use this one only if your books are kept in HKD. Daily data reaches 1990, tick data 2011, the standard metals gap.

What's inside the XAG/HKD file

timestamp,open,high,low,close,volume

One row per candle; tick files instead carry timestamp,bid,ask on every quote. All timestamps are UTC. Worked examples and import steps are in the CSV & JSON format guide.

About Silver vs Hong Kong Dollar

Silver vs Hong Kong Dollar (XAG/HKD) is a spot precious-metals instrument with 36 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 1990-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 XAG/HKD data go?
XAG/HKD daily and monthly candles reach back to 1990-01-02 — roughly 36 years. Tick and intraday history is shorter: it begins 2011-09-19. Both run up to the last completed trading day, and every licence tier reaches all of it.
Why does XAG/HKD tick data start later than its daily candles?
Because they come from different parts of the archive. Daily and monthly XAG/HKD candles are reconstructed from long-run end-of-day records going back to 1990-01-02, while the tick archive — every individual bid/ask quote — only begins 2011-09-19, about 21 years later. If your study needs the full 36-year span, work in daily candles; if it needs quote-level detail, 2011-09-19 is the earliest XAG/HKD start date available.
How large is a full XAG/HKD download?
The complete XAG/HKD 1-minute history is roughly 5.4M rows, about 271 MB as CSV. Daily candles over the same instrument are far smaller — around 9,200 rows, 462 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 XAG/HKD 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 XAG/HKD data?
No — we sell software. The MarketData Hub client retrieves Silver vs Hong Kong Dollar (XAG/HKD) 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 Metals

Preview your XAG/HKD download — pick a range, see the exact file →

Sizing it up rather than fetching it? Estimate XAG/HKD 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.