मुख्य सामग्री पर जाएँ
Skillpedia
एनालिसिस और स्प्रेडशीट37k · #7519

factor-research

यह क्या करती है

यह स्किल कई इंस्ट्रूमेंट के समूह में शेयर फ़ैक्टरों का मूल्यांकन करती है और देखती है कि किनमें असली भविष्यवाणी क्षमता है। यह क्वांट विश्लेषकों के लिए है जो फ़ैक्टर छानना और अच्छे फ़ैक्टरों को मिलाना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आप जाँचना चाहें कि मोमेंटम या वैल्यू जैसा एक फ़ैक्टर रिटर्न की भविष्यवाणी करता है या नहीं।
  • ✓जब आप कई फ़ैक्टर मिलाने के लिए वज़न चुनना चाहें।
  • ✓जब आप देखना चाहें कि अलग होल्डिंग अवधि पर फ़ैक्टर की भविष्यवाणी शक्ति कितनी जल्दी घटती है।

Skill का लिंक

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

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/HKUDS/Vibe-Trading/blob/main/agent/src/skills/factor-research/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“इस शेयर सूची में मोमेंटम और वैल्यू फ़ैक्टर रिटर्न की भविष्यवाणी करते हैं या नहीं, जाँचिए, और बताइए कि कौन-सा मिलाने लायक है।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट हर फ़ैक्टर के मान और हर शेयर के आगे के रिटर्न निकालता है, फिर फ़ैक्टर विश्लेषण टूल से IC और IR आँकड़े व क्वांटाइल बैकटेस्ट चलाता है। इन नतीजों से वह हर फ़ैक्टर की वैधता आँकता है और मज़बूत फ़ैक्टरों को मिलाने का तरीका सुझाता है।

तकनीकी सामग्री (मूल SKILL.md)

लेखक का मूल टेक्स्ट, अंग्रेज़ी में, सीधे GitHub से।

Factor Research Framework

Purpose

Systematically evaluates the predictive power of single or multiple factors. Uses IC/IR statistical tests and quantile backtests to determine whether a factor has stock-selection power, and to guide factor screening and combination.

Applicable scenarios:

  • Single-factor validity testing (momentum, value, quality, volatility, and more)
  • Determining weights for multi-factor combination
  • Factor decay analysis (IC changes across different holding periods)
  • Comparing factor differences across industries and markets

Workflow

  1. Calculate factor values: compute factor exposures for each instrument on the cross-section, and output a factor CSV (index=date, columns=codes)
  2. Calculate returns: compute each instrument's forward N-day return, and output a return CSV (same structure)
  3. Call the factor_analysis tool: pass in the factor CSV, return CSV, and output directory
  4. Interpret the results: judge factor validity based on IC/IR criteria and quantile backtest results
  5. Factor screening / combination: keep effective factors and combine them with equal weights or IC-based weights

Key point: the rows (dates) and columns (instrument codes) of the factor CSV and return CSV must align exactly. Returns must be forward returns after the factor-observation date (to avoid look-ahead bias).

factor_analysis Tool Parameters

Parameter Type Required Default Description
factor_csv string Yes - Path to the factor-value CSV
return_csv string Yes - Path to the return CSV
output_dir string Yes - Output directory for results
n_groups integer No 5 Number of quantile groups

Output Files

File Contents
ic_series.csv Daily IC series
ic_summary.json IC mean, IC standard deviation, IR, proportion of IC > 0
group_equity.csv Cumulative equity curves for each quantile group

IC/IR Interpretation Standards

Metric Threshold Interpretation
IC mean > 0.03 Factor has basic predictive power
IC mean > 0.05 Factor has strong predictive power
IC mean > 0.10 Unusually high; check for look-ahead bias
IR (IC mean / IC std) > 0.5 Factor is stably effective
IR > 1.0 Extremely strong, very rare
Proportion of IC > 0 > 55% Factor direction is stable
Proportion of IC > 0 < 50% Factor direction is unstable and unusable

Note: negative IC can also be useful (reverse factors). Judge by absolute value, and reverse the signal direction in actual use.

