analyze-copper-inventory-rebuild-signal
CommunityTurn copper signals into short-term warnings.
Authorfatfingererr
Version1.0.0
Installs0
System Documentation
What problem does it solve?
This skill analyzes SHFE inventory rebound speed and COMEX inventory levels to generate short-term copper signals while providing a long-term price percentile view, helping traders evaluate risk and timing.
Core Features & Use Cases
- Dual-source signal framework: combines SHFE rebound z-scores with COMEX validation to generate near-term signals.
- Long-term valuation view: computes 10-year price percentile to assess whether copper is cheap, fair, or rich.
- Automated data pipeline: fetches SHFE/COMEX stocks via MacroMicro CDP and copper futures via Yahoo Finance, caches data, and outputs markdown/JSON reports.
- Use Case: A trader runs weekly checks to decide if market is read for caution or potential upside.
Quick Start
- Install Python 3.9+ and required packages: pandas, numpy, requests, websocket-client, yfinance, matplotlib.
- Run data fetch: cd skills/analyze-copper-inventory-rebuild-signal/scripts; python fetch_copper_data.py.
- Run quick analysis: python inventory_signal_analyzer.py --quick.
- Generate visualization: python visualize_inventory_signal.py.
- Review outputs in the output/ directory and cache/.
Dependency Matrix
Required Modules
pandasnumpyrequestswebsocket-clientyfinancematplotlib
Components
scriptsreferences
💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: analyze-copper-inventory-rebuild-signal Download link: https://github.com/fatfingererr/macro-skills/archive/main.zip#analyze-copper-inventory-rebuild-signal Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.