Chuyển đến nội dung
Skillpedia
Phân tích và bảng tính37k · #7497

alpha-zoo

Skill này làm gì

Skill này cho agent truy cập thư viện nhân tố đầu tư dựng sẵn, như của Kakushadze 101 và Qlib 158. Skill dành cho nhà phân tích muốn khám phá hoặc kiểm tra nhiều nhân tố mà không phải tự viết từng cái.

Khi nào nên dùng

  • ✓Khi bạn muốn biết có những nhân tố dựng sẵn nào, chẳng hạn trong một chủ đề động lượng.
  • ✓Khi bạn muốn chi tiết về một nhân tố đã đặt tên trong thư viện.
  • ✓Khi bạn muốn kiểm tra cả một thư viện nhân tố trên một thị trường và khoảng thời gian đã chọn.

Liên kết skill

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

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/alpha-zoo/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Cho tôi xem các alpha động lượng trong thư viện, rồi kiểm tra bộ GTJA 191 trên CSI 300 từ 2020 đến 2024.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent dùng công cụ duyệt thư viện để liệt kê hoặc mô tả nhân tố, và công cụ benchmark để đo mức độ dự đoán lợi nhuận của chúng. Benchmark tạo ra các thống kê IC và IR cùng một báo cáo HTML. Với tệp nhân tố của riêng bạn, một công cụ phân tích riêng được dùng.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

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
Câu hỏi thường gặp

Tôi có thể kiểm tra nhân tố của riêng mình ở đây không?

Không với các công cụ thư viện. Nhân tố của riêng bạn được kiểm tra bằng công cụ phân tích nhân tố riêng, dùng tệp CSV.

IC và IR nghĩa là gì?

Đó là các thước đo tiêu chuẩn cho việc thứ hạng của một nhân tố dự đoán lợi nhuận tương lai tốt đến mức nào, và nó làm điều đó nhất quán ra sao.

Kết quả ở đâu?

Benchmark ghi ra một báo cáo HTML, mà agent có thể chỉ cho bạn.

Chi tiết

Mô tả gốc của tác giả

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

Độ phổ biến

Sao GitHub
37k
Vị trí xếp hạng
#7497
Giấy phép
MIT
Cập nhật
1/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự