본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트37k · #7504

commodity-analysis

하는 일

이 스킬은 원유, 금, 구리 같은 원자재를 여러 측면에서 분석하도록 에이전트를 돕습니다. 원자재 시장을 체계적으로 보려는 투자자와 분석가를 위한 스킬입니다.

사용하는 경우

  • ✓원유의 수요와 공급 균형을 알고 싶을 때.
  • ✓경제 상황에 따라 금이나 구리 가격이 어떻게 움직일지 분석하고 싶을 때.
  • ✓선물 구조, 재고 주기 또는 계절성 패턴을 확인하고 싶은 경우.

스킬 링크

https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/commodity-analysis/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/commodity-analysis/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“원유 시장을 공급, 수요, 재고 데이터로 분석해 주시고, 방향성 관점과 그 관점을 바꿀 수 있는 요인을 알려 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 공급 측과 수요 측 지표, 가격 결정 요인, 재고 주기, 선물 곡선의 모양을 살펴봅니다. 그다음 이를 백테스팅 도구로 검증할 수 있는 방향성 관점으로 정리합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Commodity Analysis

Overview

Analyze commodities from four dimensions — supply-demand balance, pricing model, inventory cycle, and futures structure — and output directional signals suitable for backtesting. Focuses on crude oil (global pricing anchor), gold (safe haven + inflation hedge), and copper (economic barometer).

Core Concepts

1. Crude Oil Supply-Demand Balance

Key supply-side variables:

Variable Data Source Frequency Direction of Impact
OPEC production OPEC monthly report Monthly Production cuts → oil price ↑
US shale output EIA weekly report Weekly Higher output → oil price ↓
Rig count (Baker Hughes) Baker Hughes Weekly Leads production by 3-6 months
Strategic Petroleum Reserve (SPR) EIA Weekly SPR release → short-term oil price ↓

Key demand-side variables:

  • IEA global oil demand forecast (quarterly)
  • China crude imports (customs monthly data)
  • US gasoline demand (EIA weekly report, implied demand)
  • Global PMI (leads demand by 1-2 months)

Supply-demand balance signals:

# Simplified supply-demand judgment
if opec_compliance > 90% and us_rig_count_declining:
    supply_signal = "tight"  # bullish for oil
elif opec_compliance < 80% and us_production_rising:
    supply_signal = "loose"  # bearish for oil

if global_pmi > 50 and china_import_yoy > 5%:
    demand_signal = "strong"  # bullish for oil
elif global_pmi < 48 and china_import_yoy < 0:
    demand_signal = "weak"    # bearish for oil

2. Gold Pricing Framework

Four-factor model:

Factor Weight Logic Indicator
Real rates 40% Real rates ↓ → lower opportunity cost of holding gold → gold ↑ 10Y TIPS yield
US dollar index 25% USD ↓ → gold becomes cheaper in pricing terms → gold ↑ DXY
Safe-haven demand 20% Risk ↑ → safe-haven buying → gold ↑ VIX + geopolitical risk index
Central-bank buying 15% Central-bank purchases → structural demand support WGC quarterly report

Practical rules:

  • 10Y TIPS < 0%: strong support for gold (negative real rates mean negative holding cost)
  • 10Y TIPS > 2%: pressure on gold (positive real rates reduce attractiveness)
  • Correlation between DXY and gold is around -0.6, but not absolute (they both rose in 2022 due to safe-haven demand)
  • Central-bank purchases >1000 tons / year (2022-2023 level): long-term structural bullish support

3. Dr. Copper as an Economic Predictor

Copper as a leading indicator:

  • YoY copper-price change leads industrial production by about 2-3 months
  • Copper / gold ratio is highly positively correlated with the US 10Y Treasury yield (r > 0.7)
  • Copper breakout above the prior high confirms economic recovery

Copper fundamental tracking:

Indicator Data Source Threshold
LME copper inventory LME daily report <150k tons = tight
SHFE copper inventory SHFE weekly report WoW decline >10% = tight
Copper concentrate TC/RC SMM TC < $30/ton = tight mining supply
China copper imports Customs monthly report YoY growth >10% = strong demand

4. Inventory Cycle Analysis

Visible inventory vs hidden inventory:

  • Visible inventory: published by exchanges (LME / SHFE / COMEX), transparent and trackable
  • Hidden inventory: bonded areas / trader warehouses, opaque but potentially larger
  • The true turning point in prices is the turning point in total inventory

Four inventory-cycle stages (using copper as example):

Active restocking (price↑ volume↑) -> Passive restocking (price↓ volume↑) -> Active destocking (price↓ volume↓) -> Passive destocking (price↑ volume↓)
      mid bull market                 late bull market                 mid bear market                 late bear / early bull market

Signal mapping:

Stage Inventory Direction Price Direction Trading Signal
Passive destocking ↓ ↑ Long (best buying point)
Active restocking ↑ ↑ Keep long positions
Passive restocking ↑ ↓ Close longs (warning)
Active destocking ↓ ↓ Short or stay neutral

5. Futures Premium / Discount Structure

Contango (futures > spot, normal market):

  • Supply is abundant, and the market prices in carrying costs (storage + funding)
  • Roll yield is negative (roll yield < 0), unfavorable for long holders
  • Deep contango (`far month
자주 묻는 질문

어떤 원자재에 초점을 맞추나요?

세계 가격의 기준이 되는 원유, 안전자산이자 인플레이션 헤지인 금, 경기 지표 역할을 하는 구리에 초점을 맞춥니다.

방향을 보장해 주나요?

아닙니다. 결과는 방향성 관점이므로 사용하기 전에 검증하고 검토해야 합니다.

데이터는 어디에서 오나요?

정부와 업계가 발표하는 공개 보고서에서 가져오며, 에이전트가 직접 찾아봅니다.

상세 정보

작성자의 원본 설명

Commodity analysis (oil supply-demand balance / gold pricing / copper as an economic predictor / inventory cycles / futures premium-discount structure / seasonality), generating directional commodity signals.

repo: HKUDS/Vibe-Trading

인기도

GitHub 스타
37k
순위
#7504
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