track-equity-cumulative-return

Community

Track stock cumulative returns against the benchmark.

Authorfatfingererr
Version1.0.0
Installs0

System Documentation

What problem does it solve?

This Skill computes and compares cumulative returns for multiple stocks and index components against a fixed benchmark (S&P 500) to reveal outperformance, trend strength, and relative strength over time. It simplifies multi-ticker analysis, benchmark comparisons, and generates visualizations and structured outputs for reporting and decision-making.

Core Features & Use Cases

  • Multi-ticker comparison: analyze several stocks in parallel to rank performance.
  • Index Top-N analysis: identify top constituents within index components (e.g., Nasdaq 100) for a given year or year-to-today period.
  • Benchmark integration: always compare against S&P 500 to assess alpha relative to the market.
  • Visual & JSON outputs: produce charts and JSON reports suitable for dashboards and sharing.

Quick Start

  • python cumulative_return_analyzer.py --ticker NVDA --year 2022
  • python cumulative_return_analyzer.py --ticker NVDA AMD GOOGL --year 2022
  • python index_component_analyzer.py --index nasdaq100 --year 2022 --top 10
  • python visualize_cumulative.py --mode top20 --index nasdaq100 --year 2022

Dependency Matrix

Required Modules

pandasnumpyyfinancematplotlib

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: track-equity-cumulative-return
Download link: https://github.com/fatfingererr/macro-skills/archive/main.zip#track-equity-cumulative-return

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 223,000+ vetted skills library on demand.