alpha-zoo
यह क्या करती है
यह स्किल एजेंट को Kakushadze 101 और Qlib 158 जैसे पहले से बने निवेश फ़ैक्टरों की अंतर्निहित लाइब्रेरी तक पहुँच देती है। यह उन विश्लेषकों के लिए है जो हर फ़ैक्टर खुद लिखे बिना बहुत सारे फ़ैक्टर देखना या जाँचना चाहते हैं।
कब इस्तेमाल करें
- ✓जब आप जानना चाहें कि कौन-से बने-बनाए फ़ैक्टर मौजूद हैं, जैसे मोमेंटम थीम वाले।
- ✓जब आपको लाइब्रेरी के किसी नाम वाले फ़ैक्टर की विस्तृत जानकारी चाहिए।
- ✓जब आप चुने हुए बाज़ार और समय अवधि पर फ़ैक्टरों की पूरी लाइब्रेरी जाँचना चाहें।
Skill का लिंक
https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/alpha-zoo/SKILL.mdइसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।
कैसे इस्तेमाल करें
सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।
पेस्ट करने के लिए तैयार मैसेज
Claude Code, Codex या Cursor के लिए: प्रोजेक्ट फ़ोल्डर में चलाएँ और skill इंस्टॉल हो जाएगी।
SKILL.md डाउनलोड करें और अपने एजेंट के skills फ़ोल्डर में रखें।
AI से क्या माँगें: उदाहरण
“लाइब्रेरी के मोमेंटम अल्फ़ा दिखाइए, फिर CSI 300 पर 2020 से 2024 तक GTJA 191 सेट जाँचिए।”
हर हफ़्ते 5 नई skills, 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_zoowithaction=list_alphas, theme=momentum. - "show me gtja191_alpha_001" →
alpha_zoowithaction=get_alpha, alpha_id=gtja191_alpha_001. - "bench all of GTJA 191 on CSI 300 from 2020 to 2024" →
alpha_benchwithzoo=gtja191, universe=csi300, period=2020-2024. - "is the registry healthy" →
alpha_zoowithaction=health— surfacesloaded,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)requiresd >= 1; the negative-shiftRef(df, -n)form does not exist. Seedocs/alpha-zoo/spec.mdfor the full operator catalogue. - Universe loaders may not be wired for every market yet. When
alpha_benchreturnsuniverse 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_zoois read-only.alpha_benchwrites 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, notcnorchina). - Calling
alpha_benchwith bothalpha_idandzooset — 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
- अपडेट की गई
- 1/11/2026
कमेंट
- …
इस repository की और skills
vibe-trading
37kयह आपके एजेंट को वित्त शोध का पूरा टूलकिट देती है, जिसमें बैकटेस्ट, फ़ैक्टर एनालिसिस, ऑप्शन प्राइसिंग और कई बाज़ारों का डेटा शामिल है।
adr-hshare
37kयह आपके एजेंट को दिखाती है कि कई बाज़ारों में लिस्टेड एक चीनी कंपनी के भाव की तुलना कैसे करें, जैसे अमेरिकी ADR और हॉन्गकॉन्ग शेयर।
akshare
37kयह आपके एजेंट को चीनी और वैश्विक शेयरों, फ़्यूचर्स, फ़ॉरेक्स और आर्थिक संकेतकों का मुफ़्त बाज़ार डेटा लेने देती है, बिना API key के।
asset-allocation
37kयह आपके एजेंट को पोर्टफ़ोलियो आवंटन के तरीके सिखाती है, जैसे मीन-वेरियंस, ब्लैक-लिटरमैन और रिस्क बजट, और उन्हें अंतर्निहित ऑप्टिमाइज़र से लागू करना।
मिलती-जुलती skills
gitcrawl
394kयह आपके एजेंट को GitHub issues और pull requests के सेव आर्काइव में खोजने, मिलते-जुलते मामलों को समूह में रखने और लाइव स्थिति जांचने देती है।
slacrawl
394kयह आपके एजेंट को स्थानीय Slack आर्काइव में संदेश खोजने और गिनने, उसकी ताज़गी जांचने और ज़रूरत पड़ने पर उसे ताज़ा करने देती है।
goplaces
394kयह आपके एजेंट को Google Places से जगहें खोजने, उनका विवरण और समीक्षाएं पाने, और जगह के नाम हल करने में मदद करती है, स्क्रिप्ट के लिए JSON आउटपुट के साथ।