当前位置: 首页 > Skill >

commodity-macro-signal

commodity-macro-signal

commodity-macro-signal

分析能源、金属和农产品市场以及宏观指标,以生成跨资产宏观信号。

1.0.1 2026.11.26 930
获取Skill文件查看使用说明
作 者:江舟 许可证: 更新时间:2026.11.26
本文目录展开

Commodity Macro Signal

Analyze global commodity markets to extract macro signals for inflation, growth, and supply chain dynamics using free-tier Finskills API data. Covers energy (crude oil, natural gas), precious metals (gold, silver), industrial metals (copper), agricultural products, and FRED/IMF commodity indices — then synthesizes investment implications across asset classes.

Setup

API Key required — Register at https://finskills.net to get your free key.
Header: X-API-Key: <your_api_key>

Get your API key: Register at https://finskills.net — free tier available, Pro plan unlocks real-time quotes, history, and financials.

When to Activate This Skill

Activate when the user:

  • Asks about oil, gold, copper, natural gas, silver, or agricultural commodity prices
  • Wants to understand what rising/falling commodity prices mean for markets
  • Asks "is this inflationary or deflationary?"
  • Wants a commodity-driven macro analysis
  • Asks about Dr. Copper, gold/silver ratio, oil equity ratio
  • Wants to know how commodities affect specific sectors (energy, materials, airlines, etc.)

Data Retrieval — Finskills API Calls

1. All Commodity Spot Prices (Snapshot)

GET https://finskills.net/v1/free/commodity/prices

Extract the full commodity price dashboard:

  • Energy: crude_oil_wti, crude_oil_brent, natural_gas, heating_oil, gasoline
  • Metals: gold, silver, platinum, copper, aluminum, iron_ore
  • Agricultural: corn, wheat, soybeans, coffee, cotton, sugar

2. Individual Commodity History (for trend analysis)

For key commodities, fetch 1-year daily history:

GET https://finskills.net/v1/free/commodity/history/{symbol}

Target symbols: WTI (crude oil), gold, copper, natgas, wheat
Extract: date, price, change

3. FRED Commodity Data Series

GET https://finskills.net/v1/free/commodity/fred

Lists all available FRED commodity series.

GET https://finskills.net/v1/free/commodity/fred/{seriesId}

Key series to pull:

  • DCOILWTICO: WTI Crude Oil Daily Price
  • GOLDAMGBD228NLBM: Gold Price Daily
  • PCOPPUSDM: Copper Price Monthly
  • TERMCBPER24NS: Not applicable — use commodity endpoint instead

4. IMF Commodity Index

GET https://finskills.net/v1/free/commodity/imf

Extract: IMF primary commodity price index (energy, metals, food sub-indices)
Use for: broad commodity cycle positioning (secular bull/bear)

Analysis Workflow

Step 1 — Commodity Price Dashboard

Create a snapshot of all key commodities with direction signals:

For each commodity, classify:

  • Near-term trend (1-month): using price change % from history
  • Medium-term trend (3-month): using price change % from history
  • Annual trend (1-year): YTD change
Direction = {RALLYING ↑ / FALLING ↓ / FLAT ~} based on 1M change

Step 2 — Key Macro Signal Derivation

Oil Price Signal (Economic Activity + Inflation):

  • WTI > $90/bbl: Demand or supply-driven? Check supply context
    • Demand-driven high prices (global growth): Bullish for equities (especially energy, materials)
    • Supply-constriction high prices (OPEC cut): Stagflationary (bad for most assets)
  • WTI $60–$90: Normal regime, not a major headwind
  • WTI < $60: Disinflation signal; positive for airlines, transport, consumer discretionary

Gold Signal (Safe Haven + Real Rate Indicator): Gold is inversely correlated with real interest rates (nominal rate - inflation expectations):

  • Gold rising while rates rising: Unusual strength → fear of financial crisis or dollar weakness
  • Gold rising while rates stable/falling: Real rates falling → inflationary signal
  • Gold falling while rates rising: Normal correlation → risk-on, growth regime

Gold/Silver Ratio:

