Skip to main content
Skip to main content

Macro Bundle — Treasury Yields, Forex, Commodities, Economic Indicators

DatasetCSV.GZOpenMacroTreasuriesForexCommoditiesEconomic IndicatorsRatesFree

Four-file macro toolkit covering: (1) Treasury Yields: full daily yield curve since 1990 — 12 maturities (1mo through 30y) for 63 trading days. (2) Economic Indicators: 113 rows across 15 series (GDP, CPI, inflation rate, unemployment, federal funds, consumer sentiment, retail sales, industrial production, mortgage rates, jobless claims, nonfarm payrolls, durable goods, recession probabilities) since 1990 in long format. (3) Commodities OHLCV: 192,095 daily bars across 40 commodity contracts (E-Mini S&P, gold, oil, natural gas, grains, metals, etc.) 2006-present. (4) Forex OHLCV: 140,000 daily bars across 28 major + minor currency pairs (EURUSD, USDJPY, GBPUSD, AUDJPY, …) 2006-present. Read each with pandas.read_csv(path, compression='gzip', parse_dates=['date']). Pair with the equity/crypto/fundamentals listings to build risk-on/risk-off regime models, macro-overlay strategies, currency-hedged backtests, or commodity-aware sector rotation.

Use Cases

  • Risk-on / risk-off regime detection (rates + FX + commodities together)
  • Term-structure / yield-curve research and recession indicators
  • Currency-hedged equity backtests (overlay forex on stock returns)
  • Commodity-aware sector rotation (energy/materials cycles vs WTI / gold)
  • Macro nowcasting models combining hard data (CPI, NFP) with market data

Methodology

Treasury yields: single FMP /treasury-rates call with from=1990-01-01. Economic indicators: 15 separate /economic-indicators?name=… calls with full date range. Commodities: every contract from /commodities-list (40), one OHLCV call each from /historical-price-eod/full 2006-present. Forex: 28 hand-picked major + minor pairs, one OHLCV call each.

Update Schedule

Static snapshot. Refresh quarterly if you need recent macro prints.

Attribution

Source: Federal Reserve, BLS, BEA, ICE, CME, OANDA via Financial Modeling Prep.

Schema

nametype
datedate
month1..year30number

Sample Data

dateyear1year2year3year5year7month1month2month3month6year10year20year30
2026-09-024.164.394.454.544.663.833.893.9244.795.275.27
2026-09-034.114.344.414.524.633.833.913.893.954.775.255.25
2026-09-044.134.374.454.544.653.793.93.913.984.785.255.24

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 'Macro Bundle — Treasury Yields, Forex, Commodities, Economic Indicators' 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 'Macro Bundle — Treasury Yields, Forex, Commodities, Economic Indicators' 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 Range1990-01-012026-09-05
Rows332,271
Size4.8 MB
Files4
FormatCSV.GZ

Available formats

CSV.GZ4 files · 4.8 MB
Freeopen