Langsung ke konten
Skillpedia
Analisis & spreadsheet37k Β· #7497

alpha-zoo

Fungsinya

Skill ini memberi agent akses ke pustaka faktor investasi bawaan, seperti yang berasal dari Kakushadze 101 dan Qlib 158. Skill ini untuk analis yang ingin menjelajahi atau menguji banyak faktor tanpa menulis setiap faktor dari awal.

Kapan dipakai

  • βœ“Saat Anda ingin tahu faktor siap pakai apa saja yang ada, misalnya yang bertema momentum.
  • βœ“Saat Anda ingin rincian tentang satu faktor bernama dari pustaka.
  • βœ“Saat Anda ingin menguji seluruh pustaka faktor di pasar dan periode waktu pilihan.

Link skill

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

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/alpha-zoo/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œTampilkan alpha momentum dalam pustaka, lalu uji kumpulan GTJA 191 pada CSI 300 dari 2020 sampai 2024.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Agent memakai penjelajah pustaka untuk mendaftar atau mendeskripsikan faktor, dan alat benchmark untuk mengukur seberapa baik faktor-faktor itu memprediksi imbal hasil. Benchmark menghasilkan statistik IC dan IR serta laporan HTML. Untuk file faktor Anda sendiri, digunakan alat analisis terpisah.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari 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
Pertanyaan umum

Bisakah saya menguji faktor saya sendiri di sini?

Tidak dengan alat pustaka. Faktor Anda sendiri diuji dengan alat analisis faktor terpisah menggunakan file CSV.

Apa arti IC dan IR?

Keduanya adalah ukuran standar seberapa baik peringkat sebuah faktor memprediksi imbal hasil di masa depan dan seberapa konsisten hal itu terjadi.

Di mana hasilnya?

Benchmark menulis laporan HTML, yang bisa ditunjukkan agent kepada Anda.

Detail

Deskripsi asli dari pembuat

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

Popularitas

Bintang GitHub
37k
Peringkat
#7497
Lisensi
MIT
Diperbarui
1/11/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa