Skip to content
Finance
Skill

/historyofmarket

History of Market (historyofmarket.com) — API publica con 88 datasets historicos de indices US desde 1871. S&P 500 (price, CAPE, EPS, drawdowns, changes, constituents), Nasdaq Composite/Nasdaq 100 (price, volatility, VXN, changes), Dow Jones, SOX/SMH, sector ETFs (XLK, XLF),

From plugin
skills
25632 skills

Claude Code

$ npx -y skills add gauss314/skills --skill historyofmarket --agent claude-code

SKILL.md

historyofmarket.SKILL.md
name: historyofmarket
description: "History of Market (historyofmarket.com) — API publica con 88 datasets historicos de indices US desde 1871. S&P 500 (price, CAPE, EPS, drawdowns, changes, constituents), Nasdaq Composite/Nasdaq 100 (price, volatility, VXN, changes), Dow Jones, SOX/SMH, sector ETFs (XLK, XLF), Magnificent 7 y macro. Sin API key, CORS libre, CC BY 4.0."
license: MIT

History of Market

Skill para acceder a la API publica **historyofmarket.com** — 88 datasets pre-generados (JSON estatico) sobre la historia de los mercados financieros de EE.UU. desde 1871. Sin API key, sin autenticacion, CORS libre, licencia CC BY 4.0.

Cada dataset es un archivo JSON pre-generado (sin parametros). Cache: `max-age=300` con `stale-while-revalidate=3600`. Soporta ETag.

---

🎯 Que datos cubre

| Categoria | Indices / ETFs | Datos disponibles | |-----------|----------------|-------------------| | **S&P 500** | SPX | Daily desde 1928, CAPE desde 1871, EPS, drawdowns, volatilidad, VIX, constituents, changes, sectors, forward PE, ROE, driver decomp, return details | | **Nasdaq Composite** | COMP | Daily desde 1971 | | **Nasdaq 100** | NDX | Daily desde 1985, constituents, annual returns, drawdowns, VXN, forward PE, driver decomp, rolling 5y, changes | | **QQQ** | QQQ | Return details (price + dividend + buyback) | | **Dow Jones** | DJIA | Daily desde 1914 | | **Philadelphia Semi** | SOX | Daily desde 1994, 30 constituents, SMH holdings, memory valuation, ratios SOX/SPX, ETF compare | | **Sector ETFs** | XLK, XLF | Price, annual returns, drawdowns, volatility, holdings, GICS reclassifications (2018/2023) | | **Mag 7** | AAPL/MSFT/NVDA/GOOGL/AMZN/META/TSLA | Equal-weighted composite, concentration, correlation, AI valuation, AI capex, lineage | | **Macro** | — | AIAE (equity allocation), NBER recessions, yield curve, forward PE by sector |

---

⚡ Singularidades de este skill

1. **CAPE (Shiller PE) desde 1871** — el unico skill del repo con PE10 historico. `references/VALUATION_METRICS.md`

2. **Drawdowns con causa** — cada drawdown incluye el evento que lo desencadeno y dias de recuperacion. `references/DRAWDOWN_VOLATILITY.md`

3. **Driver decomposition** — descompone el retorno anual en rerating (cambio de PE) vs revision (cambio de EPS). `references/VALUATION_METRICS.md`

4. **GICS reclassification** — impacto de los cambios de sector GICS 2018 y 2023 en XLK y XLF. `references/SECTOR_ETFS.md`

5. **Reconstitucion historica** — los scripts permiten reconstruir miembros historicos de S&P 500 y Nasdaq 100 a una fecha dada.

---

🚀 Quick start

# S&P 500 — century closes
curl https://historyofmarket.com/api/sp500/century.json

# Shiller CAPE
curl https://historyofmarket.com/api/sp500/pe.json

# Drawdowns historicos con causa
curl https://historyofmarket.com/api/sp500/drawdowns.json

# Constituyentes actuales S&P 500
curl https://historyofmarket.com/api/sp500/constituents.json

# Cambios historicos S&P 500 (adds/removes)
curl https://historyofmarket.com/api/sp500/changes.json

# Nasdaq 100 constituyentes actuales
curl https://historyofmarket.com/api/nasdaq/100.json

# Mag 7 concentracion en S&P 500
curl https://historyofmarket.com/api/mag7/concentration.json

# NBER recessions
curl https://historyofmarket.com/api/recessions.json

---

📁 File map

