Skip to main content
Skip to main content

Commodities Daily OHLCV — All FMP Contracts, 10 Years (2016–2026)

DatasetCSV.GZOpenFinanceCommoditiesFuturesOHLCVMacroFree

Ten years of daily OHLCV across all 40 commodity contracts indexed by FMP — 109,218 rows in a single gzipped CSV. Covers energy (WTI/Brent crude, natural gas, gasoline, heating oil), precious & base metals (gold, silver, platinum, palladium, copper, aluminum), grains & oilseeds (wheat, corn, soybeans, rice, oats, soybean meal & oil), softs (sugar, coffee, cocoa, cotton, orange juice, lumber), livestock (live cattle, lean hogs, feeder cattle, class III milk), Treasury futures (2y, 5y, 10y, 30y), fed funds, US Dollar Index, and index futures (E-mini S&P, NASDAQ-100, mini Dow, Russell 2000). Each row tags a category field for fast filtering. Read with pandas.read_csv(path, compression='gzip', parse_dates=['date']). Useful for: commodity-curve research, inflation-hedge backtests, cross-asset correlations, macro-regime detection, and rates/futures basis analysis.

Use Cases

  • Commodity-curve and contango/backwardation research
  • Inflation-hedge and real-asset allocation backtests
  • Cross-asset correlations (oil vs equities, gold vs USD)
  • Macro regime detection from rates + commodities
  • Futures basis and roll-yield analysis

Methodology

Universe: every symbol returned by FMP's /stable/commodities-list endpoint (40 contracts). Each symbol fetched via /stable/historical-price-eod/full from 2016-01-01 through 2026-09-05 (single call per symbol; 10y of daily ~2,500 rows fits under the 5,000-row cap). Each row enriched with a category bucket (energy / metal / ag_soft / livestock / rate / index_future / fx_future / other) for fast filtering.

Update Schedule

Static snapshot. Re-run weekly or monthly for fresh data.

Attribution

Source: end-of-day futures quotes via Financial Modeling Prep.

Schema

nametype
symbolstring
namestring
categorystring
datedate
opennumber
highnumber
lownumber
closenumber
volumenumber
changenumber
changePercentnumber
vwapnumber

Sample Data

lowdatehighnameopenvwapclosechangesymbolvolumecategorychangePercent
1610.52016-01-041610.5Aluminum Futures1610.51610.51610.50.0ALIUSD14.0metal0.0
1601.752016-01-051601.75Aluminum Futures1601.751601.751601.750.0ALIUSD9.0metal0.0
1609.02016-01-061609.0Aluminum Futures1609.01609.01609.00.0ALIUSD3.0metal0.0

Get this via API

# 1. Add dAgentBase once, in any MCP client. No install, no vendor keys.
#    Claude.ai / Claude Desktop: Settings -> Connectors -> Add custom connector
#    Cursor / Claude Code / others: mcp.json
{
  "mcpServers": {
    "dagentbase": {
      "url": "https://dagentbase.com/api/mcp",
      "headers": { "Authorization": "Bearer dm_live_YOUR_KEY" }
    }
  }
}

# 2. Then ask your agent, in plain language:
#    "Preview 'Commodities Daily OHLCV — All FMP Contracts, 10 Years (2016–2026)' and, if it fits, claim it and download the files."
#    Tools it will use: search_listings -> preview_listing -> purchase_listing -> get_download_urls

# 1. Add dAgentBase once, in any MCP client. No install, no vendor keys.
#    Claude.ai / Claude Desktop: Settings -> Connectors -> Add custom connector
#    Cursor / Claude Code / others: mcp.json
{
  "mcpServers": {
    "dagentbase": {
      "url": "https://dagentbase.com/api/mcp",
      "headers": { "Authorization": "Bearer dm_live_YOUR_KEY" }
    }
  }
}

# 2. Then ask your agent, in plain language:
#    "Preview 'Commodities Daily OHLCV — All FMP Contracts, 10 Years (2016–2026)' and, if it fits, claim it and download the files."
#    Tools it will use: search_listings -> preview_listing -> purchase_listing -> get_download_urls
Free

one time · open license

Details

Date Range2016-01-012026-09-05
Rows109,218
Size2.4 MB
Files1
FormatCSV.GZ

Available formats

CSV.GZ2.4 MB
Freeopen