MarketData Hub Download · All markets · Guides

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

SymbolCOTTONCMDUSX
InstrumentCotton
Asset classCommodities – Agriculture
History available from2017-10-20
TimeframesTick → 1s → 1m → 5m → 15m → 30m → 1h → 4h → Daily → Monthly
Price typesBid & Ask
File formatsCSV, JSON (MetaTrader, NinjaTrader, Parquet & SQLite/DuckDB from the Pro licence)
Coverage2017-10-20 → 2026-08-01 (last completed trading day)
RetrievalLocal — your machine connects directly to Dukascopy Bank SA
Runs onWindows, macOS, Linux

Cotton timeframes the app supports

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:

TimeframeHistory fromApprox. rowsApprox. CSV
Tick (every quote)2017-10-20very large
1 second2017-10-20very large
1 minute2017-10-20~3.2M~159 MB
5 minutes2017-10-20~637K~32 MB
15 minutes2017-10-20~212K~11 MB
30 minutes2017-10-20~106K~5 MB
1 hour2017-10-20~53,100~3 MB
4 hours2017-10-20~13,300~664 KB
Daily2017-10-20~2,200~111 KB
Monthly2017-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

Related Commodities – Agriculture