XAG/MXN Historical Data Downloader
A desktop app that downloads Silver vs Mexican Peso (XAG/MXN) price history on your own machine, written straight to your disk as CSV or JSON. Daily and monthly XAG/MXN candles reach back to 1990-11-07 — around 36 years — while quote-level tick history begins 2011-09-19. A complete XAG/MXN 1-minute series is roughly 5.4M rows, about 270 MB as CSV.
Preview a XAG/MXN download →Windows, macOS, Linux · €5.60 one-time for the entry licence · get the app
What the app fetches for XAG/MXN
| Symbol | XAG/MXN |
|---|---|
| Instrument | Silver vs Mexican Peso |
| Asset class | Forex Metals |
| Tick & 1-second data from | 2011-09-19 |
| 1–30 minute candles from | 2011-09-19 |
| Hourly & 4-hour candles from | 2011-09-18 |
| Daily & monthly candles from | 1990-11-07 |
| Timeframes | Tick → 1s → 1m → 5m → 15m → 30m → 1h → 4h → Daily → Monthly |
| Price types | Bid & Ask (with volume) |
| File formats | CSV, JSON (MetaTrader, NinjaTrader, Parquet & SQLite/DuckDB from the Pro licence) |
| Coverage | 1990-11-07 → 2026-08-01 (last completed trading day) |
| Retrieval | Local — your machine connects directly to Dukascopy Bank SA |
| Runs on | Windows, macOS, Linux |
XAG/MXN timeframes the app supports
- Tick (every quote)
- 1 second
- 1 minute
- 5 minutes
- 15 minutes
- 30 minutes
- 1 hour
- 4 hours
- Daily
- Monthly
XAG/MXN coverage & file size, timeframe by timeframe
XAG/MXN does not start at the same date at every granularity: daily candles begin 1990-11-07, 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-08-01:
| Timeframe | History from | Approx. rows | Approx. CSV |
|---|---|---|---|
| Tick (every quote) | 2011-09-19 | very large | — |
| 1 second | 2011-09-19 | very large | — |
| 1 minute | 2011-09-19 | ~5.4M | ~270 MB |
| 5 minutes | 2011-09-19 | ~1.1M | ~54 MB |
| 15 minutes | 2011-09-19 | ~360K | ~18 MB |
| 30 minutes | 2011-09-19 | ~180K | ~9 MB |
| 1 hour | 2011-09-18 | ~89,900 | ~4 MB |
| 4 hours | 2011-09-18 | ~22,500 | ~1 MB |
| Daily | 1990-11-07 | ~9,000 | ~450 KB |
| Monthly | 1990-11-07 | ~430 | ~21 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.
Working with the XAG/MXN series
Mexico is the world's largest silver producer, which gives this cross a rare property: both legs respond to the same commodity, from opposite sides. Silver strength that coincides with peso strength (mining-export tailwind) partially cancels in the cross. It is a niche series for studying that interaction — for plain silver exposure, XAG/USD is cleaner. Daily history from 1990 includes the 1994-95 peso crisis, where the currency leg utterly dominated.
What's inside the XAG/MXN 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 Mexican Peso
Silver vs Mexican Peso (XAG/MXN) 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-11-07 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/MXN data go?
- XAG/MXN daily and monthly candles reach back to 1990-11-07 — 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/MXN tick data start later than its daily candles?
- Because they come from different parts of the archive. Daily and monthly XAG/MXN candles are reconstructed from long-run end-of-day records going back to 1990-11-07, 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/MXN start date available.
- How large is a full XAG/MXN download?
- The complete XAG/MXN 1-minute history is roughly 5.4M rows, about 270 MB as CSV. Daily candles over the same instrument are far smaller — around 9,000 rows, 450 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/MXN 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/MXN data?
- No — we sell software. The MarketData Hub client retrieves Silver vs Mexican Peso (XAG/MXN) 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
- Get the app — Windows, macOS, Linux
- How to download historical forex data
- CSV & JSON format — columns explained
- Tick data vs OHLC candles
- Backtesting with historical data
Related Forex Metals
- XAG/USD — Spot Silver
- XAU/USD — Spot Gold
- XAG/EUR — Silver vs Euro
- XAG/GBP — Silver vs Pound Sterling
- XAG/AUD — Silver vs Australian Dollar
- XAU/CHF — Gold vs Swiss Franc
- XAU/EUR — Gold vs Euro
- XAU/GBP — Gold vs Pound Sterling
- XAG/HKD — Silver vs Hong Kong Dollar
- XAG/NZD — Silver vs New Zealand Dollar
- XAG/DKK — Silver vs Danish Krone
- XAG/SEK — Silver vs Swedish Krona