Stock API
zhangxiangliang/stock-api
Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.
History of Market (historyofmarket.com) — API publica con 88 datasets historicos de indices US desde 1871.
$ npx skills add gauss314/skills --skill historyofmarket -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install gauss314/skills historyofmarket --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/gauss314/skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/historyofmarket .claude/skills/historyofmarket && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "historyofmarket" agent skill from https://github.com/gauss314/skills/tree/main/skills/historyofmarket into .claude/skills/historyofmarket/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "historyofmarket", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/gauss314/skills/tree/main/skills/historyofmarketType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add gauss314/skills --skill historyofmarket -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install gauss314/skills historyofmarket --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gauss314/skills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/skills/historyofmarket .agents/skills/historyofmarket && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "historyofmarket" agent skill from https://github.com/gauss314/skills/tree/main/skills/historyofmarket into .agents/skills/historyofmarket/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "historyofmarket", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gauss314/skills --skill historyofmarket -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install gauss314/skills historyofmarket --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gauss314/skills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/skills/historyofmarket .cursor/skills/historyofmarket && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "historyofmarket" agent skill from https://github.com/gauss314/skills/tree/main/skills/historyofmarket into .cursor/skills/historyofmarket/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "historyofmarket", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/gauss314/skills.git --path skills/historyofmarket--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add gauss314/skills --skill historyofmarket -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install gauss314/skills historyofmarket --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gauss314/skills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/skills/historyofmarket .gemini/skills/historyofmarket && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "historyofmarket" agent skill from https://github.com/gauss314/skills/tree/main/skills/historyofmarket into .gemini/skills/historyofmarket/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "historyofmarket", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install gauss314/skills historyofmarketInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add gauss314/skills --skill historyofmarket -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/gauss314/skills.git skills-src && mkdir -p .github/skills && cp -r skills-src/skills/historyofmarket .github/skills/historyofmarket && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "historyofmarket" agent skill from https://github.com/gauss314/skills/tree/main/skills/historyofmarket into .github/skills/historyofmarket/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "historyofmarket", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add gauss314/skills --skill historyofmarket -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install gauss314/skills historyofmarket --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/gauss314/skills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/skills/historyofmarket .opencode/skills/historyofmarket && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "historyofmarket" agent skill from https://github.com/gauss314/skills/tree/main/skills/historyofmarket into .opencode/skills/historyofmarket/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "historyofmarket", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
historyofmarketHistory of Market (historyofmarket.com) — API publica con 88 datasets historicos de indices US desde 1871.
Historyofmarket is an agent skill from gauss314/skills. 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.
Its SKILL.md is about 1.6k tokens, which your agent loads only when the skill is triggered. The skill folder holds 14 other files, including scripts, reference files and assets (for example `assets/endpoints.json`, `references/BROADER_MARKET.md` and `references/DRAWDOWN_VOLATILITY.md`).
It sits in Business, Finance & HR, covering Stock and market analysis. The repository describes itself as: Financial market data consumption skills for claude code and AI agents. The licence is MIT.
5 steps, taken from the first numbered list in SKILL.md.
Read from SKILL.md and the folder at commit 5156f81. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 3 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
curlFrom the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
historyofmarket.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Historyofmarket loads about 1.6k tokens when it runs, and up to ~7.6k if it reads all its reference files. Until then it costs about 88 tokens; SKILL.md has 447 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from gauss314/skills at commit 5156f81, republished under its MIT licence (© gauss314). 447 words, ~1,592 tokens.
.claude/skills/historyofmarket/SKILL.md (or your agent's skills folder). This skill also uses 11 other files; get the full folder from GitHub.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.
| 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 |
CAPE (Shiller PE) desde 1871 — el unico skill del repo con PE10
historico. references/VALUATION_METRICS.md
Drawdowns con causa — cada drawdown incluye el evento que lo
desencadeno y dias de recuperacion. references/DRAWDOWN_VOLATILITY.md
Driver decomposition — descompone el retorno anual en rerating
(cambio de PE) vs revision (cambio de EPS). references/VALUATION_METRICS.md
GICS reclassification — impacto de los cambios de sector GICS 2018
y 2023 en XLK y XLF. references/SECTOR_ETFS.md
Reconstitucion historica — los scripts permiten reconstruir miembros historicos de S&P 500 y Nasdaq 100 a una fecha dada.
# 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.jsonskills/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 SPYPara entender la teoria detras de los datos:
| Documento | Contenido |
|---|---|
references/SP500_METHODOLOGY.md | Elegibilidad, earnings test, market cap minimo, comite de indices, historial de cambios |
references/NASDAQ_100_METHODOLOGY.md | Nasdaq 100 methodology, annual reconstitution, weight caps |
references/DRAWDOWN_VOLATILITY.md | Drawdowns, intrayear vs year-end, volatilidad realizada, VIX/VXN |
references/VALUATION_METRICS.md | Shiller CAPE, forward PE, trailing PE, EPS, ROE, driver decomp |
references/SECTOR_ETFS.md | Sector ETFs XLK/XLF, GICS reclassification 2018/2023, holdings |
references/MAGNIFICENT7.md | Mag 7 composite, concentration in SPX, correlation, AI capex, lineage |
references/BROADER_MARKET.md | Dow Jones, SOX/SMH, NBER recessions, yield curve |
| 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 |
| Endpoint | Descripcion |
|---|---|
/api/_manifest.json | Catalogo completo de los 88 datasets |
/api/profile.json | Perfil del sitio para AI agents |
/api/tools.json | Lista machine-callable de 68 tools |
/llms.txt | Resumen LLM-friendly |
/.well-known/llms.txt | Well-known location |
/ai.txt | AI agent instructions |
/sitemap.xml | Sitemap completo (60+ panels × 6 locales) |
/robots.txt | Robots.txt |
Ver assets/endpoints.json para el snapshot
completo de los 88 endpoints con descripcion.
© gauss314, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 11 other files (scripts, references, assets) in skills/historyofmarket of gauss314/skills.
Open the folder on GitHubat commit 5156f81
Historyofmarket next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Historyofmarket this skillgauss314/skills | 248 | — | ~1.6k | Automated safety check: Pass | MIT | |
| Stock APIzhangxiangliang/stock-api | 2k | — | ~507 | Automated safety check: Pass | MIT | |
| Tushare Datazillionare/zillionare | 322 | 2 repos | ~2.3k | Automated safety check: Pass | None | |
| Tradingview MCPatilaahmettaner/tradingview-mcp | 5k | — | ~1.3k | Automated safety check: Pass | MIT | |
| Digital Oraclekomako-workshop/digital-oracle | 878 | — | ~5.9k | Automated safety check: Pass | MIT | |
| Longbridge Researchhelsome/folio | 271 | 3 repos | ~2.1k | Automated safety check: Pass | MIT |
zhangxiangliang/stock-api
Fetch real-time stock quotes, K-line (candlestick) history, and search symbols for China A-shares, Hong Kong, and US markets.
zillionare/zillionare
面向中文自然语言的 Tushare 数据研究技能。用于把“看看这只股票最近怎么样”“帮我查财报趋势”“最近哪个板块最强”“北向资金在买什么”“给我导出一份行情数据”这类请求,转成可执行的数据获取、清洗、对比、筛选、导出与简要分析流程。适用于 A 股、指数、ETF/基金、财务、估值、资金流、公告新闻、板块概念与宏观数据等研究场景。
atilaahmettaner/tradingview-mcp
AI Trading Intelligence — live prices, 30+ technical indicators, backtesting (6 strategies), walk-forward overfitting detection, trade logs, equity curves, licensed news sentiment (Marketaux), and…
komako-workshop/digital-oracle
Answer prediction questions using market trading data, not opinions.
helsome/folio
Institution ratings, consensus price targets, EPS/revenue forecasts, finance calendar, shareholder data, fund holders, insider trades (SEC Form 4), short interest, industry rankings, peer group…
helsome/folio
Earnings analysis — pre- and post-earnings. An agent skill from helsome/folio.
gauss314/skills
Academic backtesting framework for quantitative research. An agent skill from gauss314/skills.
gauss314/skills
Datos de Google Finance via batchexecute (API RPC interna sin auth ni API key).
gauss314/skills
Datos macro y sociales de Argentina via la API oficial Series de Tiempo del Estado (apis.datos.gob.ar/series).
gauss314/skills
Morningstar Screener via API JSON publica: descarga masiva de 53 universes (102K+ listings, 39 paises, NYSE/Nasdaq/BCBA/etc) con 33 campos (precio, market cap, ratios, retornos…
gauss314/skills
Pricing completo de opciones europeas y americanas. An agent skill from gauss314/skills.
gauss314/skills
Construcción y optimización cuantitativa de portafolios: Markowitz (scipy.optimize + Monte Carlo), Black-Litterman (prior CAPM, views absolutas/relativas, posterior bayesiano), HRP/HERC/NCO…
Categories
History of Market (historyofmarket.com) — API publica con 88 datasets historicos de indices US desde 1871. Historyofmarket is an agent skill from gauss314/skills.com) — API publica con 88 datasets historicos de indices US desde 1871.
Historyofmarket fits situations like: tasks that involve Stock and market analysis.
Run `npx skills add gauss314/skills --skill historyofmarket -a claude-code`. Or copy the skill folder (skills/historyofmarket in gauss314/skills) into .claude/skills/historyofmarket in your project. Claude Code loads it when a task matches its description.
Run `npx skills add gauss314/skills --skill historyofmarket -a codex`. Or copy the skill folder (skills/historyofmarket in gauss314/skills) into .agents/skills/historyofmarket in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add gauss314/skills --skill historyofmarket -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/historyofmarket, .gemini/skills/historyofmarket, .github/skills/historyofmarket and .opencode/skills/historyofmarket in your project.
Going by SKILL.md and its folder, Historyofmarket needs Python for the scripts in its folder and the command-line tools its instructions call (curl). Our summary lists: Python 3.
SKILL.md names 1 domain. In commands or code: historyofmarket.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Historyofmarket is published under the MIT licence (declared in SKILL.md). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.6k tokens (SKILL.md is roughly 6.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 6k tokens, read only when the agent opens those files.
Skills that share tags, products or a category with Historyofmarket: Stock API (zhangxiangliang/stock-api, 2k stars), Tushare Data (zillionare/zillionare, 322 stars), Tradingview MCP (atilaahmettaner/tradingview-mcp, 5k stars) and Digital Oracle (komako-workshop/digital-oracle, 878 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
gauss314 (a GitHub user) maintains it in gauss314/skills, which has 248 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on June 14, 2026.
Source: gauss314/skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.