Gold_Silver_Ratio = gold_price / silver_price
  • Ratio > 80: Economic uncertainty, risk-off (gold outperforms industrial silver)
  • Ratio < 60: Industrial demand strong, economic expansion (silver outperforms)

Copper Signal ("Dr. Copper" — Economic Barometer):

  • Copper rising: Global manufacturing expansion, China construction activity strong
  • Copper falling: Global slowdown signal, watch emerging markets
  • Copper/Gold Ratio: Rising ratio → economic growth; Falling → risk-off
Copper_Gold_Ratio = copper_price (in cents/lb) / gold_price (in $/oz)

When ratio rises: Yields typically follow — confirms growth regime When ratio falls: Deflationary forces at work

Natural Gas Signal (Seasonal + Domestic):

  • Winter: High nat gas = positive for utilities, LNG exporters, coal substitution
  • Summer: High nat gas = heat wave demand; positive for utilities

Agricultural Commodities Signal (Food Inflation):

  • Wheat > $7/bushel: Food inflation pressure, CPI food component rising
  • Corn, Soy: Input cost for livestock, ethanol, food processing

Step 3 — Commodity Cycle Classification

Classify the current phase of the commodity super-cycle:

Phase Characteristics Signal
Early Bull Energy/metals rising from cyclical lows; USD weakening Buy commodities, energy stocks, miners
Middle Bull Broad commodity rally; tight supply; high margins Overweight materials, energy; watch inflation
Late Bull Speculative excess; soft commodities surging Central bank tightening; equities under pressure
Early Bear Commodities peak; demand destruction; rate hike impact Short energy, reduce materials
Middle Bear Broad selloff; energy struggling; metals weak Defensive positioning
Late Bear Commodity lows; capex cuts building future supply deficit Accumulate energy/materials for next cycle

Assign to current phase based on: direction of multiple commodity prices + interest rate environment.

Step 4 — Asset Class Implications Matrix

Based on commodity signals, generate implications for asset classes:

Commodity Signal Asset Class Implication
Oil ↑ (demand) Energy stocks ↑; Airlines ↓; Discretionary ↓; Oil-exporting EM ↑
Oil ↑ (supply cut) All equities ↓; Gold ↑; TIPS ↑; Consumer sentiment ↓
Oil ↓ Airlines ↑; Consumer discretionary ↑; Energy stocks ↓; EM exporters ↓
Gold ↑, Rates ↓ Risk-off; Bonds ↑; USD ↓; Miners ↑
Gold ↓, Rates ↑ Risk-on; Equities ↑; Value > Growth
Copper ↑ Industrials ↑; Emerging markets ↑; Materials ↑
Copper ↓ Global slowdown; Defensive sectors ↑
Broad Agri ↑ CPI food component ↑; Consumer staples mixed; EM stress
Broad Commodity Rally TIPS ↑; Energy ↑; Materials ↑; Value ↑ over Growth
Broad Commodity Decline Equities mixed; Discretionary ↑; Disinflation tailwind

Step 5 — Sector-Level Impact

Map to specific equity sectors:

  • Energy (XLE): Directly correlated with WTI crude
  • Materials (XLB): Copper, aluminum, iron ore, potash
  • Industrials (XLI): Broad commodity demand signal
  • Consumer Staples (XLP): Wheat, corn, sugar as input costs
  • Consumer Discretionary (XLY): Gasoline price as consumer purchasing power headwind
  • Utilities (XLU): Natural gas as fuel input cost
  • Airlines: Jet fuel (kerosene, highly correlated to crude) as major cost
  • Miners/Gold stocks (GDX): Gold and silver price leverage

Output Format

╔══════════════════════════════════════════════════════════════╗
║    COMMODITY MACRO SIGNAL REPORT  —  {DATE}                 ║
╚══════════════════════════════════════════════════════════════╝

🛢️  ENERGY
  WTI Crude Oil:   ${price}/bbl   {+/-}%  1M  {+/-}%  3M  {+/-}%  YTD
  Brent Crude:     ${price}/bbl   {+/-}%  1M
  Natural Gas:     ${price}/MMBtu {+/-}%  1M
  Gasoline:        ${price}/gal   {+/-}%  1M
  Oil Signal:  →  {DEMAND-DRIVEN SURGE / SUPPLY CUT SURGE / NORMAL RANGE / DEFLATIONARY DROP}

🥇 PRECIOUS METALS
  Gold:     ${price}/oz    {+/-}%  1M  {+/-}%  3M  {+/-}%  YTD
  Silver:   ${price}/oz    {+/-}%  1M
  Platinum: ${price}/oz    {+/-}%  1M
  Gold/Silver Ratio: {ratio:.1f}  →  {RISK-OFF / NORMAL / RISK-ON}
  Gold Signal: →  {SAFE HAVEN DEMAND / REAL RATES FALLING / NORMAL}

⚙️  INDUSTRIAL METALS ("Dr. Copper")
  Copper:   ${price}¢/lb   {+/-}%  1M  {+/-}%  3M
  Aluminum: ${price}/ton   {+/-}%  1M
  Iron Ore: ${price}/ton   {+/-}%  1M
  Copper/Gold Ratio: {ratio:.4f}  →  {Growth signal rising / Declining = risk-off}
  Industrial Signal: →  {EXPANSION / SLOWING / CONTRACTION}

🌾 AGRICULTURAL
  Corn:    ${price}/bu     {+/-}%  1M
  Wheat:   ${price}/bu     {+/-}%  1M
  Soybeans:${price}/bu     {+/-}%  1M
  Coffee:  ${price}¢/lb    {+/-}%  1M
  Agri Signal: →  {FOOD INFLATION PRESSURE / STABLE / DEFLATIONARY}

📊 IMF COMMODITY INDICES
  IMF All Commodities:  {index}  {+/-}%  3M
  IMF Energy Sub-Index: {index}  {+/-}%  3M
  IMF Metals Index:     {index}  {+/-}%  3M
  IMF Food Index:       {index}  {+/-}%  3M
  Cycle Phase: →  {EARLY BULL / MIDDLE BULL / LATE BULL / EARLY BEAR / LATE BEAR}

💡 MACRO SYNTHESIS
  Inflationary pressure:   {HIGH / MODERATE / LOW}
  Growth signal:           {EXPANSION / MIXED / CONTRACTION}
  USD implication:         {BEARISH on USD / NEUTRAL / BULLISH on USD}

📈 ASSET CLASS IMPLICATIONS
  OVERWEIGHT:   {asset classes and sectors benefiting from current commodity signals}
  UNDERWEIGHT:  {asset classes hurt by current commodity signals}

  Sector Playbook:
    Energy (XLE):       {↑ Strong tailwind / → Neutral / ↓ Headwind}
    Materials (XLB):    {↑ / → / ↓}
    Industrials (XLI):  {↑ / → / ↓}
    Airlines:           {↑ / → / ↓}
    Consumer:           {↑ / → / ↓}
    Gold Miners (GDX):  {↑ / → / ↓}

🔍 KEY SIGNAL TO WATCH
  {The one commodity ratio or indicator that best captures current macro regime transition,
   and what a move above/below X level would imply for portfolio positioning.}

Limitations

  • Commodity spot prices may lag physical markets by 1 business day.
  • Supply-driven vs. demand-driven price changes require judgment — always consider news context.
  • Agricultural commodity prices are highly seasonal and weather-dependent.
  • The copper/gold ratio as a growth signal works best over multi-month periods, not day-to-day.

推荐文章

更多
PHP时间戳与日期字符串相互转换方法详解

本文介绍PHP中时间数值(Unix时间戳)与日期字符串之间的相互转换方法。通过strtotime和date函数,实现将当前时间、指定日期转换为时间戳,以及将时间戳格式化为可读的日期时间字符串,并提供相关在线计算工具推荐。

2025.11.30 1,034
PHP日期转时间戳时区偏差怎么解决

在 PHP 中将日期字符串转换为时间戳时,若未显式指定时区,默认使用脚本配置的 date.timezone 或系统时区。当服务器时区与业务逻辑预期(如 UTC )不一致时,会产生偏差。解决核心是确保输入字符串携带明确时区信息,或在转换前统一设置时区上下文。

2026.10.24 1,031
PHP跨域配置:怎么安全地允许指定域名而非使用通配符