Quantile Backtest Interpretation

Quantile backtesting sorts instruments into N groups by factor value from low to high (default 5 groups), with equal-weight holding inside each group.

Criteria:

  • Monotonicity: the final net values from Group_1 to Group_N should show a monotonic rising (or falling) pattern. Better monotonicity means stronger factor discrimination
  • Long-short spread: the net-value difference between the highest and lowest group (long_short_spread). A larger spread means stronger selection power
  • Nonlinearity: if only the top and bottom groups differ materially while the middle groups are similar, the factor may only be effective in the tails
  • Stability: group equity curves should be smooth; sharp swings indicate an unstable factor

Warning signs:

  • No meaningful difference across group equity curves → the factor is ineffective
  • Non-monotonic pattern (such as V-shape or inverted V-shape) → the factor may have a nonlinear relationship and requires further analysis
  • One group's net value falls persistently → the factor may be usable in reverse

Factor Combination Methods

When multiple single factors pass validity tests, they should be combined into a composite factor:

Equal-Weight Combination

The simplest method: standardize each factor and sum them with equal weights. Suitable when the factor count is small and IC differences are minor.

Composite factor = Z(factor1) + Z(factor2) + ... + Z(factorN)
where Z() is cross-sectional Z-score standardization

IC-Weighted Combination

Assign weights according to historical IC mean. Factors with higher IC receive larger weights.

weight_i = |IC_mean_i| / sum(|IC_mean_j|)
Composite factor = sum(weight_i * Z(factor_i))

Orthogonalized Combination

First orthogonalize the factors with the Schm

अक्सर पूछे जाने वाले सवाल

IC क्या मापता है?

फ़ैक्टर के शेयरों की रैंकिंग बाद के रिटर्न की रैंकिंग से कितनी मेल खाती है।

रिटर्न आगे की ओर क्यों होने चाहिए?

फ़ैक्टर की तारीख से पहले के रिटर्न इस्तेमाल करना लुक-अहेड बायस होगा और परीक्षण अविश्वसनीय बना देगा।

क्या फ़ैक्टर मिलाए जा सकते हैं?

हाँ। स्किल प्रभावी फ़ैक्टरों को मिलाने के लिए बराबर-वज़न और IC-आधारित वज़न दोनों कवर करती है।

जानकारी

लेखक का मूल विवरण

Factor research framework with IC/IR analysis, quantile backtesting, and factor combination. Suitable for cross-sectional factor evaluation across multiple instruments.

repo: HKUDS/Vibe-Trading

लोकप्रियता

GitHub स्टार
37k
रैंकिंग में स्थान
#7519
लाइसेंस
MIT
अपडेट की गई
1/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

vibe-trading

37k

यह आपके एजेंट को वित्त शोध का पूरा टूलकिट देती है, जिसमें बैकटेस्ट, फ़ैक्टर एनालिसिस, ऑप्शन प्राइसिंग और कई बाज़ारों का डेटा शामिल है।

डेटाएनालिसिस और स्प्रेडशीट

adr-hshare

37k

यह आपके एजेंट को दिखाती है कि कई बाज़ारों में लिस्टेड एक चीनी कंपनी के भाव की तुलना कैसे करें, जैसे अमेरिकी ADR और हॉन्गकॉन्ग शेयर।

डेटाएनालिसिस और स्प्रेडशीट

akshare

37k

यह आपके एजेंट को चीनी और वैश्विक शेयरों, फ़्यूचर्स, फ़ॉरेक्स और आर्थिक संकेतकों का मुफ़्त बाज़ार डेटा लेने देती है, बिना API key के।

डेटाएनालिसिस और स्प्रेडशीट

alpha-zoo

37k

यह आपके एजेंट को बने-बनाए स्टॉक फ़ैक्टरों की लाइब्रेरी देखने और चुने हुए बाज़ार पर उनके पूरे समूह के रिटर्न की भविष्यवाणी की क्षमता जाँचने देती है।

डेटाएनालिसिस और स्प्रेडशीट

मिलती-जुलती skills