commodity-analysis
यह क्या करती है
यह स्किल एजेंट को कच्चे तेल, सोने और तांबे जैसी कमोडिटी का कई नज़रियों से विश्लेषण करने में मदद करती है। यह निवेशकों और विश्लेषकों के लिए है जिन्हें कमोडिटी बाज़ारों का व्यवस्थित दृष्टिकोण चाहिए।
कब इस्तेमाल करें
- ✓जब आप कच्चे तेल के लिए आपूर्ति और माँग का संतुलन समझना चाहें।
- ✓जब आप आर्थिक हालात में सोने या तांबे की चाल का अनुमान विश्लेषण करना चाहें।
- ✓जब आप फ़्यूचर्स संरचना, इन्वेंटरी चक्र या मौसमी पैटर्न जाँचना चाहें।
Skill का लिंक
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/commodity-analysis/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“आपूर्ति, माँग और इन्वेंटरी डेटा से कच्चे तेल बाज़ार का विश्लेषण कीजिए, और बताइए कि दिशा का नज़रिया क्या है और उसे क्या बदल सकता है।”
हर हफ़्ते 5 नई skills, 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
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
vibe-trading
37kयह आपके एजेंट को वित्त शोध का पूरा टूलकिट देती है, जिसमें बैकटेस्ट, फ़ैक्टर एनालिसिस, ऑप्शन प्राइसिंग और कई बाज़ारों का डेटा शामिल है।
adr-hshare
37kयह आपके एजेंट को दिखाती है कि कई बाज़ारों में लिस्टेड एक चीनी कंपनी के भाव की तुलना कैसे करें, जैसे अमेरिकी ADR और हॉन्गकॉन्ग शेयर।
akshare
37kयह आपके एजेंट को चीनी और वैश्विक शेयरों, फ़्यूचर्स, फ़ॉरेक्स और आर्थिक संकेतकों का मुफ़्त बाज़ार डेटा लेने देती है, बिना API key के।
alpha-zoo
37kयह आपके एजेंट को बने-बनाए स्टॉक फ़ैक्टरों की लाइब्रेरी देखने और चुने हुए बाज़ार पर उनके पूरे समूह के रिटर्न की भविष्यवाणी की क्षमता जाँचने देती है।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।