skills/historyofmarket/
├── SKILL.md
├── assets/
│   └── endpoints.json        ← snapshot de todos los 88 endpoints
├── references/
│   ├── SP500_METHODOLOGY.md  ← S&P 500: elegibilidad, earnings test, cambios
│   ├── NASDAQ_100_METHODOLOGY.md
│   ├── DRAWDOWN_VOLATILITY.md
│   ├── VALUATION_METRICS.md  ← CAPE, forward PE, driver decomp, ROE
│   ├── SECTOR_ETFS.md        ← XLK, XLF, GICS reclass, holdings
│   ├── MAGNIFICENT7.md       ← Mag 7, concentration, AI capex, lineage
│   └── BROADER_MARKET.md     ← Dow, SOX, recessions, yield curve
└── scripts/
    ├── reconstitute_sp500.py  ← reconstruir miembros S&P 500 a fecha dada
    ├── reconstitute_ndx.py    ← reconstruir miembros NDX a fecha dada
    └── sector_rotation.py     ← rotacion sectorial XLK vs XLF vs SPY

---

📚 Referencias

Para entender la teoria detras de los datos:

| Documento | Contenido | |-----------|-----------| | [`references/SP500_METHODOLOGY.md`](./references/SP500_METHODOLOGY.md) | Elegibilidad, earnings test, market cap minimo, comite de indices, historial de cambios | | [`references/NASDAQ_100_METHODOLOGY.md`](./references/NASDAQ_100_METHODOLOGY.md) | Nasdaq 100 methodology, annual reconstitution, weight caps | | [`references/DRAWDOWN_VOLATILITY.md`](./references/DRAWDOWN_VOLATILITY.md) | Drawdowns, intrayear vs year-end, volatilidad realizada, VIX/VXN | | [`references/VALUATION_METRICS.md`](./references/VALUATION_METRICS.md) | Shiller CAPE, forward PE, trailing PE, EPS, ROE, driver decomp | | [`references/SECTOR_ETFS.md`](./references/SECTOR_ETFS.md) | Sector ETFs XLK/XLF, GICS reclassification 2018/2023, holdings | | [`references/MAGNIFICENT7.md`](./references/MAGNIFICENT7.md) | Mag 7 composite, concentration in SPX, correlation, AI capex, lineage | | [`references/BROADER_MARKET.md`](./references/BROADER_MARKET.md) | Dow Jones, SOX/SMH, NBER recessions, yield curve |

---

🐍 Scripts

| Script | Proposito | Uso | |--------|-----------|-----| | `scripts/reconstitute_sp500.py` | Reconstruir los 500 miembros del S&P 500 en una fecha historica | `py scripts/reconstitute_sp500.py 2020-01-01` | | `scripts/reconstitute_ndx.py` | Reconstruir los 100 miembros del Nasdaq 100 en una fecha historica | `py scripts/reconstitute_ndx.py 2020-01-01` | | `scripts/sector_rotation.py` | Analizar rotacion sectorial: rolling returns, correlacion, drawdowns sincronicos | `py scripts/sector_rotation.py` |

---

🌐 Entry points

| Endpoint | Descripcion | |----------|-------------| | `/api/_manifest.json` | Catalogo completo de los 88 datasets | | `/api/profile.json` | Perfil del sitio para AI agents | | `/api/tools.json` | Lista machi

Read more
@gauss314
Ships withskills

Open-source collection of skills compatible with the SKILL.md standard. Developed for the AI courses at UCEMA.

Stars on GitHub

Momentum

stars in total
256
Star history of gauss314/skills on GitHub, a chart by star-history.com

Other skills on skills.

alpaca-data

alpaca-data

Market Data API de Alpaca: acciones, crypto, opciones. Historical y real-time data para 5000+ stocks.

@gauss314@gauss314Install Skill
alpaca-trading

alpaca-trading

Trading API de Alpaca: órdenes, posiciones, cuenta. Paper trading y live trading de acciones, crypto y opciones.

@gauss314@gauss314Install Skill
alpha-vantage

alpha-vantage

API de datos financieros de EE.UU.: acciones, forex, crypto, indicadores técnicos, fundamental data.

@gauss314@gauss314Install Skill
backtesting

backtesting

Academic backtesting framework for quantitative research. ~30 risk and performance ratios, 10 classes of indicators, event-driven…

@gauss314@gauss314Install Skill
barchart

barchart

Quotes, fundamentals, insider, analyst ratings, earnings estimates, financial summary, income/balance/cashflow detail y company…

@gauss314@gauss314Install Skill
bcra-macro

bcra-macro

API de Estadísticas Monetarias v4.0 del BCRA con 638 series macroeconómicas (reservas, tipo de cambio, tasas, M1/M2/M3,…

@gauss314@gauss314Install Skill

More skills from other plugins.

ccxt-cli

ccxt-cli

CCXT command-line interface (ccxt-cli) for interacting with 100+ cryptocurrency exchanges directly from the terminal — no code…

ccxt10d45k
@ccxt@ccxtInstall Skill

Questions about historyofmarket.

Which coding agents can use historyofmarket?
historyofmarket installs in Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, OpenCode and Windsurf with the skills CLI, using each agent's flag shown on this page. Flowy's auto-invocation, which fires a skill when your prompt matches, runs in Claude Code only.