analyze-copper-stock-resilience-dependency

Analyze copper price dynamics and stock-market resilience for breakout or backfill probability.

3|1|Updated Jan 12, 2026
One-click install
npx skills add https://github.com/fatfingererr/macro-skills --skill analyze-copper-stock-resilience-dependency
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: analyze-copper-stock-resilience-dependency
Source: https://github.com/fatfingererr/macro-skills/tree/main/skills/analyze-copper-stock-resilience-dependency
Command: npx skills add https://github.com/fatfingererr/macro-skills --skill analyze-copper-stock-resilience-dependency

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires pandas, numpy, yfinance, scipy, statsmodels, matplotlib, selenium, webdriver-manager, bs4, lxml, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill analyzes cross-asset signals to determine if copper can break major levels or revert to support, reducing guessing and enabling informed timing decisions.

Core Features & Use Cases

  • Cross-asset breakout analysis: integrates copper price, global stock-market resilience, and China 10Y yield to assess breakout probability.
  • Risk framing & alerts: outputs scenario narratives, resilience scores, rolling beta values, and actionable flags.
  • Use Case: a portfolio risk manager wants to know whether copper is likely to sustain a breakout when global markets are strong.

Quick Start

Run the quick analysis to fetch data and produce a JSON report and charts.

Frequently Asked Questions about analyze-copper-stock-resilience-dependency

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I analyze copper price resilience against global stock market trends?

To analyze copper price resilience, calculate equity resilience scores and rolling beta coefficients against stock market trends. This Skill computes SMA trends and cross-asset signals using pandas and yfinance to quantify breakout probability.

What is the best way to calculate backfill probability for copper on a monthly horizon?

Calculating copper backfill probability requires integrating copper price dynamics with global stock-market resilience and China 10Y yield. This Skill uses statsmodels and scipy to output scenario narratives and actionable risk flags for monthly horizons.

Can I use yfinance and statsmodels for cross-asset breakout analysis on copper?

Yes, you can use yfinance and statsmodels for cross-asset breakout analysis. This Skill fetches copper price and global market data with yfinance, then applies statsmodels to compute rolling beta values and resilience scores for breakout risk framing.

Does this copper resilience analysis output JSON reports and visualizations?

Yes, copper resilience analysis outputs JSON reports and visualizations. Using matplotlib and pandas, the Skill generates charts alongside a JSON report containing backfill probabilities, resilience scores, and scenario narratives for portfolio risk managers.

How do rolling beta coefficients help gauge copper breakout risk?

Rolling beta coefficients measure copper's sensitivity to global stock-market resilience over time. By tracking these coefficients alongside SMA trends, the Skill quantifies whether copper is likely to break major levels or revert to support.

What limitations should I expect when analyzing copper dependency with web scraping dependencies?

When analyzing copper dependency, web scraping via selenium and bs4 may face rate limits or site structure changes affecting data retrieval. The core analysis relies on yfinance for price data, while scraping supplements cross-asset signals like China 10Y yield.