在 PHP 中安全地允许指定域名跨域,核心是解析请求头中的 Origin ,验证其是否在白名单内,然后动态设置 Access-Control-Allow-Origin 响应头。不要使用通配符 * ,也不要硬编码单一域名。

2025.03.29 1,019
JavaScript中利用replace结合正则实现replaceAll效果

JavaScript原生仅支持replace()进行单次或全局替换,缺乏类似Java的replaceAll()便捷方法。本文总结四种在JS中实现全量替换的方案:使用带g标志的正则、带gm标志的正则、扩展String原型以及split后join。通过对比代码示例,展示各方法的实现细节与适用场景,帮助开发者根据需求选择最优解。

2025.04.29 1,017
OpenAI的Jalapeno芯片未落地,教你分辨300兆瓦算力消息

OpenAI计划在SB Energy租赁的数据中心部署约300兆瓦自研Jalapeno推理芯片,但目前双方仍处于洽谈阶段,交易细节与上线时间表均未公布。本文带你按报道原文核实项目所处阶段,厘清芯片发布、电力功率与实际推理算力的边界,并将融资意向与签约、开工、投运节点分开追踪,避免误将规划容量计入现有算力。

2026.12.02 1,014
PHP实现基础文件上传:HTML表单与$_FILES处理流程

在 HTML 表单中设置 enctype="multipart/form-data" ,并在 PHP 后端通过 $_FILES 数组接收文件,调用 move_uploaded_file() 将临时文件移动到目标目录即可完成上传。

2026.09.07 1,014
Skill 文件
  • SKILL.md
    • Commodity Macro Signal
    • Setup
    • When to Activate This Skill
    • Data Retrieval — Finskills API Calls
      • 1. All Commodity Spot Prices (Snapshot)
      • 2. Individual Commodity History (for trend analysis)
      • 3. FRED Commodity Data Series
      • 4. IMF Commodity Index
    • Analysis Workflow
      • Step 1 — Commodity Price Dashboard
      • Step 2 — Key Macro Signal Derivation
      • Step 3 — Commodity Cycle Classification
      • Step 4 — Asset Class Implications Matrix
      • Step 5 — Sector-Level Impact
    • Output Format
    • Limitations
  • 项目或源文件

相关 Skill

更多
service-qa-coach service-qa-coach Review support quality for chat, email, phone, social DM, or marketplace service teams. Use when a team needs a QA scorecard, failure-mode analysis, coaching plan, calibration checklist, or service-improvement brief without live ticketing, CRM, or contact-center system access.
高中数学作业批改助手 高中数学作业批改助手 >图片识别 直接读取学生手写作答照片,识别公式、符号、步骤 🧮 自动推导 根据题目自动生成参考答案和评分细则,无需教师预设 📊 逐步给分 每个关键步骤独立评分,体现过程分 📝 结构化报告 输出含识别内容、参考答案、逐步评分、改进建议的完整报告 🗂 批量批改 支持一次性批改多道题,最终汇总得分表
Vibration Analysis Vibration Analysis 分析来自CMS趋势、RMS/峰值、频谱及SCADA报警的风机传动链(主轴、齿轮箱、发电机)振动数据。
Traditional Bone Tool Making Basics Traditional Bone Tool Making Basics Use when you need custom, durable, repairable tools like awls, needles, scrapers, harpoons, or fishing hooks made from local animal bones or antlers and comm...
音频混音工具 音频混音工具 名称:Sound Mixing Tool(标识 sound-mixing-tool) 短简介(≤60字):音乐/音效响度精确对齐 + 融合混音工作流:用 ffmpeg 两段式 loudnorm 把多组素材 LUFS 偏差压到 <0.10,再最小干预融合、导出可进引擎的独立分轨。 标签/关键词:音频混音 响度匹配 LUFS ffmpeg 游戏音频 音效设计 Wwise FMOD 分轨导出 后期处理 触发词:混音 · 响度匹配 · LUFS 对齐 · MIX 版本 · 音乐音效分轨 · 融合 · 不打架 · 不能盖住 适用场景 :游戏音频集成、影视短视频配乐、播客后期