先说结论
这篇论文把策略发现拆成“整理候选因子—按市场信息挑选—学习组合权重”。语言模型负责提取和筛选,神经网络负责把因子组合成收益预测,并不是语言模型直接下单。作者报告回测获利,但组合相关性结果存在解释矛盾;应该把它看作一个有待严谨复核的系统方案,而不是已经验证的赚钱方法。 (原文:PDF p.3, Section 2.3; Section 3.1;PDF p.5, Section 3.4; category-based selection algorithm;PDF p.6, Table 2; Section 4.2.1;PDF p.7, Section 4.2.3; backtest results;PDF p.7, Table 3; Section 4.2.3;PDF p.9, Discussion; Conclusion)
指标:一个量价公式可以给每只股票算出一个分数,这个分数就是这里的候选 Alpha。问题不只是能不能造出公式,还包括市场变化后该用哪些公式、怎样组合。作者把文献与市场材料交给语言模型,生成分类的候选库,再由不同风险偏好的代理选择,最后学习组合。这解决的是从候选知识到选股信号的流程组织,不是证明自然语言本身能预测价格。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Section 2.3; Section 3.1;条件及比较对象见陈述
PDF p.3, Section 2.3; Section 3.1 · PDF p.3
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY 3 Methodology This section details the methodology of a comprehensive frame- work for constructing and optimizing alpha strategies in quantita- tive trading. It introduces three key components: the Seed Alphas Factory, a multi-agent decision-making process, and a weight opti- mization approach. The Seed Alphas Factory is built using Large Language Models (LLMs) to filter and categorize multimodal data, creating a robust set of seed alphas. The multi-agent system evalu- ates and selects these alphas based on diverse risk preferences and market conditions, while a confidence scoring mechanism ensures reliability. Finally, the selected alphas’ weights are optimized using Figure 2: (A) An example of the seed alpha. (B) Its equivalent a Deep Neural Network (DNN) to predict future yields, forming the expression tree. (C) Step-by-step computation of this seed foundation for a dynamic and adaptable investment strategy. alpha on an example time series. 3.1 Overview of the Framework Our framework is structured into three primary components: the Alpha may loss function. Moreover, the reliance on structured fi- Seed Alphas Factory, multi-agent decision-making, and the weight nancial data, such as historical prices and fundamental indicators, optimization approach. (Figure 3) The initial phase utilizes a Large overlooks the rich insights that can be derived from alternative data Language Model (LLM) to filter and categorize multimodal docu- sources like economic news and social media trends. To address ments, constructing the Seed Alphas Factory. The LLM’s ability these challenges, we propose a novel framework that leverages to process vast and diverse datasets ensures a comprehensive and the exploratory power of Large Language Models (LLMs) and a robust set of seed alphas categorized into independent alpha cat- multi-agent system for seed alpha mining and selection. Our ap- egories, as established by finance alpha mining research. In the proach integrates state-of-the-art machine learning techniques with second phase, the framework employs a multimodal multi-agent financial principles to create a robust system capable of dynami- decision-making process. This multi-agent approach allows for the cally adjusting to market variability and optimizing alpha strategies incorporation of varied risk perspectives, enhancing the adaptabil- across 𝑘 categories of seed alphas. This multimodal framework links ity and robustness of the strategy across different market conditions. current market conditions with alpha back-test results, allowing The outcome of this phase is an alpha list suited to the current mar- LLMs to identify the most suitable seed alphas while assigning ket status and risk preferences. The final phase involves a weight confidence scores 𝜃 to ensure reliability. Specialized agents further optimization approach using deep learning methods to assess the customize the evaluation based on risk preferences and expertise, performance of each seed alpha and construct the overall strategy. ensuring a comprehensive and adaptive solution for maximizing The framework is designed to be dynamic, allowing for contin- returns and managing risks in diverse market environments. uous improvement and adaptation. As new research emerges and market conditions evolve, the Seed Alphas Factory can be incremen- 2.3 Seed Alpha Formulaic tally updated by providing additional information to the LLM. This Our framework sets a rule for the output of the LLM-generated seed continuous update mechanism ensures that the Seed Alphas Factory alphas, ensuring they are expressed as mathematical expressions remains relevant and robust over time. Similarly, the multi-agent that combine various operators with raw financial features. These decision-making process can adapt to changing market conditions operators include elementary functions such as addition ("+") and by selecting new sets of seed alphas, thereby maintaining the ef- logarithms ("log"), which are used on one-day data and are referred ficacy of the strategy. This methodology is versatile and can be to as cross-section operators. Additionally, there are time-series applied to any structured market globally. By integrating advanced operators that require data spanning multiple days. An example of LLM capabilities and multi-agent systems, this proposed methodol- a time-series operator is " (CLOSE - DELAY(SMA(CLOSE, 14),7)", ogy aims to replicate and enhance the sophisticated strategies used which measures the momentum by comparing the current closing in professional investment research. price to the 14-period Simple Moving Average (SMA) value from 7 periods ago, indicating whether the price is trending upward or downward relative to that past average, as illustrated in Figure 2 3.2 LLM Filter & Category (B). The first stage of our methodology involves the LLM Filter & Cat- The comprehensive list of seed alpha formulas used in our exper- egory process for alpha-related research. This stage utilizes the iments can be found in Appendix 2. It is important to note that with summarization and categorization capabilities of Large Language ongoing research and new data, some alpha formulas may undergo Models (LLMs) to expedite the understanding of recent alpha min- numerical adjustments, and others might be replaced with new ing research and to establish our Seed Alpha Factory for further seed alpha formulas. This reflects our commitment to incremental development. updates and the continuous refinement of our seed alpha factory For this study, we employed custom versions of ChatGPT, named to adapt to the latest market conditions and research insights. “Alpha Grail,” to perform the LLM filtering and categorization tasks.
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:选择器遍历候选类别,留下置信分超过阈值的因子。随后用每日因子值作输入、未来收益作监督目标,训练含隐藏层的神经网络,输出收益预测。也就是说,置信分负责筛选,拟合收益的网络负责组合;置信分不是已经校准的成功概率。文中强调独立验证集用于防止过拟合,但不能由这句目标性说明推导出所有数据泄漏都已排除。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Section 3.4; category-based selection algorithm;条件及比较对象见陈述
PDF p.5, Section 3.4; category-based selection algorithm · PDF p.5
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Algorithm 1 Category-Based Alpha Selection generalizability and prevent overfitting, a separate validation set Input: categories C = {𝐶 1, ..., 𝐶𝑚 }, each 𝐶𝑖 containing a set of is utilized. This methodology establishes a robust framework for Alphas, confidence threshold 𝑋 selected Alphas A = {} predicting future yields based on historical alpha values, thus form- 1: for each category 𝐶𝑖 ∈ C do ing an effective investment strategy. The DNN model processes the 2: A𝑖 = SelectBestAlphas(𝐶𝑖 ); input data through the hidden layer, transforming it with learned 3: for each 𝛼 ∈ A𝑖 do weights and biases. The final output is generated by applying an- 4: if ConfidenceScore(𝛼) > 𝑋 then other set of weights, biases, and an activation function in the output 5: A = A ∪ {𝛼 }; layer. Our approach demonstrates the efficacy of leveraging deep 6: end if learning techniques to optimize alpha weights, thereby enhancing 7: end for the predictive performance of investment strategies. 8: end for 9: return A 4 Experiment Our research aims to develop a comprehensive LLM-driven alpha mining framework that operates without human intervention. This seed alpha factors from each category must meet specific confidence framework is uniquely capable of processing multimodal infor- score thresholds to be considered for the final selection, ensuring mation and adapting to varying market conditions. A critical in- that only the most reliable and robust alpha factors are chosen. novation in our system is the introduction of a confidence score, To automate the selection process, we designed the Category- designed to mitigate potential hallucinations during the LLM’s seed Based Alpha Selection algorithm. This algorithm identifies and alpha selection process. By integrating the results of seed alpha back selects alphas from different categories based on their confidence tests with multimodal market conditions, our framework enables a scores. The input consists of multiple categories, each containing more thorough understanding of market dynamics, and the senti- a set of alphas and a confidence threshold. The algorithm begins ments associated with each category of seed alphas. The primary with an empty set of selected alphas and iterates through each objectives of our research are as follows: Evaluate Framework Effec- category, using the SelectBestAlphas function to determine the most tiveness: Assess whether our LLM-driven framework can identify promising candidates. Each alpha’s confidence score is evaluated, alphas that are better suited to prevailing market conditions com- and those exceeding the threshold are included in the final set. This pared to traditional methods. Multimodal knowledge extraction: process repeats for all categories, ensuring a rigorous selection of Analyze the framework’s capability to process and integrate diverse alphas that meet the confidence criteria from all categories. The data inputs, enhancing its understanding of market dynamics and final output is a set of selected alphas that have successfully passed sentiment analysis. Confidence Scoring Mechanism: Investigate the confidence evaluation. the effectiveness of the confidence score in reducing the likelihood The multimodal and multi-agent evaluation stage leverages ad- of hallucinations during the alpha selection process. Overall Strat- vanced data integration and diverse analytical perspectives to en- egy Performance: Determine whether our comprehensive strategy, sure a comprehensive assessment of alpha factors. The incorpora- leveraging the LLM-driven framework, can outperform the market. tion of confidence scoring adds an additional layer of reliability, To validate the effectiveness of our framework, we have con- making the selection process more robust. This stage is crucial ducted a series of experiments addressing the following research for identifying the most promising alpha factors and constructing questions (RQs): a resilient investment strategy that can adapt to varying market • RQ1: Does the framework can achieve multimodal knowl- conditions. The integration of multimodal data sources and the edge extraction and capture the new alpha with the market utilization of a multi-agent system provide a nuanced and in-depth condition difference? evaluation, laying a solid foundation for the subsequent stages of • RQ2: Does our LLM-driven alpha mining framework outper- the framework. form current alpha factory in terms of trading effectiveness? • RQ3: Can our overall strategy, incorporating the LLM-driven 3.4 Optimal weight alpha strategy framework and confidence scoring, consistently beat the To optimize the weights of selected seed alphas, we employ a Deep market? Neural Network (DNN) to fit alpha values to future yields. The network architecture comprises three layers: an input layer, a hid- 4.1 Datasets den layer, and an output layer. The input layer takes daily alpha Our study focuses on financial data from the Chinese A-shares calculations derived from historical closing prices as input features. market, specifically targeting the SSE 50 Index. The dataset encom- The hidden layer, equipped with ten nodes, utilizes ReLU activa- passes six primary features as original inputs for our Alpha factors: tion functions to introduce non-linearity and enhance the model’s open, close, high, low, volume, and volume-weighted average price learning capability. [13] The output layer, consisting of a single (VWAP). To ensure rigorous evaluation and robust model perfor- node, predicts future yields. During the training phase, the network mance, the dataset is divided into distinct time periods: Training employs backpropagation and gradient descent to minimize the loss Set: January 1, 2021, to December 31, 2022 and Test Set: January 1, function, which quantifies the discrepancy between predicted and 2023, to December 31, 2023. Our experiments integrate financial actual yields. This iterative process adjusts the network’s weights reports and factor performances of the 50 constituent companies and biases to improve prediction accuracy. To ensure the model’s of the SSE 50 Index, providing a comprehensive view of the market.
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:实验围绕上证50成分股,训练区间为2021年至2022年,测试为2023年。输入包含开高低收、成交量、VWAP及公司财报等材料。作者展示在不同新闻、财报和图表上下文下选择不同类别的因子。这样的案例说明系统会随输入改变选择,不等于单独证明选择变化一定带来收益,也不能自动推广至其他市场。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Table 2; Section 4.2.1;条件及比较对象见陈述
PDF p.6, Table 2; Section 4.2.1 · PDF p.6
Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Trovato et al. Table 2: Summary of the experiment dataset Aspect Details Primary Features Open, Close, High, Low, Volume, VWAP Alpha Factors Custom factors based on price, volume, financial ratios, moving averages, senti- ment analysis Financial Reports Quarterly and Annual reports from SSE 50 constituent companies Time Periods - Training: Jan 1, 2021 - Dec 31, 2022 - Test: Jan 1, 2023 - Dec 31, 2023 Market Coverage SSE 50 Index, covering major sectors in the Chinese A-shares market Evaluation Criteria Causal relationships, Alpha factor per- formance, model robustness Figure 4: Multimodal LLM Analysis architecture Experiments demonstrate the framework’s effectiveness in multi- modal knowledge extraction and dynamic alpha selection under dif- ferent market conditions. (Figure 5) In Case 1, using SSE50 company announcements, financial statements, K-line charts, and trading charts from December 31, 2021, to September 30, 2022, the selected [14]The evaluation considers various datasets, including financial alphas included momentum and volume-based indicators such as reports from the specified periods and performance metrics of dif- price momentum, RSI, MACD, moving averages, Bollinger Bands, ferent Alpha factors. This extensive dataset allows us to identify volume, market cap, and EPS adjustments. In Case 2, focusing on causal relationships and patterns between financial features and incremental updated SSE50 related news, stock commentary, and Alpha factor performances. The diversified portfolio in our eval- the China Macroeconomic Index, the selected alphas emphasized uation comprises prominent companies within the SSE 50 Index, volatility and economic factors, including ATR, Bollinger Bands selected for their extensive market coverage and representation ratios, volume-based indicators with delays, gross profit and operat- across different sectors of the Chinese A-shares market. This selec- ing income ratios, and high/low price comparisons. The experiment tion underscores the versatility and consistency of our model across underscores the framework’s adaptability, capturing new opportu- various financial environments, showcasing its broad applicability nities by integrating diverse data sources and employing advanced and reliability. analytical models. This dynamic approach ensures the selected alphas are relevant and responsive to current market conditions, enhancing the robustness and effectiveness of investment strategies. 4.2 Research Questions 4.2.2 RQ2: Does our LLM-driven alpha mining framework outper- 4.2.1 RQ1: Does the framework can achieve multimodal knowledge form current alpha factory in terms of trading effectiveness? When extraction and capture the new alpha with the market condition dif- evaluating the performance of selected seed alpha signals, the pri- ference? We present a prompt architecture (Figure 4) that incorpo- mary metric is the Information Coefficient (IC). [25] These metrics rates multimodal market information into a Large Language Model provide insights into the predictive power of alpha values for future (LLM) to achieve multimodal knowledge extraction and select opti- returns. The Information Coefficient (IC) measures the correlation mal seed alphas under varying market conditions. By integrating between predicted alpha values and actual future returns. It is quan- textual data from financial news sentiment, numerical data from tified using Pearson’s correlation coefficient, which assesses the company financial statements, and visual data from trading charts, linear relationship between two variables. A higher IC indicates our framework provides comprehensive stock analysis. This data a stronger predictive relationship, meaning the alpha values are fusion ensures a holistic market view, enhancing decision-making. more effective at forecasting returns. Contextual analysis adjusts parameters based on market trends and sector performance, ensuring relevant and accurate alpha selection. 𝐼𝐶 = 𝜎 (𝑢, 𝑣)
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:作者采用每日重建组合、持有排名前13只并限制每日交易至多5只的设置,报告2023年累计收益53.17%,同期指数为-11.73%,EFund为-9.17%,Boshi Fund为-8.81%。这些是论文这一回测配置的报告值,不是实盘收益,也不是已在本站复现的结果。限制交易数量表达了控制成本的意图,但不能据此认定费率、滑点和交易可行性已经充分建模。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Section 4.2.3; backtest results;条件及比较对象见陈述
PDF p.7, Section 4.2.3; backtest results · PDF p.7
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Sel ect edAl phadependsondi ffer entcont ext Case1 Case2 the weight combination will drop to -0.055; once we remove the Cont ext :Text+Tabl e+l mage. Cont ext :Text+Tabl e+l mage. alpha #11, the weight combination will drop to merely 0.0491. This Text st :SSE50Li 09. 31-2022. 12. n2021. edCompanyAnnouncementi 30 Text :SSE50r elat edNewswi thsent imentDat aset i 12. n2021. 31 30 09. -2022. suggests that the seed alpha set selected by the LLM synergizes Tabl e:SSE50Li stedCompanyFi nicalSt atement in2021. 12. 31-2022. 09. 30 Tabl e:St ockcomment aryi nChi nesef orums2021. 12. 31-2022. 09. 30 l mage:Kl i nechar t& Tr adi ngchar tof$SE50i n2021. 12. 31-2022. 09. 30 l mage:Chi naMacr oeconomi cIndexi n2021. 31-2022. 12. 30 09. effectively, providing robust predictive power. [10] Sel ect edAl pha Sel ect edAl pha Table 3: An example combination of 12 alphas. ( CLOSE- DELAY( CLOSE. 14) ) ( RSI. DELAY( RSI ,14) ) ( ATR-DELAY( ATR,14) ) ( CLOSE- DELAY( SMA( CLOSE, 14) ,7) ) ( UPPERBAND-LOWERBAND) /SMA( CLOSE, 20) ( MA( CLOSE. 20) -CLOSE) ( VOLUME-DELAY( VOLUME,14) )/DELAY( VOLUME,14) ( SMA( ( CLOSE, MAX( HI 20) - GH,20) - CLOSE) CLOSE) ( GROSSPROFI T/REVENUE) # Alpha Weight IC(SSE50) ( 100- RSI ) ( OPERATI NG I NCOME/ REVENUE) ( BOLLUP. BOLLDOWN) /SMA( CLOSE,20) STD( / 10) CLOSE, STD( CLOSE,50) ( MAX( HIGH, 14) -CLOSE) /(MAX( HI 14) GH, N( -MI LOW, 14) )) *-100 1 (CLOSE - DELAY(CLOSE, 14)) -0.1459 0.0209 VOLUME/ MARKETCAP ( MAX( HIGH, 20) -CLOSE) ( VOLUME* CLOSE EPS/DELAY( EPS, 1)- 1) 2 (RSI - DELAY(RSI, 14)) -1.0265 -0.0225 3 (CLOSE - DELAY(SMA(CLOSE, 14), 7)) -0.1978 0.0193 4 (MA(CLOSE, 20) - CLOSE) 0.0556 -0.0186 5 (SMA(CLOSE, 20) - CLOSE) -0.945 -0.0186 Figure 5: Sample Experiment on Different Market Status 6 (MAX(HIGH, 20) - CLOSE) -0.4053 -0.0185 Input and Alpha Selection 7 (100-RSI) -0.3199 0.0194 8 (BOLL_UP - BOLL_DOWN) / SMA(CLOSE, 20) 3.6186 0.0278 9 STD(CLOSE, 10) / STD(CLOSE, 50) -0.183 0.0236 10 VOLUME / MARKET_CAP -3.2145 -0.0194 11 VOLUME * CLOSE -0.0058 0.0187 12 (EPS / DELAY(EPS, 1) - 1) -1.8351 -0.0215 Weighted Combination -0.0587 To address the question of whether our overall strategy, incor- porating the LLM-driven framework and confidence scoring, can consistently beat the market, we conducted a backtest using a straightforward investment approach during the period from Janu- ary 1, 2023, to December 31, 2023, on the SSE50 dataset. Our strategy involves a daily portfolio reconstruction based on a top- 𝑘/ drop −𝑛 selection process. Each trading day, we rank the stocks by their alpha values and select the top 𝑘 stocks for investment. We aim to distribute investments evenly among these selected stocks, but we limit our transactions to a maximum of 𝑛 stocks per day to reduce trading costs. For this experiment, we set 𝑘 to 13 and 𝑛 to 5 . The net worth progression of the respective strategies over the testing Figure 6: Average IC Comparation after LLM Selection period is shown in Figure 7. Despite not explicitly optimizing for absolute returns, our framework demonstrates impressive perfor- where 𝜎 (𝑢, 𝑣) is Pearson’s correlation coefficient between pre- mance in the backtest, achieving the highest profit compared to dicted alphas 𝑢 and actual future returns 𝑣. We evaluated four most other methods. Our cumulative return for 2023 backtest comes to common alpha categories: Momentum, Mean Reversion, Volatility, 53.17% positive and meanwhile the index performance is -11.73%, Fundamental and Growth. The figure 6 below shows the average EFund performance is -9.17% and the Boshi Fund performance is IC values for each category. The results demonstrate that our LLM- -8.81%. We also do the compression with others alpha mining work driven framework consistently achieves higher average IC values shows our framework are able to gain most profit in the market. across all categories, particularly in Volatility and Fundamental, in- This approach shows the potential of our LLM-driven frame- dicating superior trading effectiveness compared to the traditional work combined with confidence scoring to consistently outperform alpha factory. the market by adapting dynamically to changing conditions and minimizing costs through a disciplined investment strategy. 4.2.3 RQ3: Can our overall strategy, incorporating the LLM-driven framework and confidence scoring, consistently beat the market? 5 Related Work Table 3 presents an example combination of 12 alphas generated by our framework, evaluated on the SSE50 constituent stock set. The 5.1 Formulaic alphas table details the seed alphas selected by the LLM from each category, Formulaic alphas in quantitative investment refer to systematic, along with their respective weights and Information Coefficient rule-based strategies that generate excess returns by exploiting (IC) values. The weight combination IC value is quite high as - specific market patterns, anomalies, or inefficiencies. [15] These 0.0587. Although some of the seed alphas exhibit relatively low strategies use predefined mathematical models or algorithms and IC values individually, their removal results in a significant drop are often implemented through automated trading systems. The in the retrained combination weight, indicating their critical role common method for creating formulaic alphas is genetic program- in the overall performance. For example, if we remove alpha #6 ming involves structure and numerical mutations to generate new
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:必须同时读到反向证据:组合IC在表中为-0.0587,正文也保留这个负号,却称其很高;删去因子后写成-0.055或0.0491,又称为下降。IC是预测值与未来收益的相关性,这组正负号和“下降”的解释并不自洽。不能擅自把负号改成正号,也不能只展示赚钱数字而省略该矛盾。它需要作者澄清信号方向、定义或排版,当前不能用于证明组合协同已被可靠验证。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Table 3; Section 4.2.3;条件及比较对象见陈述
PDF p.7, Table 3; Section 4.2.3 · PDF p.7
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Sel ect edAl phadependsondi ffer entcont ext Case1 Case2 the weight combination will drop to -0.055; once we remove the Cont ext :Text+Tabl e+l mage. Cont ext :Text+Tabl e+l mage. alpha #11, the weight combination will drop to merely 0.0491. This Text st :SSE50Li 09. 31-2022. 12. n2021. edCompanyAnnouncementi 30 Text :SSE50r elat edNewswi thsent imentDat aset i 12. n2021. 31 30 09. -2022. suggests that the seed alpha set selected by the LLM synergizes Tabl e:SSE50Li stedCompanyFi nicalSt atement in2021. 12. 31-2022. 09. 30 Tabl e:St ockcomment aryi nChi nesef orums2021. 12. 31-2022. 09. 30 l mage:Kl i nechar t& Tr adi ngchar tof$SE50i n2021. 12. 31-2022. 09. 30 l mage:Chi naMacr oeconomi cIndexi n2021. 31-2022. 12. 30 09. effectively, providing robust predictive power. [10] Sel ect edAl pha Sel ect edAl pha Table 3: An example combination of 12 alphas. ( CLOSE- DELAY( CLOSE. 14) ) ( RSI. DELAY( RSI ,14) ) ( ATR-DELAY( ATR,14) ) ( CLOSE- DELAY( SMA( CLOSE, 14) ,7) ) ( UPPERBAND-LOWERBAND) /SMA( CLOSE, 20) ( MA( CLOSE. 20) -CLOSE) ( VOLUME-DELAY( VOLUME,14) )/DELAY( VOLUME,14) ( SMA( ( CLOSE, MAX( HI 20) - GH,20) - CLOSE) CLOSE) ( GROSSPROFI T/REVENUE) # Alpha Weight IC(SSE50) ( 100- RSI ) ( OPERATI NG I NCOME/ REVENUE) ( BOLLUP. BOLLDOWN) /SMA( CLOSE,20) STD( / 10) CLOSE, STD( CLOSE,50) ( MAX( HIGH, 14) -CLOSE) /(MAX( HI 14) GH, N( -MI LOW, 14) )) *-100 1 (CLOSE - DELAY(CLOSE, 14)) -0.1459 0.0209 VOLUME/ MARKETCAP ( MAX( HIGH, 20) -CLOSE) ( VOLUME* CLOSE EPS/DELAY( EPS, 1)- 1) 2 (RSI - DELAY(RSI, 14)) -1.0265 -0.0225 3 (CLOSE - DELAY(SMA(CLOSE, 14), 7)) -0.1978 0.0193 4 (MA(CLOSE, 20) - CLOSE) 0.0556 -0.0186 5 (SMA(CLOSE, 20) - CLOSE) -0.945 -0.0186 Figure 5: Sample Experiment on Different Market Status 6 (MAX(HIGH, 20) - CLOSE) -0.4053 -0.0185 Input and Alpha Selection 7 (100-RSI) -0.3199 0.0194 8 (BOLL_UP - BOLL_DOWN) / SMA(CLOSE, 20) 3.6186 0.0278 9 STD(CLOSE, 10) / STD(CLOSE, 50) -0.183 0.0236 10 VOLUME / MARKET_CAP -3.2145 -0.0194 11 VOLUME * CLOSE -0.0058 0.0187 12 (EPS / DELAY(EPS, 1) - 1) -1.8351 -0.0215 Weighted Combination -0.0587 To address the question of whether our overall strategy, incor- porating the LLM-driven framework and confidence scoring, can consistently beat the market, we conducted a backtest using a straightforward investment approach during the period from Janu- ary 1, 2023, to December 31, 2023, on the SSE50 dataset. Our strategy involves a daily portfolio reconstruction based on a top- 𝑘/ drop −𝑛 selection process. Each trading day, we rank the stocks by their alpha values and select the top 𝑘 stocks for investment. We aim to distribute investments evenly among these selected stocks, but we limit our transactions to a maximum of 𝑛 stocks per day to reduce trading costs. For this experiment, we set 𝑘 to 13 and 𝑛 to 5 . The net worth progression of the respective strategies over the testing Figure 6: Average IC Comparation after LLM Selection period is shown in Figure 7. Despite not explicitly optimizing for absolute returns, our framework demonstrates impressive perfor- where 𝜎 (𝑢, 𝑣) is Pearson’s correlation coefficient between pre- mance in the backtest, achieving the highest profit compared to dicted alphas 𝑢 and actual future returns 𝑣. We evaluated four most other methods. Our cumulative return for 2023 backtest comes to common alpha categories: Momentum, Mean Reversion, Volatility, 53.17% positive and meanwhile the index performance is -11.73%, Fundamental and Growth. The figure 6 below shows the average EFund performance is -9.17% and the Boshi Fund performance is IC values for each category. The results demonstrate that our LLM- -8.81%. We also do the compression with others alpha mining work driven framework consistently achieves higher average IC values shows our framework are able to gain most profit in the market. across all categories, particularly in Volatility and Fundamental, in- This approach shows the potential of our LLM-driven frame- dicating superior trading effectiveness compared to the traditional work combined with confidence scoring to consistently outperform alpha factory. the market by adapting dynamically to changing conditions and minimizing costs through a disciplined investment strategy. 4.2.3 RQ3: Can our overall strategy, incorporating the LLM-driven framework and confidence scoring, consistently beat the market? 5 Related Work Table 3 presents an example combination of 12 alphas generated by our framework, evaluated on the SSE50 constituent stock set. The 5.1 Formulaic alphas table details the seed alphas selected by the LLM from each category, Formulaic alphas in quantitative investment refer to systematic, along with their respective weights and Information Coefficient rule-based strategies that generate excess returns by exploiting (IC) values. The weight combination IC value is quite high as - specific market patterns, anomalies, or inefficiencies. [15] These 0.0587. Although some of the seed alphas exhibit relatively low strategies use predefined mathematical models or algorithms and IC values individually, their removal results in a significant drop are often implemented through automated trading systems. The in the retrained combination weight, indicating their critical role common method for creating formulaic alphas is genetic program- in the overall performance. For example, if we remove alpha #6 ming involves structure and numerical mutations to generate new
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:讨论把改成专家混合结构、引入金融知识图谱列为后续方向,因此不能把这些当作当前已经实现并验证的模块。结论对适用性描述很广,但本导读只保留已展示实验支持的范围。系统流程值得参考,泛化、置信机制的独立贡献和稳定获利仍是不同的待验证问题。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Discussion; Conclusion;条件及比较对象见陈述
PDF p.9, Discussion; Conclusion · PDF p.9
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY be combined into more expressive models and many more applica- Computational Linguistics (ACL), pages 1970–1979, 2018. tion scenarios. The concept of the “formulaic alpha” can solve many [8] Chi Chen, Li Zhao, Jiang Bian, Chunxiao Xing, and Tie-Yan Liu. Investment behaviors can tell what inside: Exploring stock intrinsic properties for stock forecasting problems in other subjects such as energy consumption trend prediction. In Proceedings of the 25th ACM SIGKDD International Conference prediction, anomaly detection, and biomedical applications. [45– on Knowledge Discovery & Data Mining, pages 2376–2384, 2019. [9] Frank J Fabozzi, Sergio M Focardi, and Petter N Kolm. Quantitative equity 47]The work also has potential future work, The current framework investing: Techniques and strategies. John Wiley & Sons, 2010. utilizes a multi-Agent architecture to evaluate market conditions [10] Feng Zhang, Ruite Guo, and Honggao Cao. Information coefficient as a perfor- and select alpha factors. Future work can explore transitioning mance measure of stock selection models, 2020. [11] OpenAI. Gpt-4 technical report, 2023. this architecture to a Mixture of Experts (MoE) structure, which [12] William F Sharpe. The sharpe ratio. Journal of portfolio management, 21(1):49–58, can improve learning efficiency and model performance. MoE can 1994. dynamically allocate computational resources to different "experts" [13] Yinpeng Chen and et al. Dynamic relu. In European Conference on Computer Vision. Springer International Publishing, 2020. based on the specific characteristics of the input data, thereby en- [14] Weiping Li and Feng Mei. Asset returns in deep learning methods: An empirical hancing the model’s ability to learn and distinguish category seed analysis on sse 50 and csi 300. Research in International Business and Finance, 54:101291, 2020. alphas features more effectively. [48]Another promising avenue for [15] Zura Kakushadze. 101 formulaic alphas. Wilmott, 2016(84):72–81, 2016. future research is the incorporation of financial knowledge graph [16] L. W. Cong, K. Tang, J. Wang, and Y. Zhang. Alphaportfolio: Direct construction techniques into the strategy development process. Financial mar- through deep reinforcement learning and interpretable ai, 2021. [17] Xiaoming Lin, Ye Chen, Ziyu Li, and Kang He. Stock alpha mining based on kets are inherently complex and interconnected, with numerous genetic algorithm. Technical report, Huatai Securities Research Center, 2019. dependencies between stocks, sectors, and economic indicators. [18] Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural [49] By introducing the knowledge graph information may help in Computation, 9(8):1735–1780, 1997. [19] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, our stock selection phase and achieve better performance in the Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. future. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett, editors, Advances in Neu- ral Information Processing Systems 30: Annual Conference on Neural Information 6 Conclusion Processing Systems 2017, pages 5998–6008, Long Beach, CA, USA, 2017. Neural Information Processing Systems Foundation. In this paper, we proposed a novel framework for quantitative stock [20] Tianqi Chen and Carlos Guestrin. Xgboost: A scalable tree boosting system. investment and portfolio management by leveraging advancements In Balaji Krishnapuram, Mohak Shah, Alexander J. Smola, Charu C. Aggarwal, Dou Shen, and Rajeev Rastogi, editors, Proceedings of the 22nd ACM SIGKDD in Large Language Models (LLMs) and multi-Agent architectures. International Conference on Knowledge Discovery and Data Mining, pages 785–794, Our framework addresses the challenges of instability and high San Francisco, CA, USA, 2016. ACM. uncertainty in existing models by integrating LLMs to generate [21] Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. Lightgbm: A highly efficient gradient boosting decision tree. diversified alphas and employing a multi-Agent approach to dy- In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob namically evaluate market conditions. The LLMs mine and generate Fergus, S. V. N. Vishwanathan, and Roman Garnett, editors, Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information potential alpha factors from a multimodal financial information Processing Systems 2017, pages 3146–3154, Long Beach, CA, USA, 2017. Neural landscape, providing a comprehensive understanding of market Information Processing Systems Foundation. dynamics and a rich set of predictive signals. Subsequently, we con- [22] Alejandro Barredo Arrieta and et al. Explainable artificial intelligence (xai): Concepts, taxonomies, opportunities and challenges toward responsible ai. Infor- struct a diverse pool of trading agents with various risk preferences mation Fusion, 58:82–115, 2020. through an multi-Agent approach, enabling personalized market [23] Liheng Zhang, Charu C. Aggarwal, and Guo-Jun Qi. Stock price prediction via insights and trading strategies. The final stage involves a sophis- discovering multi-frequency trading patterns. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages ticated weight deep learning mechanism that dynamically selects 2141–2149, Halifax, NS, Canada, 2017. ACM. and assigns weights to the most relevant agents based on real-time [24] Wentao Xu, Weiqing Liu, Chang Xu, Jiang Bian, Jian Yin, and Tie-Yan Liu. Rest: Relational event-driven stock trend forecasting. In Jure Leskovec, Marko Grobel- market conditions. Through extensive experiments on Chinese nik, Marc Najork, Jie Tang, and Leila Zia, editors, WWW ’21: The Web Conference stock markets, we demonstrate that our framework significantly 2021, pages 1–10, Virtual Event / Ljubljana, Slovenia, 2021. ACM / IW3C2. outperforms tranditional alpha generating SOTA works, human [25] Wentao Xu, Weiqing Liu, Lewen Wang, Yingce Xia, Jiang Bian, Jian Yin, and Tie-Yan Liu. Hist: A graph-based framework for stock trend forecasting via traders performance & index across multiple financial metrics. mining concept-oriented shared information, 2021. [26] Robert Novy-Marx. Fundamentally, momentum is fundamental momentum. Technical Report w20984, NBER, 2015. References [27] Y. Yang, Y. Tang, and K. Y. Tam. Investlm: A large language model for investment [1] Vladi Nikolov. 3 quantitative strategies based on alternative data. 2024. using financial domain instruction tuning, 2023. [2] I. Tulchinsky. Finding Alphas: A Quantitative Approach to Building Trading [28] S. Zhang, L. Dong, X. Li, S. Zhang, X. Sun, S. Wang, and et al. Instruction tuning Strategies. 2015. for large language models: A survey, 2023. [3] Eugene F Fama. Efficient capital markets: A review of theory and empirical work. [29] W. X. Zhao, K. Zhou, J. Li, T. Tang, X. Wang, Y. Hou, Y. Min, B. Zhang, J. Zhang, The Journal of Finance, 25(2):383–417, 1970. Z. Dong, and et al. A survey of large language models, 2023. [4] Franklin Allen and Risto Karjalainen. Using genetic algorithms to find technical [30] H. Touvron, T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T. Lacroix, B. Rozière, trading rules. Journal of Financial Economics, 51(2):245–271, 1999. N. Goyal, E. Hambro, F. Azhar, A. Rodriguez, A. Joulin, E. Grave, and G. Lample. [5] Can Cui, Wei Wang, Meihui Zhang, Gang Chen, Zhaojing Luo, and Beng Chin Llama: Open and efficient foundation language models, 2023. Ooi. Alphaevolve: A learning framework to discover novel alphas in quantitative [31] B. W. and et al. Bloom: A 176b-parameter open-access multilingual language investment. In Proceedings of the 2021 International Conference on Management model, 2023. of Data (SIGMOD ’21), pages 2208–2216, Virtual Event, China, 2021. ACM. [32] H. W. and et al. Scaling instruction-finetuned language models, 2022. [6] Shuo Yu, Hongyan Xue, Xiang Ao, Feiyang Pan, Jia He, Dandan Tu, and Qing He. [33] P. Lewis and et al. Retrieval-augmented generation for knowledge-intensive nlp Generating synergistic formulaic alpha collections via reinforcement learning. tasks. In NeurIPS, volume 33, pages 9459–9474, 2020. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and [34] K. J. Koa, Y. Ma, R. Ng, and T.-S. Chua. Learning to generate explainable stock Data Mining (KDD ’23), pages 5476–5486, New York, NY, USA, 2023. Association predictions using self-reflective large language models. In Proceedings of the for Computing Machinery. ACM on Web Conference 2024, pages 4304–4315, 2024. [7] Yumo Xu and Shay B Cohen. Stock movement prediction from tweets and [35] Li L, Chang T Y, and Wang H. Multimodal gen-ai for fundamental investment historical prices. In Proceedings of the 56th Annual Meeting of the Association for research, 2023.
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
论文为什么要做这件事
一个量价公式可以给每只股票算出一个分数,这个分数就是这里的候选 Alpha。问题不只是能不能造出公式,还包括市场变化后该用哪些公式、怎样组合。作者把文献与市场材料交给语言模型,生成分类的候选库,再由不同风险偏好的代理选择,最后学习组合。这解决的是从候选知识到选股信号的流程组织,不是证明自然语言本身能预测价格。 (原文:PDF p.3, Section 2.3; Section 3.1)
指标:一个量价公式可以给每只股票算出一个分数,这个分数就是这里的候选 Alpha。问题不只是能不能造出公式,还包括市场变化后该用哪些公式、怎样组合。作者把文献与市场材料交给语言模型,生成分类的候选库,再由不同风险偏好的代理选择,最后学习组合。这解决的是从候选知识到选股信号的流程组织,不是证明自然语言本身能预测价格。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Section 2.3; Section 3.1;条件及比较对象见陈述
PDF p.3, Section 2.3; Section 3.1 · PDF p.3
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY 3 Methodology This section details the methodology of a comprehensive frame- work for constructing and optimizing alpha strategies in quantita- tive trading. It introduces three key components: the Seed Alphas Factory, a multi-agent decision-making process, and a weight opti- mization approach. The Seed Alphas Factory is built using Large Language Models (LLMs) to filter and categorize multimodal data, creating a robust set of seed alphas. The multi-agent system evalu- ates and selects these alphas based on diverse risk preferences and market conditions, while a confidence scoring mechanism ensures reliability. Finally, the selected alphas’ weights are optimized using Figure 2: (A) An example of the seed alpha. (B) Its equivalent a Deep Neural Network (DNN) to predict future yields, forming the expression tree. (C) Step-by-step computation of this seed foundation for a dynamic and adaptable investment strategy. alpha on an example time series. 3.1 Overview of the Framework Our framework is structured into three primary components: the Alpha may loss function. Moreover, the reliance on structured fi- Seed Alphas Factory, multi-agent decision-making, and the weight nancial data, such as historical prices and fundamental indicators, optimization approach. (Figure 3) The initial phase utilizes a Large overlooks the rich insights that can be derived from alternative data Language Model (LLM) to filter and categorize multimodal docu- sources like economic news and social media trends. To address ments, constructing the Seed Alphas Factory. The LLM’s ability these challenges, we propose a novel framework that leverages to process vast and diverse datasets ensures a comprehensive and the exploratory power of Large Language Models (LLMs) and a robust set of seed alphas categorized into independent alpha cat- multi-agent system for seed alpha mining and selection. Our ap- egories, as established by finance alpha mining research. In the proach integrates state-of-the-art machine learning techniques with second phase, the framework employs a multimodal multi-agent financial principles to create a robust system capable of dynami- decision-making process. This multi-agent approach allows for the cally adjusting to market variability and optimizing alpha strategies incorporation of varied risk perspectives, enhancing the adaptabil- across 𝑘 categories of seed alphas. This multimodal framework links ity and robustness of the strategy across different market conditions. current market conditions with alpha back-test results, allowing The outcome of this phase is an alpha list suited to the current mar- LLMs to identify the most suitable seed alphas while assigning ket status and risk preferences. The final phase involves a weight confidence scores 𝜃 to ensure reliability. Specialized agents further optimization approach using deep learning methods to assess the customize the evaluation based on risk preferences and expertise, performance of each seed alpha and construct the overall strategy. ensuring a comprehensive and adaptive solution for maximizing The framework is designed to be dynamic, allowing for contin- returns and managing risks in diverse market environments. uous improvement and adaptation. As new research emerges and market conditions evolve, the Seed Alphas Factory can be incremen- 2.3 Seed Alpha Formulaic tally updated by providing additional information to the LLM. This Our framework sets a rule for the output of the LLM-generated seed continuous update mechanism ensures that the Seed Alphas Factory alphas, ensuring they are expressed as mathematical expressions remains relevant and robust over time. Similarly, the multi-agent that combine various operators with raw financial features. These decision-making process can adapt to changing market conditions operators include elementary functions such as addition ("+") and by selecting new sets of seed alphas, thereby maintaining the ef- logarithms ("log"), which are used on one-day data and are referred ficacy of the strategy. This methodology is versatile and can be to as cross-section operators. Additionally, there are time-series applied to any structured market globally. By integrating advanced operators that require data spanning multiple days. An example of LLM capabilities and multi-agent systems, this proposed methodol- a time-series operator is " (CLOSE - DELAY(SMA(CLOSE, 14),7)", ogy aims to replicate and enhance the sophisticated strategies used which measures the momentum by comparing the current closing in professional investment research. price to the 14-period Simple Moving Average (SMA) value from 7 periods ago, indicating whether the price is trending upward or downward relative to that past average, as illustrated in Figure 2 3.2 LLM Filter & Category (B). The first stage of our methodology involves the LLM Filter & Cat- The comprehensive list of seed alpha formulas used in our exper- egory process for alpha-related research. This stage utilizes the iments can be found in Appendix 2. It is important to note that with summarization and categorization capabilities of Large Language ongoing research and new data, some alpha formulas may undergo Models (LLMs) to expedite the understanding of recent alpha min- numerical adjustments, and others might be replaced with new ing research and to establish our Seed Alpha Factory for further seed alpha formulas. This reflects our commitment to incremental development. updates and the continuous refinement of our seed alpha factory For this study, we employed custom versions of ChatGPT, named to adapt to the latest market conditions and research insights. “Alpha Grail,” to perform the LLM filtering and categorization tasks.
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
核心方法到底怎么运转
选择器遍历候选类别,留下置信分超过阈值的因子。随后用每日因子值作输入、未来收益作监督目标,训练含隐藏层的神经网络,输出收益预测。也就是说,置信分负责筛选,拟合收益的网络负责组合;置信分不是已经校准的成功概率。文中强调独立验证集用于防止过拟合,但不能由这句目标性说明推导出所有数据泄漏都已排除。 (原文:PDF p.5, Section 3.4; category-based selection algorithm)
指标:选择器遍历候选类别,留下置信分超过阈值的因子。随后用每日因子值作输入、未来收益作监督目标,训练含隐藏层的神经网络,输出收益预测。也就是说,置信分负责筛选,拟合收益的网络负责组合;置信分不是已经校准的成功概率。文中强调独立验证集用于防止过拟合,但不能由这句目标性说明推导出所有数据泄漏都已排除。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Section 3.4; category-based selection algorithm;条件及比较对象见陈述
PDF p.5, Section 3.4; category-based selection algorithm · PDF p.5
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Algorithm 1 Category-Based Alpha Selection generalizability and prevent overfitting, a separate validation set Input: categories C = {𝐶 1, ..., 𝐶𝑚 }, each 𝐶𝑖 containing a set of is utilized. This methodology establishes a robust framework for Alphas, confidence threshold 𝑋 selected Alphas A = {} predicting future yields based on historical alpha values, thus form- 1: for each category 𝐶𝑖 ∈ C do ing an effective investment strategy. The DNN model processes the 2: A𝑖 = SelectBestAlphas(𝐶𝑖 ); input data through the hidden layer, transforming it with learned 3: for each 𝛼 ∈ A𝑖 do weights and biases. The final output is generated by applying an- 4: if ConfidenceScore(𝛼) > 𝑋 then other set of weights, biases, and an activation function in the output 5: A = A ∪ {𝛼 }; layer. Our approach demonstrates the efficacy of leveraging deep 6: end if learning techniques to optimize alpha weights, thereby enhancing 7: end for the predictive performance of investment strategies. 8: end for 9: return A 4 Experiment Our research aims to develop a comprehensive LLM-driven alpha mining framework that operates without human intervention. This seed alpha factors from each category must meet specific confidence framework is uniquely capable of processing multimodal infor- score thresholds to be considered for the final selection, ensuring mation and adapting to varying market conditions. A critical in- that only the most reliable and robust alpha factors are chosen. novation in our system is the introduction of a confidence score, To automate the selection process, we designed the Category- designed to mitigate potential hallucinations during the LLM’s seed Based Alpha Selection algorithm. This algorithm identifies and alpha selection process. By integrating the results of seed alpha back selects alphas from different categories based on their confidence tests with multimodal market conditions, our framework enables a scores. The input consists of multiple categories, each containing more thorough understanding of market dynamics, and the senti- a set of alphas and a confidence threshold. The algorithm begins ments associated with each category of seed alphas. The primary with an empty set of selected alphas and iterates through each objectives of our research are as follows: Evaluate Framework Effec- category, using the SelectBestAlphas function to determine the most tiveness: Assess whether our LLM-driven framework can identify promising candidates. Each alpha’s confidence score is evaluated, alphas that are better suited to prevailing market conditions com- and those exceeding the threshold are included in the final set. This pared to traditional methods. Multimodal knowledge extraction: process repeats for all categories, ensuring a rigorous selection of Analyze the framework’s capability to process and integrate diverse alphas that meet the confidence criteria from all categories. The data inputs, enhancing its understanding of market dynamics and final output is a set of selected alphas that have successfully passed sentiment analysis. Confidence Scoring Mechanism: Investigate the confidence evaluation. the effectiveness of the confidence score in reducing the likelihood The multimodal and multi-agent evaluation stage leverages ad- of hallucinations during the alpha selection process. Overall Strat- vanced data integration and diverse analytical perspectives to en- egy Performance: Determine whether our comprehensive strategy, sure a comprehensive assessment of alpha factors. The incorpora- leveraging the LLM-driven framework, can outperform the market. tion of confidence scoring adds an additional layer of reliability, To validate the effectiveness of our framework, we have con- making the selection process more robust. This stage is crucial ducted a series of experiments addressing the following research for identifying the most promising alpha factors and constructing questions (RQs): a resilient investment strategy that can adapt to varying market • RQ1: Does the framework can achieve multimodal knowl- conditions. The integration of multimodal data sources and the edge extraction and capture the new alpha with the market utilization of a multi-agent system provide a nuanced and in-depth condition difference? evaluation, laying a solid foundation for the subsequent stages of • RQ2: Does our LLM-driven alpha mining framework outper- the framework. form current alpha factory in terms of trading effectiveness? • RQ3: Can our overall strategy, incorporating the LLM-driven 3.4 Optimal weight alpha strategy framework and confidence scoring, consistently beat the To optimize the weights of selected seed alphas, we employ a Deep market? Neural Network (DNN) to fit alpha values to future yields. The network architecture comprises three layers: an input layer, a hid- 4.1 Datasets den layer, and an output layer. The input layer takes daily alpha Our study focuses on financial data from the Chinese A-shares calculations derived from historical closing prices as input features. market, specifically targeting the SSE 50 Index. The dataset encom- The hidden layer, equipped with ten nodes, utilizes ReLU activa- passes six primary features as original inputs for our Alpha factors: tion functions to introduce non-linearity and enhance the model’s open, close, high, low, volume, and volume-weighted average price learning capability. [13] The output layer, consisting of a single (VWAP). To ensure rigorous evaluation and robust model perfor- node, predicts future yields. During the training phase, the network mance, the dataset is divided into distinct time periods: Training employs backpropagation and gradient descent to minimize the loss Set: January 1, 2021, to December 31, 2022 and Test Set: January 1, function, which quantifies the discrepancy between predicted and 2023, to December 31, 2023. Our experiments integrate financial actual yields. This iterative process adjusts the network’s weights reports and factor performances of the 50 constituent companies and biases to improve prediction accuracy. To ensure the model’s of the SSE 50 Index, providing a comprehensive view of the market.
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
解释性例子:把候选库想成一套工具箱。行情持续上涨时,筛选器可能选趋势工具;震荡时可能选均值回归工具。最终组合器还要学习每件工具如何共同影响排序。这个比喻解释模块分工,不是论文新增实验,也不保证工具选择正确。
解释性推断,不能当作论文直接支持的主张。
实验怎样检验这个方法
实验围绕上证50成分股,训练区间为2021年至2022年,测试为2023年。输入包含开高低收、成交量、VWAP及公司财报等材料。作者展示在不同新闻、财报和图表上下文下选择不同类别的因子。这样的案例说明系统会随输入改变选择,不等于单独证明选择变化一定带来收益,也不能自动推广至其他市场。 (原文:PDF p.6, Table 2; Section 4.2.1)
指标:实验围绕上证50成分股,训练区间为2021年至2022年,测试为2023年。输入包含开高低收、成交量、VWAP及公司财报等材料。作者展示在不同新闻、财报和图表上下文下选择不同类别的因子。这样的案例说明系统会随输入改变选择,不等于单独证明选择变化一定带来收益,也不能自动推广至其他市场。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Table 2; Section 4.2.1;条件及比较对象见陈述
PDF p.6, Table 2; Section 4.2.1 · PDF p.6
Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Trovato et al. Table 2: Summary of the experiment dataset Aspect Details Primary Features Open, Close, High, Low, Volume, VWAP Alpha Factors Custom factors based on price, volume, financial ratios, moving averages, senti- ment analysis Financial Reports Quarterly and Annual reports from SSE 50 constituent companies Time Periods - Training: Jan 1, 2021 - Dec 31, 2022 - Test: Jan 1, 2023 - Dec 31, 2023 Market Coverage SSE 50 Index, covering major sectors in the Chinese A-shares market Evaluation Criteria Causal relationships, Alpha factor per- formance, model robustness Figure 4: Multimodal LLM Analysis architecture Experiments demonstrate the framework’s effectiveness in multi- modal knowledge extraction and dynamic alpha selection under dif- ferent market conditions. (Figure 5) In Case 1, using SSE50 company announcements, financial statements, K-line charts, and trading charts from December 31, 2021, to September 30, 2022, the selected [14]The evaluation considers various datasets, including financial alphas included momentum and volume-based indicators such as reports from the specified periods and performance metrics of dif- price momentum, RSI, MACD, moving averages, Bollinger Bands, ferent Alpha factors. This extensive dataset allows us to identify volume, market cap, and EPS adjustments. In Case 2, focusing on causal relationships and patterns between financial features and incremental updated SSE50 related news, stock commentary, and Alpha factor performances. The diversified portfolio in our eval- the China Macroeconomic Index, the selected alphas emphasized uation comprises prominent companies within the SSE 50 Index, volatility and economic factors, including ATR, Bollinger Bands selected for their extensive market coverage and representation ratios, volume-based indicators with delays, gross profit and operat- across different sectors of the Chinese A-shares market. This selec- ing income ratios, and high/low price comparisons. The experiment tion underscores the versatility and consistency of our model across underscores the framework’s adaptability, capturing new opportu- various financial environments, showcasing its broad applicability nities by integrating diverse data sources and employing advanced and reliability. analytical models. This dynamic approach ensures the selected alphas are relevant and responsive to current market conditions, enhancing the robustness and effectiveness of investment strategies. 4.2 Research Questions 4.2.2 RQ2: Does our LLM-driven alpha mining framework outper- 4.2.1 RQ1: Does the framework can achieve multimodal knowledge form current alpha factory in terms of trading effectiveness? When extraction and capture the new alpha with the market condition dif- evaluating the performance of selected seed alpha signals, the pri- ference? We present a prompt architecture (Figure 4) that incorpo- mary metric is the Information Coefficient (IC). [25] These metrics rates multimodal market information into a Large Language Model provide insights into the predictive power of alpha values for future (LLM) to achieve multimodal knowledge extraction and select opti- returns. The Information Coefficient (IC) measures the correlation mal seed alphas under varying market conditions. By integrating between predicted alpha values and actual future returns. It is quan- textual data from financial news sentiment, numerical data from tified using Pearson’s correlation coefficient, which assesses the company financial statements, and visual data from trading charts, linear relationship between two variables. A higher IC indicates our framework provides comprehensive stock analysis. This data a stronger predictive relationship, meaning the alpha values are fusion ensures a holistic market view, enhancing decision-making. more effective at forecasting returns. Contextual analysis adjusts parameters based on market trends and sector performance, ensuring relevant and accurate alpha selection. 𝐼𝐶 = 𝜎 (𝑢, 𝑣)
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
结果说明了什么
作者采用每日重建组合、持有排名前13只并限制每日交易至多5只的设置,报告2023年累计收益53.17%,同期指数为-11.73%,EFund为-9.17%,Boshi Fund为-8.81%。这些是论文这一回测配置的报告值,不是实盘收益,也不是已在本站复现的结果。限制交易数量表达了控制成本的意图,但不能据此认定费率、滑点和交易可行性已经充分建模。 (原文:PDF p.7, Section 4.2.3; backtest results)
指标:作者采用每日重建组合、持有排名前13只并限制每日交易至多5只的设置,报告2023年累计收益53.17%,同期指数为-11.73%,EFund为-9.17%,Boshi Fund为-8.81%。这些是论文这一回测配置的报告值,不是实盘收益,也不是已在本站复现的结果。限制交易数量表达了控制成本的意图,但不能据此认定费率、滑点和交易可行性已经充分建模。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Section 4.2.3; backtest results;条件及比较对象见陈述
PDF p.7, Section 4.2.3; backtest results · PDF p.7
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Sel ect edAl phadependsondi ffer entcont ext Case1 Case2 the weight combination will drop to -0.055; once we remove the Cont ext :Text+Tabl e+l mage. Cont ext :Text+Tabl e+l mage. alpha #11, the weight combination will drop to merely 0.0491. This Text st :SSE50Li 09. 31-2022. 12. n2021. edCompanyAnnouncementi 30 Text :SSE50r elat edNewswi thsent imentDat aset i 12. n2021. 31 30 09. -2022. suggests that the seed alpha set selected by the LLM synergizes Tabl e:SSE50Li stedCompanyFi nicalSt atement in2021. 12. 31-2022. 09. 30 Tabl e:St ockcomment aryi nChi nesef orums2021. 12. 31-2022. 09. 30 l mage:Kl i nechar t& Tr adi ngchar tof$SE50i n2021. 12. 31-2022. 09. 30 l mage:Chi naMacr oeconomi cIndexi n2021. 31-2022. 12. 30 09. effectively, providing robust predictive power. [10] Sel ect edAl pha Sel ect edAl pha Table 3: An example combination of 12 alphas. ( CLOSE- DELAY( CLOSE. 14) ) ( RSI. DELAY( RSI ,14) ) ( ATR-DELAY( ATR,14) ) ( CLOSE- DELAY( SMA( CLOSE, 14) ,7) ) ( UPPERBAND-LOWERBAND) /SMA( CLOSE, 20) ( MA( CLOSE. 20) -CLOSE) ( VOLUME-DELAY( VOLUME,14) )/DELAY( VOLUME,14) ( SMA( ( CLOSE, MAX( HI 20) - GH,20) - CLOSE) CLOSE) ( GROSSPROFI T/REVENUE) # Alpha Weight IC(SSE50) ( 100- RSI ) ( OPERATI NG I NCOME/ REVENUE) ( BOLLUP. BOLLDOWN) /SMA( CLOSE,20) STD( / 10) CLOSE, STD( CLOSE,50) ( MAX( HIGH, 14) -CLOSE) /(MAX( HI 14) GH, N( -MI LOW, 14) )) *-100 1 (CLOSE - DELAY(CLOSE, 14)) -0.1459 0.0209 VOLUME/ MARKETCAP ( MAX( HIGH, 20) -CLOSE) ( VOLUME* CLOSE EPS/DELAY( EPS, 1)- 1) 2 (RSI - DELAY(RSI, 14)) -1.0265 -0.0225 3 (CLOSE - DELAY(SMA(CLOSE, 14), 7)) -0.1978 0.0193 4 (MA(CLOSE, 20) - CLOSE) 0.0556 -0.0186 5 (SMA(CLOSE, 20) - CLOSE) -0.945 -0.0186 Figure 5: Sample Experiment on Different Market Status 6 (MAX(HIGH, 20) - CLOSE) -0.4053 -0.0185 Input and Alpha Selection 7 (100-RSI) -0.3199 0.0194 8 (BOLL_UP - BOLL_DOWN) / SMA(CLOSE, 20) 3.6186 0.0278 9 STD(CLOSE, 10) / STD(CLOSE, 50) -0.183 0.0236 10 VOLUME / MARKET_CAP -3.2145 -0.0194 11 VOLUME * CLOSE -0.0058 0.0187 12 (EPS / DELAY(EPS, 1) - 1) -1.8351 -0.0215 Weighted Combination -0.0587 To address the question of whether our overall strategy, incor- porating the LLM-driven framework and confidence scoring, can consistently beat the market, we conducted a backtest using a straightforward investment approach during the period from Janu- ary 1, 2023, to December 31, 2023, on the SSE50 dataset. Our strategy involves a daily portfolio reconstruction based on a top- 𝑘/ drop −𝑛 selection process. Each trading day, we rank the stocks by their alpha values and select the top 𝑘 stocks for investment. We aim to distribute investments evenly among these selected stocks, but we limit our transactions to a maximum of 𝑛 stocks per day to reduce trading costs. For this experiment, we set 𝑘 to 13 and 𝑛 to 5 . The net worth progression of the respective strategies over the testing Figure 6: Average IC Comparation after LLM Selection period is shown in Figure 7. Despite not explicitly optimizing for absolute returns, our framework demonstrates impressive perfor- where 𝜎 (𝑢, 𝑣) is Pearson’s correlation coefficient between pre- mance in the backtest, achieving the highest profit compared to dicted alphas 𝑢 and actual future returns 𝑣. We evaluated four most other methods. Our cumulative return for 2023 backtest comes to common alpha categories: Momentum, Mean Reversion, Volatility, 53.17% positive and meanwhile the index performance is -11.73%, Fundamental and Growth. The figure 6 below shows the average EFund performance is -9.17% and the Boshi Fund performance is IC values for each category. The results demonstrate that our LLM- -8.81%. We also do the compression with others alpha mining work driven framework consistently achieves higher average IC values shows our framework are able to gain most profit in the market. across all categories, particularly in Volatility and Fundamental, in- This approach shows the potential of our LLM-driven frame- dicating superior trading effectiveness compared to the traditional work combined with confidence scoring to consistently outperform alpha factory. the market by adapting dynamically to changing conditions and minimizing costs through a disciplined investment strategy. 4.2.3 RQ3: Can our overall strategy, incorporating the LLM-driven framework and confidence scoring, consistently beat the market? 5 Related Work Table 3 presents an example combination of 12 alphas generated by our framework, evaluated on the SSE50 constituent stock set. The 5.1 Formulaic alphas table details the seed alphas selected by the LLM from each category, Formulaic alphas in quantitative investment refer to systematic, along with their respective weights and Information Coefficient rule-based strategies that generate excess returns by exploiting (IC) values. The weight combination IC value is quite high as - specific market patterns, anomalies, or inefficiencies. [15] These 0.0587. Although some of the seed alphas exhibit relatively low strategies use predefined mathematical models or algorithms and IC values individually, their removal results in a significant drop are often implemented through automated trading systems. The in the retrained combination weight, indicating their critical role common method for creating formulaic alphas is genetic program- in the overall performance. For example, if we remove alpha #6 ming involves structure and numerical mutations to generate new
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
必须同时读到反向证据:组合IC在表中为-0.0587,正文也保留这个负号,却称其很高;删去因子后写成-0.055或0.0491,又称为下降。IC是预测值与未来收益的相关性,这组正负号和“下降”的解释并不自洽。不能擅自把负号改成正号,也不能只展示赚钱数字而省略该矛盾。它需要作者澄清信号方向、定义或排版,当前不能用于证明组合协同已被可靠验证。 (原文:PDF p.7, Table 3; Section 4.2.3)
指标:必须同时读到反向证据:组合IC在表中为-0.0587,正文也保留这个负号,却称其很高;删去因子后写成-0.055或0.0491,又称为下降。IC是预测值与未来收益的相关性,这组正负号和“下降”的解释并不自洽。不能擅自把负号改成正号,也不能只展示赚钱数字而省略该矛盾。它需要作者澄清信号方向、定义或排版,当前不能用于证明组合协同已被可靠验证。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Table 3; Section 4.2.3;条件及比较对象见陈述
PDF p.7, Table 3; Section 4.2.3 · PDF p.7
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Sel ect edAl phadependsondi ffer entcont ext Case1 Case2 the weight combination will drop to -0.055; once we remove the Cont ext :Text+Tabl e+l mage. Cont ext :Text+Tabl e+l mage. alpha #11, the weight combination will drop to merely 0.0491. This Text st :SSE50Li 09. 31-2022. 12. n2021. edCompanyAnnouncementi 30 Text :SSE50r elat edNewswi thsent imentDat aset i 12. n2021. 31 30 09. -2022. suggests that the seed alpha set selected by the LLM synergizes Tabl e:SSE50Li stedCompanyFi nicalSt atement in2021. 12. 31-2022. 09. 30 Tabl e:St ockcomment aryi nChi nesef orums2021. 12. 31-2022. 09. 30 l mage:Kl i nechar t& Tr adi ngchar tof$SE50i n2021. 12. 31-2022. 09. 30 l mage:Chi naMacr oeconomi cIndexi n2021. 31-2022. 12. 30 09. effectively, providing robust predictive power. [10] Sel ect edAl pha Sel ect edAl pha Table 3: An example combination of 12 alphas. ( CLOSE- DELAY( CLOSE. 14) ) ( RSI. DELAY( RSI ,14) ) ( ATR-DELAY( ATR,14) ) ( CLOSE- DELAY( SMA( CLOSE, 14) ,7) ) ( UPPERBAND-LOWERBAND) /SMA( CLOSE, 20) ( MA( CLOSE. 20) -CLOSE) ( VOLUME-DELAY( VOLUME,14) )/DELAY( VOLUME,14) ( SMA( ( CLOSE, MAX( HI 20) - GH,20) - CLOSE) CLOSE) ( GROSSPROFI T/REVENUE) # Alpha Weight IC(SSE50) ( 100- RSI ) ( OPERATI NG I NCOME/ REVENUE) ( BOLLUP. BOLLDOWN) /SMA( CLOSE,20) STD( / 10) CLOSE, STD( CLOSE,50) ( MAX( HIGH, 14) -CLOSE) /(MAX( HI 14) GH, N( -MI LOW, 14) )) *-100 1 (CLOSE - DELAY(CLOSE, 14)) -0.1459 0.0209 VOLUME/ MARKETCAP ( MAX( HIGH, 20) -CLOSE) ( VOLUME* CLOSE EPS/DELAY( EPS, 1)- 1) 2 (RSI - DELAY(RSI, 14)) -1.0265 -0.0225 3 (CLOSE - DELAY(SMA(CLOSE, 14), 7)) -0.1978 0.0193 4 (MA(CLOSE, 20) - CLOSE) 0.0556 -0.0186 5 (SMA(CLOSE, 20) - CLOSE) -0.945 -0.0186 Figure 5: Sample Experiment on Different Market Status 6 (MAX(HIGH, 20) - CLOSE) -0.4053 -0.0185 Input and Alpha Selection 7 (100-RSI) -0.3199 0.0194 8 (BOLL_UP - BOLL_DOWN) / SMA(CLOSE, 20) 3.6186 0.0278 9 STD(CLOSE, 10) / STD(CLOSE, 50) -0.183 0.0236 10 VOLUME / MARKET_CAP -3.2145 -0.0194 11 VOLUME * CLOSE -0.0058 0.0187 12 (EPS / DELAY(EPS, 1) - 1) -1.8351 -0.0215 Weighted Combination -0.0587 To address the question of whether our overall strategy, incor- porating the LLM-driven framework and confidence scoring, can consistently beat the market, we conducted a backtest using a straightforward investment approach during the period from Janu- ary 1, 2023, to December 31, 2023, on the SSE50 dataset. Our strategy involves a daily portfolio reconstruction based on a top- 𝑘/ drop −𝑛 selection process. Each trading day, we rank the stocks by their alpha values and select the top 𝑘 stocks for investment. We aim to distribute investments evenly among these selected stocks, but we limit our transactions to a maximum of 𝑛 stocks per day to reduce trading costs. For this experiment, we set 𝑘 to 13 and 𝑛 to 5 . The net worth progression of the respective strategies over the testing Figure 6: Average IC Comparation after LLM Selection period is shown in Figure 7. Despite not explicitly optimizing for absolute returns, our framework demonstrates impressive perfor- where 𝜎 (𝑢, 𝑣) is Pearson’s correlation coefficient between pre- mance in the backtest, achieving the highest profit compared to dicted alphas 𝑢 and actual future returns 𝑣. We evaluated four most other methods. Our cumulative return for 2023 backtest comes to common alpha categories: Momentum, Mean Reversion, Volatility, 53.17% positive and meanwhile the index performance is -11.73%, Fundamental and Growth. The figure 6 below shows the average EFund performance is -9.17% and the Boshi Fund performance is IC values for each category. The results demonstrate that our LLM- -8.81%. We also do the compression with others alpha mining work driven framework consistently achieves higher average IC values shows our framework are able to gain most profit in the market. across all categories, particularly in Volatility and Fundamental, in- This approach shows the potential of our LLM-driven frame- dicating superior trading effectiveness compared to the traditional work combined with confidence scoring to consistently outperform alpha factory. the market by adapting dynamically to changing conditions and minimizing costs through a disciplined investment strategy. 4.2.3 RQ3: Can our overall strategy, incorporating the LLM-driven framework and confidence scoring, consistently beat the market? 5 Related Work Table 3 presents an example combination of 12 alphas generated by our framework, evaluated on the SSE50 constituent stock set. The 5.1 Formulaic alphas table details the seed alphas selected by the LLM from each category, Formulaic alphas in quantitative investment refer to systematic, along with their respective weights and Information Coefficient rule-based strategies that generate excess returns by exploiting (IC) values. The weight combination IC value is quite high as - specific market patterns, anomalies, or inefficiencies. [15] These 0.0587. Although some of the seed alphas exhibit relatively low strategies use predefined mathematical models or algorithms and IC values individually, their removal results in a significant drop are often implemented through automated trading systems. The in the retrained combination weight, indicating their critical role common method for creating formulaic alphas is genetic program- in the overall performance. For example, if we remove alpha #6 ming involves structure and numerical mutations to generate new
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
这篇论文哪里最强,哪里最危险
讨论把改成专家混合结构、引入金融知识图谱列为后续方向,因此不能把这些当作当前已经实现并验证的模块。结论对适用性描述很广,但本导读只保留已展示实验支持的范围。系统流程值得参考,泛化、置信机制的独立贡献和稳定获利仍是不同的待验证问题。 (原文:PDF p.9, Discussion; Conclusion)
指标:讨论把改成专家混合结构、引入金融知识图谱列为后续方向,因此不能把这些当作当前已经实现并验证的模块。结论对适用性描述很广,但本导读只保留已展示实验支持的范围。系统流程值得参考,泛化、置信机制的独立贡献和稳定获利仍是不同的待验证问题。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Discussion; Conclusion;条件及比较对象见陈述
PDF p.9, Discussion; Conclusion · PDF p.9
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY be combined into more expressive models and many more applica- Computational Linguistics (ACL), pages 1970–1979, 2018. tion scenarios. The concept of the “formulaic alpha” can solve many [8] Chi Chen, Li Zhao, Jiang Bian, Chunxiao Xing, and Tie-Yan Liu. Investment behaviors can tell what inside: Exploring stock intrinsic properties for stock forecasting problems in other subjects such as energy consumption trend prediction. In Proceedings of the 25th ACM SIGKDD International Conference prediction, anomaly detection, and biomedical applications. [45– on Knowledge Discovery & Data Mining, pages 2376–2384, 2019. [9] Frank J Fabozzi, Sergio M Focardi, and Petter N Kolm. Quantitative equity 47]The work also has potential future work, The current framework investing: Techniques and strategies. John Wiley & Sons, 2010. utilizes a multi-Agent architecture to evaluate market conditions [10] Feng Zhang, Ruite Guo, and Honggao Cao. Information coefficient as a perfor- and select alpha factors. Future work can explore transitioning mance measure of stock selection models, 2020. [11] OpenAI. Gpt-4 technical report, 2023. this architecture to a Mixture of Experts (MoE) structure, which [12] William F Sharpe. The sharpe ratio. Journal of portfolio management, 21(1):49–58, can improve learning efficiency and model performance. MoE can 1994. dynamically allocate computational resources to different "experts" [13] Yinpeng Chen and et al. Dynamic relu. In European Conference on Computer Vision. Springer International Publishing, 2020. based on the specific characteristics of the input data, thereby en- [14] Weiping Li and Feng Mei. Asset returns in deep learning methods: An empirical hancing the model’s ability to learn and distinguish category seed analysis on sse 50 and csi 300. Research in International Business and Finance, 54:101291, 2020. alphas features more effectively. [48]Another promising avenue for [15] Zura Kakushadze. 101 formulaic alphas. Wilmott, 2016(84):72–81, 2016. future research is the incorporation of financial knowledge graph [16] L. W. Cong, K. Tang, J. Wang, and Y. Zhang. Alphaportfolio: Direct construction techniques into the strategy development process. Financial mar- through deep reinforcement learning and interpretable ai, 2021. [17] Xiaoming Lin, Ye Chen, Ziyu Li, and Kang He. Stock alpha mining based on kets are inherently complex and interconnected, with numerous genetic algorithm. Technical report, Huatai Securities Research Center, 2019. dependencies between stocks, sectors, and economic indicators. [18] Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural [49] By introducing the knowledge graph information may help in Computation, 9(8):1735–1780, 1997. [19] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, our stock selection phase and achieve better performance in the Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. future. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett, editors, Advances in Neu- ral Information Processing Systems 30: Annual Conference on Neural Information 6 Conclusion Processing Systems 2017, pages 5998–6008, Long Beach, CA, USA, 2017. Neural Information Processing Systems Foundation. In this paper, we proposed a novel framework for quantitative stock [20] Tianqi Chen and Carlos Guestrin. Xgboost: A scalable tree boosting system. investment and portfolio management by leveraging advancements In Balaji Krishnapuram, Mohak Shah, Alexander J. Smola, Charu C. Aggarwal, Dou Shen, and Rajeev Rastogi, editors, Proceedings of the 22nd ACM SIGKDD in Large Language Models (LLMs) and multi-Agent architectures. International Conference on Knowledge Discovery and Data Mining, pages 785–794, Our framework addresses the challenges of instability and high San Francisco, CA, USA, 2016. ACM. uncertainty in existing models by integrating LLMs to generate [21] Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. Lightgbm: A highly efficient gradient boosting decision tree. diversified alphas and employing a multi-Agent approach to dy- In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob namically evaluate market conditions. The LLMs mine and generate Fergus, S. V. N. Vishwanathan, and Roman Garnett, editors, Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information potential alpha factors from a multimodal financial information Processing Systems 2017, pages 3146–3154, Long Beach, CA, USA, 2017. Neural landscape, providing a comprehensive understanding of market Information Processing Systems Foundation. dynamics and a rich set of predictive signals. Subsequently, we con- [22] Alejandro Barredo Arrieta and et al. Explainable artificial intelligence (xai): Concepts, taxonomies, opportunities and challenges toward responsible ai. Infor- struct a diverse pool of trading agents with various risk preferences mation Fusion, 58:82–115, 2020. through an multi-Agent approach, enabling personalized market [23] Liheng Zhang, Charu C. Aggarwal, and Guo-Jun Qi. Stock price prediction via insights and trading strategies. The final stage involves a sophis- discovering multi-frequency trading patterns. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages ticated weight deep learning mechanism that dynamically selects 2141–2149, Halifax, NS, Canada, 2017. ACM. and assigns weights to the most relevant agents based on real-time [24] Wentao Xu, Weiqing Liu, Chang Xu, Jiang Bian, Jian Yin, and Tie-Yan Liu. Rest: Relational event-driven stock trend forecasting. In Jure Leskovec, Marko Grobel- market conditions. Through extensive experiments on Chinese nik, Marc Najork, Jie Tang, and Leila Zia, editors, WWW ’21: The Web Conference stock markets, we demonstrate that our framework significantly 2021, pages 1–10, Virtual Event / Ljubljana, Slovenia, 2021. ACM / IW3C2. outperforms tranditional alpha generating SOTA works, human [25] Wentao Xu, Weiqing Liu, Lewen Wang, Yingce Xia, Jiang Bian, Jian Yin, and Tie-Yan Liu. Hist: A graph-based framework for stock trend forecasting via traders performance & index across multiple financial metrics. mining concept-oriented shared information, 2021. [26] Robert Novy-Marx. Fundamentally, momentum is fundamental momentum. Technical Report w20984, NBER, 2015. References [27] Y. Yang, Y. Tang, and K. Y. Tam. Investlm: A large language model for investment [1] Vladi Nikolov. 3 quantitative strategies based on alternative data. 2024. using financial domain instruction tuning, 2023. [2] I. Tulchinsky. Finding Alphas: A Quantitative Approach to Building Trading [28] S. Zhang, L. Dong, X. Li, S. Zhang, X. Sun, S. Wang, and et al. Instruction tuning Strategies. 2015. for large language models: A survey, 2023. [3] Eugene F Fama. Efficient capital markets: A review of theory and empirical work. [29] W. X. Zhao, K. Zhou, J. Li, T. Tang, X. Wang, Y. Hou, Y. Min, B. Zhang, J. Zhang, The Journal of Finance, 25(2):383–417, 1970. Z. Dong, and et al. A survey of large language models, 2023. [4] Franklin Allen and Risto Karjalainen. Using genetic algorithms to find technical [30] H. Touvron, T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T. Lacroix, B. Rozière, trading rules. Journal of Financial Economics, 51(2):245–271, 1999. N. Goyal, E. Hambro, F. Azhar, A. Rodriguez, A. Joulin, E. Grave, and G. Lample. [5] Can Cui, Wei Wang, Meihui Zhang, Gang Chen, Zhaojing Luo, and Beng Chin Llama: Open and efficient foundation language models, 2023. Ooi. Alphaevolve: A learning framework to discover novel alphas in quantitative [31] B. W. and et al. Bloom: A 176b-parameter open-access multilingual language investment. In Proceedings of the 2021 International Conference on Management model, 2023. of Data (SIGMOD ’21), pages 2208–2216, Virtual Event, China, 2021. ACM. [32] H. W. and et al. Scaling instruction-finetuned language models, 2022. [6] Shuo Yu, Hongyan Xue, Xiang Ao, Feiyang Pan, Jia He, Dandan Tu, and Qing He. [33] P. Lewis and et al. Retrieval-augmented generation for knowledge-intensive nlp Generating synergistic formulaic alpha collections via reinforcement learning. tasks. In NeurIPS, volume 33, pages 9459–9474, 2020. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and [34] K. J. Koa, Y. Ma, R. Ng, and T.-S. Chua. Learning to generate explainable stock Data Mining (KDD ’23), pages 5476–5486, New York, NY, USA, 2023. Association predictions using self-reflective large language models. In Proceedings of the for Computing Machinery. ACM on Web Conference 2024, pages 4304–4315, 2024. [7] Yumo Xu and Shay B Cohen. Stock movement prediction from tweets and [35] Li L, Chang T Y, and Wang H. Multimodal gen-ai for fundamental investment historical prices. In Proceedings of the 56th Annual Meeting of the Association for research, 2023.
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
代码从哪里读
核查建议:原文项目入口https://anonymous.4open.science/r/Automate-Strategy-Finding-with-LLM-in-Quant-investment-ADA2/本次访问未成功。未确认不代表没有开源;不能用同名或第三方仓库替代作者实现。本档未运行代码。
解释性推断,不能当作论文直接支持的主张。
读完后记住这三件事
记住三个区别:提出因子不等于验证因子;代理打分不等于校准概率;回测收益好看不等于整套证据无矛盾。本文最值得读的是流水线拆分,最不能忽视的是组合IC的符号与结论冲突。 (原文:PDF p.3, Section 2.3; Section 3.1;PDF p.5, Section 3.4; category-based selection algorithm;PDF p.6, Table 2; Section 4.2.1;PDF p.7, Section 4.2.3; backtest results;PDF p.7, Table 3; Section 4.2.3;PDF p.9, Discussion; Conclusion)
指标:一个量价公式可以给每只股票算出一个分数,这个分数就是这里的候选 Alpha。问题不只是能不能造出公式,还包括市场变化后该用哪些公式、怎样组合。作者把文献与市场材料交给语言模型,生成分类的候选库,再由不同风险偏好的代理选择,最后学习组合。这解决的是从候选知识到选股信号的流程组织,不是证明自然语言本身能预测价格。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Section 2.3; Section 3.1;条件及比较对象见陈述
PDF p.3, Section 2.3; Section 3.1 · PDF p.3
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY 3 Methodology This section details the methodology of a comprehensive frame- work for constructing and optimizing alpha strategies in quantita- tive trading. It introduces three key components: the Seed Alphas Factory, a multi-agent decision-making process, and a weight opti- mization approach. The Seed Alphas Factory is built using Large Language Models (LLMs) to filter and categorize multimodal data, creating a robust set of seed alphas. The multi-agent system evalu- ates and selects these alphas based on diverse risk preferences and market conditions, while a confidence scoring mechanism ensures reliability. Finally, the selected alphas’ weights are optimized using Figure 2: (A) An example of the seed alpha. (B) Its equivalent a Deep Neural Network (DNN) to predict future yields, forming the expression tree. (C) Step-by-step computation of this seed foundation for a dynamic and adaptable investment strategy. alpha on an example time series. 3.1 Overview of the Framework Our framework is structured into three primary components: the Alpha may loss function. Moreover, the reliance on structured fi- Seed Alphas Factory, multi-agent decision-making, and the weight nancial data, such as historical prices and fundamental indicators, optimization approach. (Figure 3) The initial phase utilizes a Large overlooks the rich insights that can be derived from alternative data Language Model (LLM) to filter and categorize multimodal docu- sources like economic news and social media trends. To address ments, constructing the Seed Alphas Factory. The LLM’s ability these challenges, we propose a novel framework that leverages to process vast and diverse datasets ensures a comprehensive and the exploratory power of Large Language Models (LLMs) and a robust set of seed alphas categorized into independent alpha cat- multi-agent system for seed alpha mining and selection. Our ap- egories, as established by finance alpha mining research. In the proach integrates state-of-the-art machine learning techniques with second phase, the framework employs a multimodal multi-agent financial principles to create a robust system capable of dynami- decision-making process. This multi-agent approach allows for the cally adjusting to market variability and optimizing alpha strategies incorporation of varied risk perspectives, enhancing the adaptabil- across 𝑘 categories of seed alphas. This multimodal framework links ity and robustness of the strategy across different market conditions. current market conditions with alpha back-test results, allowing The outcome of this phase is an alpha list suited to the current mar- LLMs to identify the most suitable seed alphas while assigning ket status and risk preferences. The final phase involves a weight confidence scores 𝜃 to ensure reliability. Specialized agents further optimization approach using deep learning methods to assess the customize the evaluation based on risk preferences and expertise, performance of each seed alpha and construct the overall strategy. ensuring a comprehensive and adaptive solution for maximizing The framework is designed to be dynamic, allowing for contin- returns and managing risks in diverse market environments. uous improvement and adaptation. As new research emerges and market conditions evolve, the Seed Alphas Factory can be incremen- 2.3 Seed Alpha Formulaic tally updated by providing additional information to the LLM. This Our framework sets a rule for the output of the LLM-generated seed continuous update mechanism ensures that the Seed Alphas Factory alphas, ensuring they are expressed as mathematical expressions remains relevant and robust over time. Similarly, the multi-agent that combine various operators with raw financial features. These decision-making process can adapt to changing market conditions operators include elementary functions such as addition ("+") and by selecting new sets of seed alphas, thereby maintaining the ef- logarithms ("log"), which are used on one-day data and are referred ficacy of the strategy. This methodology is versatile and can be to as cross-section operators. Additionally, there are time-series applied to any structured market globally. By integrating advanced operators that require data spanning multiple days. An example of LLM capabilities and multi-agent systems, this proposed methodol- a time-series operator is " (CLOSE - DELAY(SMA(CLOSE, 14),7)", ogy aims to replicate and enhance the sophisticated strategies used which measures the momentum by comparing the current closing in professional investment research. price to the 14-period Simple Moving Average (SMA) value from 7 periods ago, indicating whether the price is trending upward or downward relative to that past average, as illustrated in Figure 2 3.2 LLM Filter & Category (B). The first stage of our methodology involves the LLM Filter & Cat- The comprehensive list of seed alpha formulas used in our exper- egory process for alpha-related research. This stage utilizes the iments can be found in Appendix 2. It is important to note that with summarization and categorization capabilities of Large Language ongoing research and new data, some alpha formulas may undergo Models (LLMs) to expedite the understanding of recent alpha min- numerical adjustments, and others might be replaced with new ing research and to establish our Seed Alpha Factory for further seed alpha formulas. This reflects our commitment to incremental development. updates and the continuous refinement of our seed alpha factory For this study, we employed custom versions of ChatGPT, named to adapt to the latest market conditions and research insights. “Alpha Grail,” to perform the LLM filtering and categorization tasks.
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:选择器遍历候选类别,留下置信分超过阈值的因子。随后用每日因子值作输入、未来收益作监督目标,训练含隐藏层的神经网络,输出收益预测。也就是说,置信分负责筛选,拟合收益的网络负责组合;置信分不是已经校准的成功概率。文中强调独立验证集用于防止过拟合,但不能由这句目标性说明推导出所有数据泄漏都已排除。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Section 3.4; category-based selection algorithm;条件及比较对象见陈述
PDF p.5, Section 3.4; category-based selection algorithm · PDF p.5
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Algorithm 1 Category-Based Alpha Selection generalizability and prevent overfitting, a separate validation set Input: categories C = {𝐶 1, ..., 𝐶𝑚 }, each 𝐶𝑖 containing a set of is utilized. This methodology establishes a robust framework for Alphas, confidence threshold 𝑋 selected Alphas A = {} predicting future yields based on historical alpha values, thus form- 1: for each category 𝐶𝑖 ∈ C do ing an effective investment strategy. The DNN model processes the 2: A𝑖 = SelectBestAlphas(𝐶𝑖 ); input data through the hidden layer, transforming it with learned 3: for each 𝛼 ∈ A𝑖 do weights and biases. The final output is generated by applying an- 4: if ConfidenceScore(𝛼) > 𝑋 then other set of weights, biases, and an activation function in the output 5: A = A ∪ {𝛼 }; layer. Our approach demonstrates the efficacy of leveraging deep 6: end if learning techniques to optimize alpha weights, thereby enhancing 7: end for the predictive performance of investment strategies. 8: end for 9: return A 4 Experiment Our research aims to develop a comprehensive LLM-driven alpha mining framework that operates without human intervention. This seed alpha factors from each category must meet specific confidence framework is uniquely capable of processing multimodal infor- score thresholds to be considered for the final selection, ensuring mation and adapting to varying market conditions. A critical in- that only the most reliable and robust alpha factors are chosen. novation in our system is the introduction of a confidence score, To automate the selection process, we designed the Category- designed to mitigate potential hallucinations during the LLM’s seed Based Alpha Selection algorithm. This algorithm identifies and alpha selection process. By integrating the results of seed alpha back selects alphas from different categories based on their confidence tests with multimodal market conditions, our framework enables a scores. The input consists of multiple categories, each containing more thorough understanding of market dynamics, and the senti- a set of alphas and a confidence threshold. The algorithm begins ments associated with each category of seed alphas. The primary with an empty set of selected alphas and iterates through each objectives of our research are as follows: Evaluate Framework Effec- category, using the SelectBestAlphas function to determine the most tiveness: Assess whether our LLM-driven framework can identify promising candidates. Each alpha’s confidence score is evaluated, alphas that are better suited to prevailing market conditions com- and those exceeding the threshold are included in the final set. This pared to traditional methods. Multimodal knowledge extraction: process repeats for all categories, ensuring a rigorous selection of Analyze the framework’s capability to process and integrate diverse alphas that meet the confidence criteria from all categories. The data inputs, enhancing its understanding of market dynamics and final output is a set of selected alphas that have successfully passed sentiment analysis. Confidence Scoring Mechanism: Investigate the confidence evaluation. the effectiveness of the confidence score in reducing the likelihood The multimodal and multi-agent evaluation stage leverages ad- of hallucinations during the alpha selection process. Overall Strat- vanced data integration and diverse analytical perspectives to en- egy Performance: Determine whether our comprehensive strategy, sure a comprehensive assessment of alpha factors. The incorpora- leveraging the LLM-driven framework, can outperform the market. tion of confidence scoring adds an additional layer of reliability, To validate the effectiveness of our framework, we have con- making the selection process more robust. This stage is crucial ducted a series of experiments addressing the following research for identifying the most promising alpha factors and constructing questions (RQs): a resilient investment strategy that can adapt to varying market • RQ1: Does the framework can achieve multimodal knowl- conditions. The integration of multimodal data sources and the edge extraction and capture the new alpha with the market utilization of a multi-agent system provide a nuanced and in-depth condition difference? evaluation, laying a solid foundation for the subsequent stages of • RQ2: Does our LLM-driven alpha mining framework outper- the framework. form current alpha factory in terms of trading effectiveness? • RQ3: Can our overall strategy, incorporating the LLM-driven 3.4 Optimal weight alpha strategy framework and confidence scoring, consistently beat the To optimize the weights of selected seed alphas, we employ a Deep market? Neural Network (DNN) to fit alpha values to future yields. The network architecture comprises three layers: an input layer, a hid- 4.1 Datasets den layer, and an output layer. The input layer takes daily alpha Our study focuses on financial data from the Chinese A-shares calculations derived from historical closing prices as input features. market, specifically targeting the SSE 50 Index. The dataset encom- The hidden layer, equipped with ten nodes, utilizes ReLU activa- passes six primary features as original inputs for our Alpha factors: tion functions to introduce non-linearity and enhance the model’s open, close, high, low, volume, and volume-weighted average price learning capability. [13] The output layer, consisting of a single (VWAP). To ensure rigorous evaluation and robust model perfor- node, predicts future yields. During the training phase, the network mance, the dataset is divided into distinct time periods: Training employs backpropagation and gradient descent to minimize the loss Set: January 1, 2021, to December 31, 2022 and Test Set: January 1, function, which quantifies the discrepancy between predicted and 2023, to December 31, 2023. Our experiments integrate financial actual yields. This iterative process adjusts the network’s weights reports and factor performances of the 50 constituent companies and biases to improve prediction accuracy. To ensure the model’s of the SSE 50 Index, providing a comprehensive view of the market.
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:实验围绕上证50成分股,训练区间为2021年至2022年,测试为2023年。输入包含开高低收、成交量、VWAP及公司财报等材料。作者展示在不同新闻、财报和图表上下文下选择不同类别的因子。这样的案例说明系统会随输入改变选择,不等于单独证明选择变化一定带来收益,也不能自动推广至其他市场。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Table 2; Section 4.2.1;条件及比较对象见陈述
PDF p.6, Table 2; Section 4.2.1 · PDF p.6
Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Trovato et al. Table 2: Summary of the experiment dataset Aspect Details Primary Features Open, Close, High, Low, Volume, VWAP Alpha Factors Custom factors based on price, volume, financial ratios, moving averages, senti- ment analysis Financial Reports Quarterly and Annual reports from SSE 50 constituent companies Time Periods - Training: Jan 1, 2021 - Dec 31, 2022 - Test: Jan 1, 2023 - Dec 31, 2023 Market Coverage SSE 50 Index, covering major sectors in the Chinese A-shares market Evaluation Criteria Causal relationships, Alpha factor per- formance, model robustness Figure 4: Multimodal LLM Analysis architecture Experiments demonstrate the framework’s effectiveness in multi- modal knowledge extraction and dynamic alpha selection under dif- ferent market conditions. (Figure 5) In Case 1, using SSE50 company announcements, financial statements, K-line charts, and trading charts from December 31, 2021, to September 30, 2022, the selected [14]The evaluation considers various datasets, including financial alphas included momentum and volume-based indicators such as reports from the specified periods and performance metrics of dif- price momentum, RSI, MACD, moving averages, Bollinger Bands, ferent Alpha factors. This extensive dataset allows us to identify volume, market cap, and EPS adjustments. In Case 2, focusing on causal relationships and patterns between financial features and incremental updated SSE50 related news, stock commentary, and Alpha factor performances. The diversified portfolio in our eval- the China Macroeconomic Index, the selected alphas emphasized uation comprises prominent companies within the SSE 50 Index, volatility and economic factors, including ATR, Bollinger Bands selected for their extensive market coverage and representation ratios, volume-based indicators with delays, gross profit and operat- across different sectors of the Chinese A-shares market. This selec- ing income ratios, and high/low price comparisons. The experiment tion underscores the versatility and consistency of our model across underscores the framework’s adaptability, capturing new opportu- various financial environments, showcasing its broad applicability nities by integrating diverse data sources and employing advanced and reliability. analytical models. This dynamic approach ensures the selected alphas are relevant and responsive to current market conditions, enhancing the robustness and effectiveness of investment strategies. 4.2 Research Questions 4.2.2 RQ2: Does our LLM-driven alpha mining framework outper- 4.2.1 RQ1: Does the framework can achieve multimodal knowledge form current alpha factory in terms of trading effectiveness? When extraction and capture the new alpha with the market condition dif- evaluating the performance of selected seed alpha signals, the pri- ference? We present a prompt architecture (Figure 4) that incorpo- mary metric is the Information Coefficient (IC). [25] These metrics rates multimodal market information into a Large Language Model provide insights into the predictive power of alpha values for future (LLM) to achieve multimodal knowledge extraction and select opti- returns. The Information Coefficient (IC) measures the correlation mal seed alphas under varying market conditions. By integrating between predicted alpha values and actual future returns. It is quan- textual data from financial news sentiment, numerical data from tified using Pearson’s correlation coefficient, which assesses the company financial statements, and visual data from trading charts, linear relationship between two variables. A higher IC indicates our framework provides comprehensive stock analysis. This data a stronger predictive relationship, meaning the alpha values are fusion ensures a holistic market view, enhancing decision-making. more effective at forecasting returns. Contextual analysis adjusts parameters based on market trends and sector performance, ensuring relevant and accurate alpha selection. 𝐼𝐶 = 𝜎 (𝑢, 𝑣)
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:作者采用每日重建组合、持有排名前13只并限制每日交易至多5只的设置,报告2023年累计收益53.17%,同期指数为-11.73%,EFund为-9.17%,Boshi Fund为-8.81%。这些是论文这一回测配置的报告值,不是实盘收益,也不是已在本站复现的结果。限制交易数量表达了控制成本的意图,但不能据此认定费率、滑点和交易可行性已经充分建模。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Section 4.2.3; backtest results;条件及比较对象见陈述
PDF p.7, Section 4.2.3; backtest results · PDF p.7
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Sel ect edAl phadependsondi ffer entcont ext Case1 Case2 the weight combination will drop to -0.055; once we remove the Cont ext :Text+Tabl e+l mage. Cont ext :Text+Tabl e+l mage. alpha #11, the weight combination will drop to merely 0.0491. This Text st :SSE50Li 09. 31-2022. 12. n2021. edCompanyAnnouncementi 30 Text :SSE50r elat edNewswi thsent imentDat aset i 12. n2021. 31 30 09. -2022. suggests that the seed alpha set selected by the LLM synergizes Tabl e:SSE50Li stedCompanyFi nicalSt atement in2021. 12. 31-2022. 09. 30 Tabl e:St ockcomment aryi nChi nesef orums2021. 12. 31-2022. 09. 30 l mage:Kl i nechar t& Tr adi ngchar tof$SE50i n2021. 12. 31-2022. 09. 30 l mage:Chi naMacr oeconomi cIndexi n2021. 31-2022. 12. 30 09. effectively, providing robust predictive power. [10] Sel ect edAl pha Sel ect edAl pha Table 3: An example combination of 12 alphas. ( CLOSE- DELAY( CLOSE. 14) ) ( RSI. DELAY( RSI ,14) ) ( ATR-DELAY( ATR,14) ) ( CLOSE- DELAY( SMA( CLOSE, 14) ,7) ) ( UPPERBAND-LOWERBAND) /SMA( CLOSE, 20) ( MA( CLOSE. 20) -CLOSE) ( VOLUME-DELAY( VOLUME,14) )/DELAY( VOLUME,14) ( SMA( ( CLOSE, MAX( HI 20) - GH,20) - CLOSE) CLOSE) ( GROSSPROFI T/REVENUE) # Alpha Weight IC(SSE50) ( 100- RSI ) ( OPERATI NG I NCOME/ REVENUE) ( BOLLUP. BOLLDOWN) /SMA( CLOSE,20) STD( / 10) CLOSE, STD( CLOSE,50) ( MAX( HIGH, 14) -CLOSE) /(MAX( HI 14) GH, N( -MI LOW, 14) )) *-100 1 (CLOSE - DELAY(CLOSE, 14)) -0.1459 0.0209 VOLUME/ MARKETCAP ( MAX( HIGH, 20) -CLOSE) ( VOLUME* CLOSE EPS/DELAY( EPS, 1)- 1) 2 (RSI - DELAY(RSI, 14)) -1.0265 -0.0225 3 (CLOSE - DELAY(SMA(CLOSE, 14), 7)) -0.1978 0.0193 4 (MA(CLOSE, 20) - CLOSE) 0.0556 -0.0186 5 (SMA(CLOSE, 20) - CLOSE) -0.945 -0.0186 Figure 5: Sample Experiment on Different Market Status 6 (MAX(HIGH, 20) - CLOSE) -0.4053 -0.0185 Input and Alpha Selection 7 (100-RSI) -0.3199 0.0194 8 (BOLL_UP - BOLL_DOWN) / SMA(CLOSE, 20) 3.6186 0.0278 9 STD(CLOSE, 10) / STD(CLOSE, 50) -0.183 0.0236 10 VOLUME / MARKET_CAP -3.2145 -0.0194 11 VOLUME * CLOSE -0.0058 0.0187 12 (EPS / DELAY(EPS, 1) - 1) -1.8351 -0.0215 Weighted Combination -0.0587 To address the question of whether our overall strategy, incor- porating the LLM-driven framework and confidence scoring, can consistently beat the market, we conducted a backtest using a straightforward investment approach during the period from Janu- ary 1, 2023, to December 31, 2023, on the SSE50 dataset. Our strategy involves a daily portfolio reconstruction based on a top- 𝑘/ drop −𝑛 selection process. Each trading day, we rank the stocks by their alpha values and select the top 𝑘 stocks for investment. We aim to distribute investments evenly among these selected stocks, but we limit our transactions to a maximum of 𝑛 stocks per day to reduce trading costs. For this experiment, we set 𝑘 to 13 and 𝑛 to 5 . The net worth progression of the respective strategies over the testing Figure 6: Average IC Comparation after LLM Selection period is shown in Figure 7. Despite not explicitly optimizing for absolute returns, our framework demonstrates impressive perfor- where 𝜎 (𝑢, 𝑣) is Pearson’s correlation coefficient between pre- mance in the backtest, achieving the highest profit compared to dicted alphas 𝑢 and actual future returns 𝑣. We evaluated four most other methods. Our cumulative return for 2023 backtest comes to common alpha categories: Momentum, Mean Reversion, Volatility, 53.17% positive and meanwhile the index performance is -11.73%, Fundamental and Growth. The figure 6 below shows the average EFund performance is -9.17% and the Boshi Fund performance is IC values for each category. The results demonstrate that our LLM- -8.81%. We also do the compression with others alpha mining work driven framework consistently achieves higher average IC values shows our framework are able to gain most profit in the market. across all categories, particularly in Volatility and Fundamental, in- This approach shows the potential of our LLM-driven frame- dicating superior trading effectiveness compared to the traditional work combined with confidence scoring to consistently outperform alpha factory. the market by adapting dynamically to changing conditions and minimizing costs through a disciplined investment strategy. 4.2.3 RQ3: Can our overall strategy, incorporating the LLM-driven framework and confidence scoring, consistently beat the market? 5 Related Work Table 3 presents an example combination of 12 alphas generated by our framework, evaluated on the SSE50 constituent stock set. The 5.1 Formulaic alphas table details the seed alphas selected by the LLM from each category, Formulaic alphas in quantitative investment refer to systematic, along with their respective weights and Information Coefficient rule-based strategies that generate excess returns by exploiting (IC) values. The weight combination IC value is quite high as - specific market patterns, anomalies, or inefficiencies. [15] These 0.0587. Although some of the seed alphas exhibit relatively low strategies use predefined mathematical models or algorithms and IC values individually, their removal results in a significant drop are often implemented through automated trading systems. The in the retrained combination weight, indicating their critical role common method for creating formulaic alphas is genetic program- in the overall performance. For example, if we remove alpha #6 ming involves structure and numerical mutations to generate new
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:必须同时读到反向证据:组合IC在表中为-0.0587,正文也保留这个负号,却称其很高;删去因子后写成-0.055或0.0491,又称为下降。IC是预测值与未来收益的相关性,这组正负号和“下降”的解释并不自洽。不能擅自把负号改成正号,也不能只展示赚钱数字而省略该矛盾。它需要作者澄清信号方向、定义或排版,当前不能用于证明组合协同已被可靠验证。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Table 3; Section 4.2.3;条件及比较对象见陈述
PDF p.7, Table 3; Section 4.2.3 · PDF p.7
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY Sel ect edAl phadependsondi ffer entcont ext Case1 Case2 the weight combination will drop to -0.055; once we remove the Cont ext :Text+Tabl e+l mage. Cont ext :Text+Tabl e+l mage. alpha #11, the weight combination will drop to merely 0.0491. This Text st :SSE50Li 09. 31-2022. 12. n2021. edCompanyAnnouncementi 30 Text :SSE50r elat edNewswi thsent imentDat aset i 12. n2021. 31 30 09. -2022. suggests that the seed alpha set selected by the LLM synergizes Tabl e:SSE50Li stedCompanyFi nicalSt atement in2021. 12. 31-2022. 09. 30 Tabl e:St ockcomment aryi nChi nesef orums2021. 12. 31-2022. 09. 30 l mage:Kl i nechar t& Tr adi ngchar tof$SE50i n2021. 12. 31-2022. 09. 30 l mage:Chi naMacr oeconomi cIndexi n2021. 31-2022. 12. 30 09. effectively, providing robust predictive power. [10] Sel ect edAl pha Sel ect edAl pha Table 3: An example combination of 12 alphas. ( CLOSE- DELAY( CLOSE. 14) ) ( RSI. DELAY( RSI ,14) ) ( ATR-DELAY( ATR,14) ) ( CLOSE- DELAY( SMA( CLOSE, 14) ,7) ) ( UPPERBAND-LOWERBAND) /SMA( CLOSE, 20) ( MA( CLOSE. 20) -CLOSE) ( VOLUME-DELAY( VOLUME,14) )/DELAY( VOLUME,14) ( SMA( ( CLOSE, MAX( HI 20) - GH,20) - CLOSE) CLOSE) ( GROSSPROFI T/REVENUE) # Alpha Weight IC(SSE50) ( 100- RSI ) ( OPERATI NG I NCOME/ REVENUE) ( BOLLUP. BOLLDOWN) /SMA( CLOSE,20) STD( / 10) CLOSE, STD( CLOSE,50) ( MAX( HIGH, 14) -CLOSE) /(MAX( HI 14) GH, N( -MI LOW, 14) )) *-100 1 (CLOSE - DELAY(CLOSE, 14)) -0.1459 0.0209 VOLUME/ MARKETCAP ( MAX( HIGH, 20) -CLOSE) ( VOLUME* CLOSE EPS/DELAY( EPS, 1)- 1) 2 (RSI - DELAY(RSI, 14)) -1.0265 -0.0225 3 (CLOSE - DELAY(SMA(CLOSE, 14), 7)) -0.1978 0.0193 4 (MA(CLOSE, 20) - CLOSE) 0.0556 -0.0186 5 (SMA(CLOSE, 20) - CLOSE) -0.945 -0.0186 Figure 5: Sample Experiment on Different Market Status 6 (MAX(HIGH, 20) - CLOSE) -0.4053 -0.0185 Input and Alpha Selection 7 (100-RSI) -0.3199 0.0194 8 (BOLL_UP - BOLL_DOWN) / SMA(CLOSE, 20) 3.6186 0.0278 9 STD(CLOSE, 10) / STD(CLOSE, 50) -0.183 0.0236 10 VOLUME / MARKET_CAP -3.2145 -0.0194 11 VOLUME * CLOSE -0.0058 0.0187 12 (EPS / DELAY(EPS, 1) - 1) -1.8351 -0.0215 Weighted Combination -0.0587 To address the question of whether our overall strategy, incor- porating the LLM-driven framework and confidence scoring, can consistently beat the market, we conducted a backtest using a straightforward investment approach during the period from Janu- ary 1, 2023, to December 31, 2023, on the SSE50 dataset. Our strategy involves a daily portfolio reconstruction based on a top- 𝑘/ drop −𝑛 selection process. Each trading day, we rank the stocks by their alpha values and select the top 𝑘 stocks for investment. We aim to distribute investments evenly among these selected stocks, but we limit our transactions to a maximum of 𝑛 stocks per day to reduce trading costs. For this experiment, we set 𝑘 to 13 and 𝑛 to 5 . The net worth progression of the respective strategies over the testing Figure 6: Average IC Comparation after LLM Selection period is shown in Figure 7. Despite not explicitly optimizing for absolute returns, our framework demonstrates impressive perfor- where 𝜎 (𝑢, 𝑣) is Pearson’s correlation coefficient between pre- mance in the backtest, achieving the highest profit compared to dicted alphas 𝑢 and actual future returns 𝑣. We evaluated four most other methods. Our cumulative return for 2023 backtest comes to common alpha categories: Momentum, Mean Reversion, Volatility, 53.17% positive and meanwhile the index performance is -11.73%, Fundamental and Growth. The figure 6 below shows the average EFund performance is -9.17% and the Boshi Fund performance is IC values for each category. The results demonstrate that our LLM- -8.81%. We also do the compression with others alpha mining work driven framework consistently achieves higher average IC values shows our framework are able to gain most profit in the market. across all categories, particularly in Volatility and Fundamental, in- This approach shows the potential of our LLM-driven frame- dicating superior trading effectiveness compared to the traditional work combined with confidence scoring to consistently outperform alpha factory. the market by adapting dynamically to changing conditions and minimizing costs through a disciplined investment strategy. 4.2.3 RQ3: Can our overall strategy, incorporating the LLM-driven framework and confidence scoring, consistently beat the market? 5 Related Work Table 3 presents an example combination of 12 alphas generated by our framework, evaluated on the SSE50 constituent stock set. The 5.1 Formulaic alphas table details the seed alphas selected by the LLM from each category, Formulaic alphas in quantitative investment refer to systematic, along with their respective weights and Information Coefficient rule-based strategies that generate excess returns by exploiting (IC) values. The weight combination IC value is quite high as - specific market patterns, anomalies, or inefficiencies. [15] These 0.0587. Although some of the seed alphas exhibit relatively low strategies use predefined mathematical models or algorithms and IC values individually, their removal results in a significant drop are often implemented through automated trading systems. The in the retrained combination weight, indicating their critical role common method for creating formulaic alphas is genetic program- in the overall performance. For example, if we remove alpha #6 ming involves structure and numerical mutations to generate new
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。
指标:讨论把改成专家混合结构、引入金融知识图谱列为后续方向,因此不能把这些当作当前已经实现并验证的模块。结论对适用性描述很广,但本导读只保留已展示实验支持的范围。系统流程值得参考,泛化、置信机制的独立贡献和稳定获利仍是不同的待验证问题。
条件:本地全文 arXiv:2409.06289v1(2024-09-10),Discussion; Conclusion;条件及比较对象见陈述
PDF p.9, Discussion; Conclusion · PDF p.9
Automate Strategy Finding with LLM in Quant investment Conference acronym ’XX, June 03–05, 2018, Woodstock, NY be combined into more expressive models and many more applica- Computational Linguistics (ACL), pages 1970–1979, 2018. tion scenarios. The concept of the “formulaic alpha” can solve many [8] Chi Chen, Li Zhao, Jiang Bian, Chunxiao Xing, and Tie-Yan Liu. Investment behaviors can tell what inside: Exploring stock intrinsic properties for stock forecasting problems in other subjects such as energy consumption trend prediction. In Proceedings of the 25th ACM SIGKDD International Conference prediction, anomaly detection, and biomedical applications. [45– on Knowledge Discovery & Data Mining, pages 2376–2384, 2019. [9] Frank J Fabozzi, Sergio M Focardi, and Petter N Kolm. Quantitative equity 47]The work also has potential future work, The current framework investing: Techniques and strategies. John Wiley & Sons, 2010. utilizes a multi-Agent architecture to evaluate market conditions [10] Feng Zhang, Ruite Guo, and Honggao Cao. Information coefficient as a perfor- and select alpha factors. Future work can explore transitioning mance measure of stock selection models, 2020. [11] OpenAI. Gpt-4 technical report, 2023. this architecture to a Mixture of Experts (MoE) structure, which [12] William F Sharpe. The sharpe ratio. Journal of portfolio management, 21(1):49–58, can improve learning efficiency and model performance. MoE can 1994. dynamically allocate computational resources to different "experts" [13] Yinpeng Chen and et al. Dynamic relu. In European Conference on Computer Vision. Springer International Publishing, 2020. based on the specific characteristics of the input data, thereby en- [14] Weiping Li and Feng Mei. Asset returns in deep learning methods: An empirical hancing the model’s ability to learn and distinguish category seed analysis on sse 50 and csi 300. Research in International Business and Finance, 54:101291, 2020. alphas features more effectively. [48]Another promising avenue for [15] Zura Kakushadze. 101 formulaic alphas. Wilmott, 2016(84):72–81, 2016. future research is the incorporation of financial knowledge graph [16] L. W. Cong, K. Tang, J. Wang, and Y. Zhang. Alphaportfolio: Direct construction techniques into the strategy development process. Financial mar- through deep reinforcement learning and interpretable ai, 2021. [17] Xiaoming Lin, Ye Chen, Ziyu Li, and Kang He. Stock alpha mining based on kets are inherently complex and interconnected, with numerous genetic algorithm. Technical report, Huatai Securities Research Center, 2019. dependencies between stocks, sectors, and economic indicators. [18] Sepp Hochreiter and Jürgen Schmidhuber. Long short-term memory. Neural [49] By introducing the knowledge graph information may help in Computation, 9(8):1735–1780, 1997. [19] Ashish Vaswani, Noam Shazeer, Niki Parmar, Jakob Uszkoreit, Llion Jones, our stock selection phase and achieve better performance in the Aidan N. Gomez, Lukasz Kaiser, and Illia Polosukhin. Attention is all you need. future. In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob Fergus, S. V. N. Vishwanathan, and Roman Garnett, editors, Advances in Neu- ral Information Processing Systems 30: Annual Conference on Neural Information 6 Conclusion Processing Systems 2017, pages 5998–6008, Long Beach, CA, USA, 2017. Neural Information Processing Systems Foundation. In this paper, we proposed a novel framework for quantitative stock [20] Tianqi Chen and Carlos Guestrin. Xgboost: A scalable tree boosting system. investment and portfolio management by leveraging advancements In Balaji Krishnapuram, Mohak Shah, Alexander J. Smola, Charu C. Aggarwal, Dou Shen, and Rajeev Rastogi, editors, Proceedings of the 22nd ACM SIGKDD in Large Language Models (LLMs) and multi-Agent architectures. International Conference on Knowledge Discovery and Data Mining, pages 785–794, Our framework addresses the challenges of instability and high San Francisco, CA, USA, 2016. ACM. uncertainty in existing models by integrating LLMs to generate [21] Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. Lightgbm: A highly efficient gradient boosting decision tree. diversified alphas and employing a multi-Agent approach to dy- In Isabelle Guyon, Ulrike von Luxburg, Samy Bengio, Hanna M. Wallach, Rob namically evaluate market conditions. The LLMs mine and generate Fergus, S. V. N. Vishwanathan, and Roman Garnett, editors, Advances in Neural Information Processing Systems 30: Annual Conference on Neural Information potential alpha factors from a multimodal financial information Processing Systems 2017, pages 3146–3154, Long Beach, CA, USA, 2017. Neural landscape, providing a comprehensive understanding of market Information Processing Systems Foundation. dynamics and a rich set of predictive signals. Subsequently, we con- [22] Alejandro Barredo Arrieta and et al. Explainable artificial intelligence (xai): Concepts, taxonomies, opportunities and challenges toward responsible ai. Infor- struct a diverse pool of trading agents with various risk preferences mation Fusion, 58:82–115, 2020. through an multi-Agent approach, enabling personalized market [23] Liheng Zhang, Charu C. Aggarwal, and Guo-Jun Qi. Stock price prediction via insights and trading strategies. The final stage involves a sophis- discovering multi-frequency trading patterns. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages ticated weight deep learning mechanism that dynamically selects 2141–2149, Halifax, NS, Canada, 2017. ACM. and assigns weights to the most relevant agents based on real-time [24] Wentao Xu, Weiqing Liu, Chang Xu, Jiang Bian, Jian Yin, and Tie-Yan Liu. Rest: Relational event-driven stock trend forecasting. In Jure Leskovec, Marko Grobel- market conditions. Through extensive experiments on Chinese nik, Marc Najork, Jie Tang, and Leila Zia, editors, WWW ’21: The Web Conference stock markets, we demonstrate that our framework significantly 2021, pages 1–10, Virtual Event / Ljubljana, Slovenia, 2021. ACM / IW3C2. outperforms tranditional alpha generating SOTA works, human [25] Wentao Xu, Weiqing Liu, Lewen Wang, Yingce Xia, Jiang Bian, Jian Yin, and Tie-Yan Liu. Hist: A graph-based framework for stock trend forecasting via traders performance & index across multiple financial metrics. mining concept-oriented shared information, 2021. [26] Robert Novy-Marx. Fundamentally, momentum is fundamental momentum. Technical Report w20984, NBER, 2015. References [27] Y. Yang, Y. Tang, and K. Y. Tam. Investlm: A large language model for investment [1] Vladi Nikolov. 3 quantitative strategies based on alternative data. 2024. using financial domain instruction tuning, 2023. [2] I. Tulchinsky. Finding Alphas: A Quantitative Approach to Building Trading [28] S. Zhang, L. Dong, X. Li, S. Zhang, X. Sun, S. Wang, and et al. Instruction tuning Strategies. 2015. for large language models: A survey, 2023. [3] Eugene F Fama. Efficient capital markets: A review of theory and empirical work. [29] W. X. Zhao, K. Zhou, J. Li, T. Tang, X. Wang, Y. Hou, Y. Min, B. Zhang, J. Zhang, The Journal of Finance, 25(2):383–417, 1970. Z. Dong, and et al. A survey of large language models, 2023. [4] Franklin Allen and Risto Karjalainen. Using genetic algorithms to find technical [30] H. Touvron, T. Lavril, G. Izacard, X. Martinet, M.-A. Lachaux, T. Lacroix, B. Rozière, trading rules. Journal of Financial Economics, 51(2):245–271, 1999. N. Goyal, E. Hambro, F. Azhar, A. Rodriguez, A. Joulin, E. Grave, and G. Lample. [5] Can Cui, Wei Wang, Meihui Zhang, Gang Chen, Zhaojing Luo, and Beng Chin Llama: Open and efficient foundation language models, 2023. Ooi. Alphaevolve: A learning framework to discover novel alphas in quantitative [31] B. W. and et al. Bloom: A 176b-parameter open-access multilingual language investment. In Proceedings of the 2021 International Conference on Management model, 2023. of Data (SIGMOD ’21), pages 2208–2216, Virtual Event, China, 2021. ACM. [32] H. W. and et al. Scaling instruction-finetuned language models, 2022. [6] Shuo Yu, Hongyan Xue, Xiang Ao, Feiyang Pan, Jia He, Dandan Tu, and Qing He. [33] P. Lewis and et al. Retrieval-augmented generation for knowledge-intensive nlp Generating synergistic formulaic alpha collections via reinforcement learning. tasks. In NeurIPS, volume 33, pages 9459–9474, 2020. In Proceedings of the 29th ACM SIGKDD Conference on Knowledge Discovery and [34] K. J. Koa, Y. Ma, R. Ng, and T.-S. Chua. Learning to generate explainable stock Data Mining (KDD ’23), pages 5476–5486, New York, NY, USA, 2023. Association predictions using self-reflective large language models. In Proceedings of the for Computing Machinery. ACM on Web Conference 2024, pages 4304–4315, 2024. [7] Yumo Xu and Shay B Cohen. Stock movement prediction from tweets and [35] Li L, Chang T Y, and Wang H. Multimodal gen-ai for fundamental investment historical prices. In Proceedings of the 56th Annual Meeting of the Association for research, 2023.
解释边界:只支持段内给出的任务、指标与条件;不代表通用保证或已复现实验。