본문으로 건너뛰기
Skillpedia
분석 및 스프레드시트37k · #7497

alpha-zoo

하는 일

이 스킬은 Kakushadze 101과 Qlib 158 같은 미리 만들어진 투자 팩터 라이브러리에 에이전트가 접근하게 합니다. 팩터를 하나하나 처음부터 쓰지 않고 많은 팩터를 탐색하거나 시험하려는 분석가를 위한 스킬입니다.

사용하는 경우

  • ✓모멘텀 주제처럼 어떤 미리 만든 팩터가 있는지 알고 싶을 때.
  • ✓라이브러리의 이름 있는 팩터 하나에 대한 세부 사항이 필요할 때.
  • ✓선택한 시장과 기간에서 팩터 라이브러리 전체를 시험하고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/alpha-zoo/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“라이브러리의 모멘텀 알파를 보여 주세요. 그다음 2020년부터 2024년까지 CSI 300에서 GTJA 191 세트를 시험해 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

에이전트는 라이브러리 탐색 도구로 팩터를 나열하거나 설명하고, 벤치마크 도구로 팩터가 수익률을 얼마나 잘 예측하는지 측정합니다. 벤치마크는 IC와 IR 통계와 HTML 보고서를 만듭니다. 자신의 팩터 파일은 별도의 분석 도구를 씁니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 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
자주 묻는 질문

여기서 내 팩터를 시험할 수 있나요?

라이브러리 도구로는 안 됩니다. 자신의 팩터는 CSV 파일로 별도의 팩터 분석 도구를 써서 시험합니다.

IC와 IR은 무엇인가요?

팩터의 순위가 미래 수익률을 얼마나 잘 예측하는지, 그리고 그 예측이 얼마나 일관적인지 나타내는 표준 지표입니다.

결과는 어디에 있나요?

벤치마크는 HTML 보고서를 쓰며, 에이전트가 그 보고서를 가리킬 수 있습니다.

상세 정보

작성자의 원본 설명

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

인기도

GitHub 스타
37k
순위
#7497
라이선스
MIT
업데이트
2026. 11. 1.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