Cotton Historical Data Downloader
A desktop app that downloads Cotton (COTTONCMDUSX) price history on your own machine, written straight to your disk as CSV or JSON. History runs from 2017-10-20 — around 9 years — at every timeframe from raw ticks to monthly candles. A complete Cotton 1-minute series is roughly 3.2M rows, about 159 MB as CSV.
Preview a Cotton download →Windows, macOS, Linux · €5.60 one-time for the entry licence · get the app
What the app fetches for Cotton
| Symbol | COTTONCMDUSX |
|---|---|
| Instrument | Cotton |
| Asset class | Commodities – Agriculture |
| History available from | 2017-10-20 |
| Timeframes | Tick → 1s → 1m → 5m → 15m → 30m → 1h → 4h → Daily → Monthly |
| Price types | Bid & Ask |
| File formats | CSV, JSON (MetaTrader, NinjaTrader, Parquet & SQLite/DuckDB from the Pro licence) |
| Coverage | 2017-10-20 → 2026-08-01 (last completed trading day) |
| Retrieval | Local — your machine connects directly to Dukascopy Bank SA |
| Runs on | Windows, macOS, Linux |
Cotton timeframes the app supports
- Tick (every quote)
- 1 second
- 1 minute
- 5 minutes
- 15 minutes
- 30 minutes
- 1 hour
- 4 hours
- Daily
- Monthly
Cotton coverage & file size, timeframe by timeframe
Every Cotton timeframe shares the same 2017-10-20 start date, but not the same scale — coarser candles stay small while tick and intraday files grow fast. Current through 2026-08-01:
| Timeframe | History from | Approx. rows | Approx. CSV |
|---|---|---|---|
| Tick (every quote) | 2017-10-20 | very large | — |
| 1 second | 2017-10-20 | very large | — |
| 1 minute | 2017-10-20 | ~3.2M | ~159 MB |
| 5 minutes | 2017-10-20 | ~637K | ~32 MB |
| 15 minutes | 2017-10-20 | ~212K | ~11 MB |
| 30 minutes | 2017-10-20 | ~106K | ~5 MB |
| 1 hour | 2017-10-20 | ~53,100 | ~3 MB |
| 4 hours | 2017-10-20 | ~13,300 | ~664 KB |
| Daily | 2017-10-20 | ~2,200 | ~111 KB |
| Monthly | 2017-10-20 | ~110 | ~5 KB |
Counts are approximate, derived from commodity 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 Cotton series
Cotton is quoted in US cents per pound (the USX suffix), and its modern reference event is the 2022 round trip — a spike above $1.50/lb that then roughly halved within months as demand destruction set in. The series starts 2017. Cotton's fundamentals are crop-cycle seasonal and China-demand-driven; a model that treats it like a financial asset rather than an agricultural one will misread both the seasonality and the tails.
What's inside the Cotton file
timestamp,open,high,low,close
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 Cotton
Cotton (COTTONCMDUSX) is a commodity CFD with 9 years of retrievable history. It is commonly used for backtesting commodity and futures strategies, seasonality and volatility studies, hedging research and quantitative model training. Pick any date range from 2017-10-20 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 Cotton data go?
- Cotton history runs from 2017-10-20 — roughly 9 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 Cotton download?
- The complete Cotton 1-minute history is roughly 3.2M rows, about 159 MB as CSV. Daily candles over the same instrument are far smaller — around 2,200 rows, 111 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 Cotton CSV file?
- OHLC files contain a timestamp plus open, high, low and close columns; 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 Cotton data?
- No — we sell software. The MarketData Hub client retrieves Cotton (COTTONCMDUSX) 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 commodity data
- CSV & JSON format — columns explained
- Tick data vs OHLC candles
- Backtesting with historical data