Saltar al contenido
Skillpedia
Análisis y hojas de cálculo37 mil · #7497

alpha-zoo

Qué hace

Esta skill da a un agente acceso a una biblioteca integrada de factores de inversión ya preparados, como los de Kakushadze 101 y Qlib 158. Está pensada para analistas que quieren explorar o probar muchos factores sin escribir cada uno desde cero.

Cuándo usarla

  • ✓Cuando quieres saber qué factores preparados existen, como los de un tema de momentum.
  • ✓Cuando quieres detalles sobre un factor concreto de la biblioteca.
  • ✓Cuando quieres probar toda una biblioteca de factores en un mercado y un periodo elegidos.

Link de la skill

https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/alpha-zoo/SKILL.md

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/alpha-zoo/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“Muéstrame los alphas de momentum de la biblioteca y luego prueba el conjunto GTJA 191 sobre el CSI 300 entre 2020 y 2024.”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

El agente usa el explorador de la biblioteca para listar o describir factores, y la herramienta de benchmark para medir qué tan bien predicen el rendimiento. El benchmark produce estadísticas IC e IR y un informe HTML. Para tu propio archivo de factores se usa una herramienta de análisis aparte.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de GitHub.

Alpha Zoo

Purpose

When the user asks about prebuilt cross-sectional alphas — Kakushadze 101, GTJA 191, Qlib 158, Fama-French / Carhart — or wants to bench a whole zoo on an investable universe (CSI 300, S&P 500, BTC-USDT, ...), this skill orients you. The zoo is the curated library; the bench is the evaluator.

Tools Available

Tool When to use
alpha_zoo Browse the library. action=list_alphas to enumerate (filterable by zoo / theme / universe), action=get_alpha for one alpha's metadata, action=health for registry load status.
alpha_bench Run IC / IR on one alpha or a whole zoo over a universe + period. Emits an HTML report.
factor_analysis Ad-hoc factor evaluation from a user-supplied factor CSV + return CSV. Use this when the user has their own factor (not in the zoo).

Decision Tree

  • "list all momentum alphas" → alpha_zoo with action=list_alphas, theme=momentum.
  • "show me gtja191_alpha_001" → alpha_zoo with action=get_alpha, alpha_id=gtja191_alpha_001.
  • "bench all of GTJA 191 on CSI 300 from 2020 to 2024" → alpha_bench with zoo=gtja191, universe=csi300, period=2020-2024.
  • "is the registry healthy" → alpha_zoo with action=health — surfaces loaded, failed, and per-error reasons.
  • User uploads my_factor.csv → factor_analysis (zoo tools are for prebuilt alphas only).

Zoo Inventory

Zoo Description Approx. count
kakushadze101 Formulaic alphas from Kakushadze's 2015 paper. Mix of momentum, reversal, volume, and microstructure. ~101
gtja191 Guotai Junan 191 alphas — A-share focused cross-sectional factors. ~191
qlib158 Microsoft Qlib's 158 alpha factors — features tuned for ML pipelines. ~158
classical Fama-French 3/5-factor + Carhart momentum. <10

Counts are nominal; check alpha_zoo action=health for the live count currently loaded.

Constraints

  • No per-stock per-date factor values are surfaced to the agent. IC results are aggregate stats (mean / std / IR / positive-ratio); the HTML report shows top-N by IR plus formulas, never the underlying panel.
  • Lookahead is banned in the operator set. delta(df, d) requires d >= 1; the negative-shift Ref(df, -n) form does not exist. See docs/alpha-zoo/spec.md for the full operator catalogue.
  • Universe loaders may not be wired for every market yet. When alpha_bench returns universe loader for X not yet implemented, that's the W2 scaffold — the universe is recognised but the data pull lands in W4.
  • Do not expose absolute filesystem paths in agent output. The bench tool writes to ~/.vibe-trading/reports/ by default; refer to it by that shorthand, not by the resolved absolute path.
  • alpha_zoo is read-only. alpha_bench writes a single HTML file per run — no scratch state elsewhere.

Common Pitfalls

  • Filter mismatch on list_alphas: theme / universe must match the alpha's declared metadata exactly (e.g. equity_cn, not cn or china).
  • Calling alpha_bench with both alpha_id and zoo set — they are mutually exclusive; pick one.
  • Empty registry (loaded=0) means no zoo modules are populated yet; treat it as "zoos pending W3 porting" rather than a bug.

Reference

  • Operator catalogue: docs/alpha-zoo/spec.md
  • Registry contract: src/factors/registry.py (frozen; do not modify)
  • IC / layered NAV math: src/factors/factor_analysis_core.py
Preguntas frecuentes

¿Puedo probar aquí mi propio factor?

No con las herramientas de la biblioteca. Tu propio factor se prueba con la herramienta de análisis de factores aparte, usando un archivo CSV.

¿Qué significan IC e IR?

Son medidas estándar de qué tan bien predice el ranking de un factor los rendimientos futuros y de la consistencia con la que lo hace.

¿Dónde están los resultados?

El benchmark escribe un informe HTML, al que el agente puede indicarte.

Detalles

Descripción original del autor

Browse and bench the bundled alpha zoos — prebuilt cross-sectional factor libraries (Kakushadze 101, GTJA 191, Qlib 158, Fama-French / Carhart). Use when the user asks "which alphas exist", wants metadata on a named alpha, or wants to run IC/IR on a whole zoo over a universe.

repo: HKUDS/Vibe-Trading

Popularidad

Estrellas en GitHub
37 mil
Posición en el ranking
#7497
Licencia
MIT
Actualizada
1/11/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas