"Vibe-Trading: Your Personal Trading Agent"
Python ai-agentalgorithmic-tradingbacktestingfintechllmmcpmulti-agentpythonquantitative-financetrading
docs(factors): add Chinese docstrings to factor zoo
leeadmin44f14b67f81a
diff --git a/agent/src/factors/zoo/academic/carhart_mom.py b/agent/src/factors/zoo/academic/carhart_mom.pyindex ab9d4dd9d..4b0c583bc 100644--- a/agent/src/factors/zoo/academic/carhart_mom.py+++ b/agent/src/factors/zoo/academic/carhart_mom.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: 动量因子 (MOM)+# 简要说明: Carhart四因子模型中的动量因子(Momentum),做多过去表现好做空过去表现差的股票收益。+# 典型用途: 捕获股价趋势延续效应,用于动量投资策略。+# ============================================================"""academic Carhart momentum: 12-month return excluding the most recent month.Reference:diff --git a/agent/src/factors/zoo/academic/cma.py b/agent/src/factors/zoo/academic/cma.pyindex 849a89803..010352b22 100644--- a/agent/src/factors/zoo/academic/cma.py+++ b/agent/src/factors/zoo/academic/cma.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: 投资风格因子 (CMA)+# 简要说明: Fama-French五因子模型中的投资因子(Conservative Minus Aggressive),做多保守投资做空激进投资公司的收益。+# 典型用途: 捕获低投资公司相对于高投资公司的超额收益。+# ============================================================"""academic CMA: investment factor as inverse 60-day volume growth.Reference:diff --git a/agent/src/factors/zoo/academic/hml.py b/agent/src/factors/zoo/academic/hml.pyindex 9d580b455..44c563726 100644--- a/agent/src/factors/zoo/academic/hml.py+++ b/agent/src/factors/zoo/academic/hml.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: 价值因子 (HML)+# 简要说明: Fama-French三因子模型中的价值因子(High Minus Low),做多高账面市值比做空低账面市值比的收益。此处使用负的252日收益作为代理。+# 典型用途: 捕获价值股相对于成长股的超额收益,用于价值投资策略。+# ============================================================"""academic HML: value factor as inverse 252-day return (long-term reversal proxy).Reference:diff --git a/agent/src/factors/zoo/academic/mkt_rf.py b/agent/src/factors/zoo/academic/mkt_rf.pyindex 085a8c4c1..2f8d1819e 100644--- a/agent/src/factors/zoo/academic/mkt_rf.py+++ b/agent/src/factors/zoo/academic/mkt_rf.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: 市场超额收益因子 (Mkt-RF)+# 简要说明: Fama-French三因子模型中的市场因子,代表市场组合相对于无风险利率的超额收益。+# 典型用途: 作为市场基准beta,用于资产定价模型中衡量系统性风险暴露。+# ============================================================"""academic MKT_RF: market factor as 21-day return, cross-sectionally z-scored.Reference:diff --git a/agent/src/factors/zoo/academic/rmw.py b/agent/src/factors/zoo/academic/rmw.pyindex 63eece8b9..547a1d2c3 100644--- a/agent/src/factors/zoo/academic/rmw.py+++ b/agent/src/factors/zoo/academic/rmw.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: 盈利能力因子 (RMW)+# 简要说明: Fama-French五因子模型中的盈利能力因子(Robust Minus Weak),做多高盈利做空低盈利公司的收益。+# 典型用途: 捕获高盈利能力公司相对于低盈利能力公司的超额收益。+# ============================================================"""academic RMW: profitability factor as inverse 60-day return volatility.Reference:diff --git a/agent/src/factors/zoo/academic/smb.py b/agent/src/factors/zoo/academic/smb.pyindex e33ead462..3e5fbae60 100644--- a/agent/src/factors/zoo/academic/smb.py+++ b/agent/src/factors/zoo/academic/smb.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: 市值规模因子 (SMB)+# 简要说明: Fama-French三因子模型中的规模因子(Small Minus Big),做多小市值做空大市值的投资组合收益。+# 典型用途: 捕获小市值公司相对于大市值公司的超额收益,用于规模效应分析。+# ============================================================"""academic SMB: size factor as inverse log of 60-day average dollar volume.Reference:diff --git a/agent/src/factors/zoo/alpha101/alpha_001.py b/agent/src/factors/zoo/alpha101/alpha_001.pyindex b9c169ee9..479cc632f 100644--- a/agent/src/factors/zoo/alpha101/alpha_001.py+++ b/agent/src/factors/zoo/alpha101/alpha_001.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Alpha #1 - 收益条件动量+# 简要说明: rank(ts_argmax(SignedPower((returns<0)?stddev(returns,20):close, 2.), 5)) - 0.5,基于收益与波动的时间序列动量。+# 典型用途: 识别收益加速或波动条件改善的股票,做多排名靠前、做空排名靠后的标的。+# ============================================================"""Kakushadze Alpha #1.Formula (paper appendix): rank(ts_argmax(SignedPower((returns<0)?stddev(returns,20):close, 2.), 5)) - 0.5diff --git a/agent/src/factors/zoo/alpha101/alpha_002.py b/agent/src/factors/zoo/alpha101/alpha_002.pyindex 661da796b..a02ef4dfd 100644--- a/agent/src/factors/zoo/alpha101/alpha_002.py+++ b/agent/src/factors/zoo/alpha101/alpha_002.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Alpha #2 - 量价相关偏差+# 简要说明: (-1 * correlation(rank(delta(log(volume), 2)), rank(((close - open) / open)), 6)),量价变化的负相关性。+# 典型用途: 寻找量价关系背离的标的,负值越大意味着放量不涨或缩量不跌的反转信号。+# ============================================================"""Kakushadze Alpha #2.Formula (paper appendix): -1 * correlation(rank(delta(log(volume), 2)), rank(((close-open)/open)), 6)diff --git a/agent/src/factors/zoo/alpha101/alpha_003.py b/agent/src/factors/zoo/alpha101/alpha_003.pyindex 59773d25d..9ba43a087 100644--- a/agent/src/factors/zoo/alpha101/alpha_003.py+++ b/agent/src/factors/zoo/alpha101/alpha_003.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Alpha #3 - 量价滞后相关+# 简要说明: (-1 * correlation(rank(open), rank(volume), 10)),开盘价与成交量的秩相关系数取负。+# 典型用途: 开盘阶段量价背离时可能预示日内反转,用于日内交易信号。+# ============================================================"""Kakushadze Alpha #3.Formula (paper appendix): -1 * correlation(rank(open), rank(volume), 10)diff --git a/agent/src/factors/zoo/alpha101/alpha_004.py b/agent/src/factors/zoo/alpha101/alpha_004.pyindex c7a453ade..82f29f7f8 100644--- a/agent/src/factors/zoo/alpha101/alpha_004.py+++ b/agent/src/factors/zoo/alpha101/alpha_004.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Alpha #4 - 条件收益指示+# 简要说明: (-1 * Ts_Rank(rank(low), 9)),对最低价的9日时间序列排名取负。+# 典型用途: 当价格持续创新低时该值较低,用于超跌反弹策略。+# ============================================================"""Kakushadze Alpha #4.Formula (paper appendix): -1 * Ts_Rank(rank(low), 9)diff --git a/agent/src/factors/zoo/alpha101/alpha_005.py b/agent/src/factors/zoo/alpha101/alpha_005.pyindex a813a473a..f135aba0e 100644--- a/agent/src/factors/zoo/alpha101/alpha_005.py+++ b/agent/src/factors/zoo/alpha101/alpha_005.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Alpha #5 - 高低价差动量+# 简要说明: (rank((open - (sum(vwap, 10) / 10))) * (-1 * abs(rank((close - vwap))))) ,开盘价与VWAP均值的偏离乘以收盘价偏离的绝对值取负。+# 典型用途: 综合衡量开盘和收盘相对于VWAP的偏离方向,用于趋势延续性判断。+# ============================================================"""Kakushadze Alpha #5.Formula (paper appendix): rank((open - sum(vwap,10)/10)) * (-1 * abs(rank((close - vwap))))diff --git a/agent/src/factors/zoo/alpha101/alpha_006.py b/agent/src/factors/zoo/alpha101/alpha_006.pyindex a389470bf..41ef664d8 100644--- a/agent/src/factors/zoo/alpha101/alpha_006.py+++ b/agent/src/factors/zoo/alpha101/alpha_006.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Alpha #6 - 开盘收益率相关+# 简要说明: (-1 * correlation(open, volume, 10)),开盘价与成交量的负相关。+# 典型用途: 开盘量价背离信号,常用于开盘反转策略。+# ============================================================"""Kakushadze Alpha #6.Formula (paper appendix): -1 * correlation(open, volume, 10)diff --git a/agent/src/factors/zoo/alpha101/alpha_007.py b/agent/src/factors/zoo/alpha101/alpha_007.pyindex 9bcf809d2..ec67a8027 100644--- a/agent/src/factors/zoo/alpha101/alpha_007.py+++ b/agent/src/factors/zoo/alpha101/alpha_007.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Alpha #7 - VWAP动量+# 简要说明: ((adv20 < volume) ? ((-1 * ts_rank(abs(delta(close, 7)), 60)) * sign(delta(close, 7))) : (-1 * volume)),条件量价动量。+# 典型用途: 放量条件下跟踪趋势方向,缩量条件下做空成交量本身。+# ============================================================"""Kakushadze Alpha #7.Formula (paper appendix): (adv20<volume)?((-1*ts_rank(abs(delta(close,7)),60))*sign(delta(close,7))):(-1)diff --git a/agent/src/factors/zoo/alpha101/alpha_008.py b/agent/src/factors/zoo/alpha101/alpha_008.pyindex 83775ec20..c8be852c1 100644--- a/agent/src/factors/zoo/alpha101/alpha_008.py+++ b/agent/src/factors/zoo/alpha101/alpha_008.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Alpha #8 - 收益波动对冲+# 简要说明: (-1 * rank(((sum(open, 5) * sum(returns, 5)) - delay((sum(open, 5) * sum(returns, 5)), 10)))),开盘累计与收益累计的滞后差。+# 典型用途: 检测开盘价趋势与收益率趋势的变化速度差异,用于趋势反转预警。+# ============================================================"""Kakushadze Alpha #8.Formula (paper appendix): -1 * rank((sum(open,5)*sum(returns,5)) - delay(sum(open,5)*sum(returns,5),10))diff --git a/agent/src/factors/zoo/alpha101/alpha_009.py b/agent/src/factors/zoo/alpha101/alpha_009.pyindex b9752842c..a66a2278b 100644--- a/agent/src/factors/zoo/alpha101/alpha_009.py+++ b/agent/src/factors/zoo/alpha101/alpha_009.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Alpha #9 - 量价平滑差+# 简要说明: ((0 < ts_min(delta(close, 1), 5)) ? delta(close, 1) : ((ts_max(delta(close, 1), 5) < 0) ? delta(close, 1) : (-1 * delta(close, 1)))),条件方向价格变化。+# 典型用途: 在连续上涨或下跌趋势中跟随趋势,震荡市中反向操作。+# ============================================================"""Kakushadze Alpha #9.Formula (paper appendix): (0<ts_min(delta(close,1),5))?delta(close,1):((ts_max(delta(close,1),5)<0)?delta(close,1):(-1*delta(close,1)))diff --git a/agent/src/factors/zoo/alpha101/alpha_010.py b/agent/src/factors/zoo/alpha101/alpha_010.pyindex cc0bd524e..b061c4e18 100644--- a/agent/src/factors/zoo/alpha101/alpha_010.py+++ b/agent/src/factors/zoo/alpha101/alpha_010.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Alpha #10 - 连续价格变动+# 简要说明: rank((0 < ts_min(delta(close, 1), 4)) ? delta(close, 1) : ((ts_max(delta(close, 1), 4) < 0) ? delta(close, 1) : (-1 * delta(close, 1)))),类似Alpha #9的4日版本。+# 典型用途: 短期价格变动的趋势或反转判断,用于短线交易。+# ============================================================"""Kakushadze Alpha #10.Formula (paper appendix): rank((0<ts_min(delta(close,1),4))?delta(close,1):((ts_max(delta(close,1),4)<0)?delta(close,1):(-1*delta(close,1))))diff --git a/agent/src/factors/zoo/alpha101/alpha_011.py b/agent/src/factors/zoo/alpha101/alpha_011.pyindex a8d898389..d18e75859 100644--- a/agent/src/factors/zoo/alpha101/alpha_011.py+++ b/agent/src/factors/zoo/alpha101/alpha_011.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #11+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第11号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #11.Formula (paper appendix): (rank(ts_max(vwap-close,3))+rank(ts_min(vwap-close,3)))*rank(delta(volume,3))diff --git a/agent/src/factors/zoo/alpha101/alpha_012.py b/agent/src/factors/zoo/alpha101/alpha_012.pyindex 8a3c330da..085fa6931 100644--- a/agent/src/factors/zoo/alpha101/alpha_012.py+++ b/agent/src/factors/zoo/alpha101/alpha_012.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #12+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第12号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #12.Formula (paper appendix): sign(delta(volume,1)) * (-1 * delta(close,1))diff --git a/agent/src/factors/zoo/alpha101/alpha_013.py b/agent/src/factors/zoo/alpha101/alpha_013.pyindex e51cb7eb4..c452ca9ce 100644--- a/agent/src/factors/zoo/alpha101/alpha_013.py+++ b/agent/src/factors/zoo/alpha101/alpha_013.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #13+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第13号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #13.Formula (paper appendix): -1 * rank(covariance(rank(close), rank(volume), 5))diff --git a/agent/src/factors/zoo/alpha101/alpha_014.py b/agent/src/factors/zoo/alpha101/alpha_014.pyindex 1ac27c961..67fd2eb66 100644--- a/agent/src/factors/zoo/alpha101/alpha_014.py+++ b/agent/src/factors/zoo/alpha101/alpha_014.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #14+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第14号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #14.Formula (paper appendix): (-1*rank(delta(returns,3))) * correlation(open, volume, 10)diff --git a/agent/src/factors/zoo/alpha101/alpha_015.py b/agent/src/factors/zoo/alpha101/alpha_015.pyindex aead2945d..7d7523c5e 100644--- a/agent/src/factors/zoo/alpha101/alpha_015.py+++ b/agent/src/factors/zoo/alpha101/alpha_015.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #15+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第15号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #15.Formula (paper appendix): -1 * sum(rank(correlation(rank(high), rank(volume), 3)), 3)diff --git a/agent/src/factors/zoo/alpha101/alpha_016.py b/agent/src/factors/zoo/alpha101/alpha_016.pyindex 3a279ddbf..f6c5bda78 100644--- a/agent/src/factors/zoo/alpha101/alpha_016.py+++ b/agent/src/factors/zoo/alpha101/alpha_016.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #16+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第16号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #16.Formula (paper appendix): -1 * rank(covariance(rank(high), rank(volume), 5))diff --git a/agent/src/factors/zoo/alpha101/alpha_017.py b/agent/src/factors/zoo/alpha101/alpha_017.pyindex 3a3789ab4..b752c92b3 100644--- a/agent/src/factors/zoo/alpha101/alpha_017.py+++ b/agent/src/factors/zoo/alpha101/alpha_017.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #17+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第17号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #17.Formula (paper appendix): ((-1*rank(ts_rank(close,10)))*rank(delta(delta(close,1),1)))*rank(ts_rank(volume/adv20,5))diff --git a/agent/src/factors/zoo/alpha101/alpha_018.py b/agent/src/factors/zoo/alpha101/alpha_018.pyindex 9125d7b12..cb8823d47 100644--- a/agent/src/factors/zoo/alpha101/alpha_018.py+++ b/agent/src/factors/zoo/alpha101/alpha_018.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #18+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第18号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #18.Formula (paper appendix): -1 * rank(stddev(abs(close-open),5) + (close-open) + correlation(close,open,10))diff --git a/agent/src/factors/zoo/alpha101/alpha_019.py b/agent/src/factors/zoo/alpha101/alpha_019.pyindex 361093e26..3d4f3f744 100644--- a/agent/src/factors/zoo/alpha101/alpha_019.py+++ b/agent/src/factors/zoo/alpha101/alpha_019.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #19+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第19号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #19.Formula (paper appendix): (-1*sign((close-delay(close,7))+delta(close,7))) * (1+rank(1+sum(returns,250)))diff --git a/agent/src/factors/zoo/alpha101/alpha_020.py b/agent/src/factors/zoo/alpha101/alpha_020.pyindex 471c39ebf..7f6eb1cd8 100644--- a/agent/src/factors/zoo/alpha101/alpha_020.py+++ b/agent/src/factors/zoo/alpha101/alpha_020.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #20+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第20号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #20.Formula (paper appendix): (((-1*rank(open-delay(high,1)))*rank(open-delay(close,1)))*rank(open-delay(low,1)))diff --git a/agent/src/factors/zoo/alpha101/alpha_021.py b/agent/src/factors/zoo/alpha101/alpha_021.pyindex dc39d6542..feec23f43 100644--- a/agent/src/factors/zoo/alpha101/alpha_021.py+++ b/agent/src/factors/zoo/alpha101/alpha_021.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #21+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第21号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #21.Formula (paper appendix): complex piecewise; see paperdiff --git a/agent/src/factors/zoo/alpha101/alpha_022.py b/agent/src/factors/zoo/alpha101/alpha_022.pyindex d3b6da0e6..9abd3b459 100644--- a/agent/src/factors/zoo/alpha101/alpha_022.py+++ b/agent/src/factors/zoo/alpha101/alpha_022.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #22+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第22号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #22.Formula (paper appendix): -1 * (delta(correlation(high,volume,5),5) * rank(stddev(close,20)))diff --git a/agent/src/factors/zoo/alpha101/alpha_023.py b/agent/src/factors/zoo/alpha101/alpha_023.pyindex e81fddc12..111648d1b 100644--- a/agent/src/factors/zoo/alpha101/alpha_023.py+++ b/agent/src/factors/zoo/alpha101/alpha_023.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #23+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第23号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #23.Formula (paper appendix): ((sum(high,20)/20) < high) ? (-1*delta(high,2)) : 0diff --git a/agent/src/factors/zoo/alpha101/alpha_024.py b/agent/src/factors/zoo/alpha101/alpha_024.pyindex 4f798186b..22d7f475d 100644--- a/agent/src/factors/zoo/alpha101/alpha_024.py+++ b/agent/src/factors/zoo/alpha101/alpha_024.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #24+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第24号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #24.Formula (paper appendix): complex piecewise; see paperdiff --git a/agent/src/factors/zoo/alpha101/alpha_025.py b/agent/src/factors/zoo/alpha101/alpha_025.pyindex 850f819aa..de5d4d189 100644--- a/agent/src/factors/zoo/alpha101/alpha_025.py+++ b/agent/src/factors/zoo/alpha101/alpha_025.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #25+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第25号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #25.Formula (paper appendix): rank((((-1*returns)*adv20)*vwap)*(high-close))diff --git a/agent/src/factors/zoo/alpha101/alpha_026.py b/agent/src/factors/zoo/alpha101/alpha_026.pyindex 097578100..c69df9aeb 100644--- a/agent/src/factors/zoo/alpha101/alpha_026.py+++ b/agent/src/factors/zoo/alpha101/alpha_026.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #26+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第26号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #26.Formula (paper appendix): -1 * ts_max(correlation(ts_rank(volume,5),ts_rank(high,5),5),3)diff --git a/agent/src/factors/zoo/alpha101/alpha_027.py b/agent/src/factors/zoo/alpha101/alpha_027.pyindex 6d945e49d..a46ba1bb5 100644--- a/agent/src/factors/zoo/alpha101/alpha_027.py+++ b/agent/src/factors/zoo/alpha101/alpha_027.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #27+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第27号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #27.Formula (paper appendix): (0.5<rank((sum(correlation(rank(volume),rank(vwap),6),2)/2.0)))?(-1):1diff --git a/agent/src/factors/zoo/alpha101/alpha_028.py b/agent/src/factors/zoo/alpha101/alpha_028.pyindex 2eb87be4f..2bf9131d0 100644--- a/agent/src/factors/zoo/alpha101/alpha_028.py+++ b/agent/src/factors/zoo/alpha101/alpha_028.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #28+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第28号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #28.Formula (paper appendix): scale((correlation(adv20,low,5) + (high+low)/2) - close)diff --git a/agent/src/factors/zoo/alpha101/alpha_029.py b/agent/src/factors/zoo/alpha101/alpha_029.pyindex 253bca8b5..c8918cfad 100644--- a/agent/src/factors/zoo/alpha101/alpha_029.py+++ b/agent/src/factors/zoo/alpha101/alpha_029.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #29+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第29号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #29.Formula (paper appendix): min(product(rank(rank(scale(log(sum(ts_min(rank(rank(-1*rank(delta(close-1,5)))),2),1))))),1),5) + ts_rank(delay(-1*returns,6),5)diff --git a/agent/src/factors/zoo/alpha101/alpha_030.py b/agent/src/factors/zoo/alpha101/alpha_030.pyindex 20450ea6e..5a1262a4b 100644--- a/agent/src/factors/zoo/alpha101/alpha_030.py+++ b/agent/src/factors/zoo/alpha101/alpha_030.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #30+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第30号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #30.Formula (paper appendix): ((1-rank(sign(d1)+sign(d2)+sign(d3))) * sum(volume,5)) / sum(volume,20)diff --git a/agent/src/factors/zoo/alpha101/alpha_031.py b/agent/src/factors/zoo/alpha101/alpha_031.pyindex d9658b84b..33c4bb0ab 100644--- a/agent/src/factors/zoo/alpha101/alpha_031.py+++ b/agent/src/factors/zoo/alpha101/alpha_031.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #31+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第31号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #31.Formula (paper appendix): rank(rank(rank(decay_linear(-1*rank(rank(delta(close,10))),10)))) + rank(-1*delta(close,3)) + sign(scale(correlation(adv20,low,12)))diff --git a/agent/src/factors/zoo/alpha101/alpha_032.py b/agent/src/factors/zoo/alpha101/alpha_032.pyindex a1e6aed50..da7c7fd9e 100644--- a/agent/src/factors/zoo/alpha101/alpha_032.py+++ b/agent/src/factors/zoo/alpha101/alpha_032.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #32+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第32号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #32.Formula (paper appendix): scale(sum(close,7)/7 - close) + 20*scale(correlation(vwap, delay(close,5), 230))diff --git a/agent/src/factors/zoo/alpha101/alpha_033.py b/agent/src/factors/zoo/alpha101/alpha_033.pyindex eb34dd51e..e28712837 100644--- a/agent/src/factors/zoo/alpha101/alpha_033.py+++ b/agent/src/factors/zoo/alpha101/alpha_033.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #33+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第33号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #33.Formula (paper appendix): rank(-1*(1-open/close))diff --git a/agent/src/factors/zoo/alpha101/alpha_034.py b/agent/src/factors/zoo/alpha101/alpha_034.pyindex a609bf451..32ff23043 100644--- a/agent/src/factors/zoo/alpha101/alpha_034.py+++ b/agent/src/factors/zoo/alpha101/alpha_034.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #34+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第34号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #34.Formula (paper appendix): rank((1-rank(stddev(returns,2)/stddev(returns,5))) + (1-rank(delta(close,1))))diff --git a/agent/src/factors/zoo/alpha101/alpha_035.py b/agent/src/factors/zoo/alpha101/alpha_035.pyindex 800d5a483..278388fff 100644--- a/agent/src/factors/zoo/alpha101/alpha_035.py+++ b/agent/src/factors/zoo/alpha101/alpha_035.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #35+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第35号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #35.Formula (paper appendix): ts_rank(volume,32) * (1 - ts_rank((close+high-low),16)) * (1 - ts_rank(returns,32))diff --git a/agent/src/factors/zoo/alpha101/alpha_036.py b/agent/src/factors/zoo/alpha101/alpha_036.pyindex 7d72555dc..9a899e742 100644--- a/agent/src/factors/zoo/alpha101/alpha_036.py+++ b/agent/src/factors/zoo/alpha101/alpha_036.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #36+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第36号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #36.Formula (paper appendix): weighted sum; see paperdiff --git a/agent/src/factors/zoo/alpha101/alpha_037.py b/agent/src/factors/zoo/alpha101/alpha_037.pyindex cab75b1ed..90616315b 100644--- a/agent/src/factors/zoo/alpha101/alpha_037.py+++ b/agent/src/factors/zoo/alpha101/alpha_037.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #37+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第37号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #37.Formula (paper appendix): rank(correlation(delay(open-close,1),close,200)) + rank(open-close)diff --git a/agent/src/factors/zoo/alpha101/alpha_038.py b/agent/src/factors/zoo/alpha101/alpha_038.pyindex 513e8ecc3..85618a3e5 100644--- a/agent/src/factors/zoo/alpha101/alpha_038.py+++ b/agent/src/factors/zoo/alpha101/alpha_038.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #38+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第38号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #38.Formula (paper appendix): (-1*rank(ts_rank(close,10))) * rank(close/open)diff --git a/agent/src/factors/zoo/alpha101/alpha_039.py b/agent/src/factors/zoo/alpha101/alpha_039.pyindex d9a4eb412..0ff15a574 100644--- a/agent/src/factors/zoo/alpha101/alpha_039.py+++ b/agent/src/factors/zoo/alpha101/alpha_039.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #39+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第39号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #39.Formula (paper appendix): (-1*rank(delta(close,7)*(1-rank(decay_linear(volume/adv20,9))))) * (1+rank(sum(returns,250)))diff --git a/agent/src/factors/zoo/alpha101/alpha_040.py b/agent/src/factors/zoo/alpha101/alpha_040.pyindex 80cbb991f..fbdb9fca1 100644--- a/agent/src/factors/zoo/alpha101/alpha_040.py+++ b/agent/src/factors/zoo/alpha101/alpha_040.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #40+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第40号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #40.Formula (paper appendix): (-1*rank(stddev(high,10))) * correlation(high,volume,10)diff --git a/agent/src/factors/zoo/alpha101/alpha_041.py b/agent/src/factors/zoo/alpha101/alpha_041.pyindex 9e8a54765..876662a5b 100644--- a/agent/src/factors/zoo/alpha101/alpha_041.py+++ b/agent/src/factors/zoo/alpha101/alpha_041.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #41+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第41号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #41.Formula (paper appendix): (high*low)^0.5 - vwapdiff --git a/agent/src/factors/zoo/alpha101/alpha_042.py b/agent/src/factors/zoo/alpha101/alpha_042.pyindex 80133b79e..c1d8b486b 100644--- a/agent/src/factors/zoo/alpha101/alpha_042.py+++ b/agent/src/factors/zoo/alpha101/alpha_042.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #42+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第42号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #42.Formula (paper appendix): rank(vwap-close) / rank(vwap+close)diff --git a/agent/src/factors/zoo/alpha101/alpha_043.py b/agent/src/factors/zoo/alpha101/alpha_043.pyindex bf11aaf65..1a0aff8f8 100644--- a/agent/src/factors/zoo/alpha101/alpha_043.py+++ b/agent/src/factors/zoo/alpha101/alpha_043.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #43+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第43号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #43.Formula (paper appendix): ts_rank(volume/adv20,20) * ts_rank(-1*delta(close,7),8)diff --git a/agent/src/factors/zoo/alpha101/alpha_044.py b/agent/src/factors/zoo/alpha101/alpha_044.pyindex 3a1226ccd..f97c5a31c 100644--- a/agent/src/factors/zoo/alpha101/alpha_044.py+++ b/agent/src/factors/zoo/alpha101/alpha_044.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #44+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第44号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #44.Formula (paper appendix): -1 * correlation(high, rank(volume), 5)diff --git a/agent/src/factors/zoo/alpha101/alpha_045.py b/agent/src/factors/zoo/alpha101/alpha_045.pyindex e544a4649..0dc9c42de 100644--- a/agent/src/factors/zoo/alpha101/alpha_045.py+++ b/agent/src/factors/zoo/alpha101/alpha_045.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #45+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第45号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #45.Formula (paper appendix): -1 * (rank(sum(delay(close,5),20)/20)*correlation(close,volume,2)*rank(correlation(sum(close,5),sum(close,20),2)))diff --git a/agent/src/factors/zoo/alpha101/alpha_046.py b/agent/src/factors/zoo/alpha101/alpha_046.pyindex c95e2b5a5..97dc02da9 100644--- a/agent/src/factors/zoo/alpha101/alpha_046.py+++ b/agent/src/factors/zoo/alpha101/alpha_046.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #46+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第46号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #46.Formula (paper appendix): complex piecewise; see paperdiff --git a/agent/src/factors/zoo/alpha101/alpha_047.py b/agent/src/factors/zoo/alpha101/alpha_047.pyindex fa5a29c19..ec7237eea 100644--- a/agent/src/factors/zoo/alpha101/alpha_047.py+++ b/agent/src/factors/zoo/alpha101/alpha_047.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #47+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第47号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #47.Formula (paper appendix): ((rank(1/close)*volume/adv20) * (high*rank(high-close)/(sum(high,5)/5))) - rank(vwap-delay(vwap,5))diff --git a/agent/src/factors/zoo/alpha101/alpha_048.py b/agent/src/factors/zoo/alpha101/alpha_048.pyindex bcfc9b11b..2cdd7a041 100644--- a/agent/src/factors/zoo/alpha101/alpha_048.py+++ b/agent/src/factors/zoo/alpha101/alpha_048.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #48+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第48号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #48.Formula (paper appendix): indneutralize(...subindustry...) / sum((delta(close,1)/delay(close,1))^2, 250)diff --git a/agent/src/factors/zoo/alpha101/alpha_049.py b/agent/src/factors/zoo/alpha101/alpha_049.pyindex f649ce1bc..2fdada0a9 100644--- a/agent/src/factors/zoo/alpha101/alpha_049.py+++ b/agent/src/factors/zoo/alpha101/alpha_049.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #49+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第49号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #49.Formula (paper appendix): (((delay(close,20)-delay(close,10))/10 - (delay(close,10)-close)/10) < -0.1) ? 1 : -1*(close-delay(close,1))diff --git a/agent/src/factors/zoo/alpha101/alpha_050.py b/agent/src/factors/zoo/alpha101/alpha_050.pyindex 94253ca07..5ceda47f8 100644--- a/agent/src/factors/zoo/alpha101/alpha_050.py+++ b/agent/src/factors/zoo/alpha101/alpha_050.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #50+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第50号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #50.Formula (paper appendix): -1 * ts_max(rank(correlation(rank(volume), rank(vwap), 5)), 5)diff --git a/agent/src/factors/zoo/alpha101/alpha_051.py b/agent/src/factors/zoo/alpha101/alpha_051.pyindex ba7830c2b..7d514a5dc 100644--- a/agent/src/factors/zoo/alpha101/alpha_051.py+++ b/agent/src/factors/zoo/alpha101/alpha_051.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #51+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第51号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #51.Formula (paper appendix): (...< -0.05) ? 1 : -1*(close-delay(close,1))diff --git a/agent/src/factors/zoo/alpha101/alpha_052.py b/agent/src/factors/zoo/alpha101/alpha_052.pyindex b4f5d26be..b17b95dfa 100644--- a/agent/src/factors/zoo/alpha101/alpha_052.py+++ b/agent/src/factors/zoo/alpha101/alpha_052.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #52+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第52号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #52.Formula (paper appendix): ((-1*ts_min(low,5)+delay(ts_min(low,5),5)) * rank((sum(returns,240)-sum(returns,20))/220)) * ts_rank(volume,5)diff --git a/agent/src/factors/zoo/alpha101/alpha_053.py b/agent/src/factors/zoo/alpha101/alpha_053.pyindex 118369c32..67526befa 100644--- a/agent/src/factors/zoo/alpha101/alpha_053.py+++ b/agent/src/factors/zoo/alpha101/alpha_053.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #53+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第53号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #53.Formula (paper appendix): -1 * delta(((close-low) - (high-close))/(close-low), 9)diff --git a/agent/src/factors/zoo/alpha101/alpha_054.py b/agent/src/factors/zoo/alpha101/alpha_054.pyindex 61c52c68a..a85f4551c 100644--- a/agent/src/factors/zoo/alpha101/alpha_054.py+++ b/agent/src/factors/zoo/alpha101/alpha_054.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #54+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第54号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #54.Formula (paper appendix): -1 * ((low-close)*(open^5)) / ((low-high)*(close^5))diff --git a/agent/src/factors/zoo/alpha101/alpha_055.py b/agent/src/factors/zoo/alpha101/alpha_055.pyindex 26106043f..82e92300b 100644--- a/agent/src/factors/zoo/alpha101/alpha_055.py+++ b/agent/src/factors/zoo/alpha101/alpha_055.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #55+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第55号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #55.Formula (paper appendix): -1 * correlation(rank((close-ts_min(low,12))/(ts_max(high,12)-ts_min(low,12))), rank(volume), 6)diff --git a/agent/src/factors/zoo/alpha101/alpha_056.py b/agent/src/factors/zoo/alpha101/alpha_056.pyindex 4629c9f21..5097e6650 100644--- a/agent/src/factors/zoo/alpha101/alpha_056.py+++ b/agent/src/factors/zoo/alpha101/alpha_056.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #56+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第56号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #56.Formula (paper appendix): 0 - 1*(rank(sum(returns,10)/sum(sum(returns,2),3)) * rank((returns * cap))) [cap unavailable -> 1]diff --git a/agent/src/factors/zoo/alpha101/alpha_057.py b/agent/src/factors/zoo/alpha101/alpha_057.pyindex 74304285f..1f83dcce8 100644--- a/agent/src/factors/zoo/alpha101/alpha_057.py+++ b/agent/src/factors/zoo/alpha101/alpha_057.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #57+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第57号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #57.Formula (paper appendix): 0 - 1 * ((close-vwap) / decay_linear(rank(ts_argmax(close,30)), 2))diff --git a/agent/src/factors/zoo/alpha101/alpha_058.py b/agent/src/factors/zoo/alpha101/alpha_058.pyindex b7741df1d..02acda514 100644--- a/agent/src/factors/zoo/alpha101/alpha_058.py+++ b/agent/src/factors/zoo/alpha101/alpha_058.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #58+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第58号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #58.Formula (paper appendix): -1 * Ts_Rank(decay_linear(correlation(IndNeutralize(vwap, sector), volume, 4), 8), 6)diff --git a/agent/src/factors/zoo/alpha101/alpha_059.py b/agent/src/factors/zoo/alpha101/alpha_059.pyindex 11d2b01ab..6e8f79276 100644--- a/agent/src/factors/zoo/alpha101/alpha_059.py+++ b/agent/src/factors/zoo/alpha101/alpha_059.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #59+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第59号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #59.Formula (paper appendix): -1 * Ts_Rank(decay_linear(correlation(IndNeutralize(vwap*0.728+vwap*0.272, industry), volume, 4), 16), 8)diff --git a/agent/src/factors/zoo/alpha101/alpha_060.py b/agent/src/factors/zoo/alpha101/alpha_060.pyindex d1a11869c..e803f16b9 100644--- a/agent/src/factors/zoo/alpha101/alpha_060.py+++ b/agent/src/factors/zoo/alpha101/alpha_060.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #60+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第60号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #60.Formula (paper appendix): 0 - (2*scale(rank((((close-low)-(high-close))/(high-low))*volume)) - scale(rank(ts_argmax(close,10))))diff --git a/agent/src/factors/zoo/alpha101/alpha_061.py b/agent/src/factors/zoo/alpha101/alpha_061.pyindex 3da09821d..7f706d9ef 100644--- a/agent/src/factors/zoo/alpha101/alpha_061.py+++ b/agent/src/factors/zoo/alpha101/alpha_061.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #61+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第61号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #61.Formula (paper appendix): rank(vwap - ts_min(vwap,16)) < rank(correlation(vwap, adv180, 18))diff --git a/agent/src/factors/zoo/alpha101/alpha_062.py b/agent/src/factors/zoo/alpha101/alpha_062.pyindex 4a74ac7ab..bd112bebe 100644--- a/agent/src/factors/zoo/alpha101/alpha_062.py+++ b/agent/src/factors/zoo/alpha101/alpha_062.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #62+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第62号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #62.Formula (paper appendix): (rank(correlation(vwap, sum(adv20,22), 10)) < rank(((rank(open)+rank(open)) < (rank((high+low)/2)+rank(high))))) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_063.py b/agent/src/factors/zoo/alpha101/alpha_063.pyindex f6f9c929e..498bc29e5 100644--- a/agent/src/factors/zoo/alpha101/alpha_063.py+++ b/agent/src/factors/zoo/alpha101/alpha_063.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #63+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第63号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #63.Formula (paper appendix): (rank(decay_linear(delta(IndNeutralize(close, industry), 2), 8)) - rank(decay_linear(correlation(0.318*vwap+0.682*open, sum(adv180,37), 14), 12))) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_064.py b/agent/src/factors/zoo/alpha101/alpha_064.pyindex a28a71f0f..1b9bf63af 100644--- a/agent/src/factors/zoo/alpha101/alpha_064.py+++ b/agent/src/factors/zoo/alpha101/alpha_064.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #64+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第64号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #64.Formula (paper appendix): (rank(correlation(sum(0.178*open+0.822*low,13), sum(adv120,13), 17)) < rank(delta(0.178*((high+low)/2)+0.822*vwap, 4))) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_065.py b/agent/src/factors/zoo/alpha101/alpha_065.pyindex a75a0a5af..2b4b67fcd 100644--- a/agent/src/factors/zoo/alpha101/alpha_065.py+++ b/agent/src/factors/zoo/alpha101/alpha_065.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #65+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第65号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #65.Formula (paper appendix): (rank(correlation(0.008*open+0.992*vwap, sum(adv60,9), 6)) < rank(open-ts_min(open,14))) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_066.py b/agent/src/factors/zoo/alpha101/alpha_066.pyindex 0893b9580..44729afd3 100644--- a/agent/src/factors/zoo/alpha101/alpha_066.py+++ b/agent/src/factors/zoo/alpha101/alpha_066.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #66+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第66号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #66.Formula (paper appendix): (rank(decay_linear(delta(vwap,4), 7)) + Ts_Rank(decay_linear(((0.966*low+0.034*low - vwap)/(open-(high+low)/2)), 11), 7)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_067.py b/agent/src/factors/zoo/alpha101/alpha_067.pyindex ee99f1c60..1c5a025ce 100644--- a/agent/src/factors/zoo/alpha101/alpha_067.py+++ b/agent/src/factors/zoo/alpha101/alpha_067.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #67+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第67号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #67.Formula (paper appendix): (rank(high-ts_min(high,2))^rank(correlation(IndNeutralize(vwap,sector), IndNeutralize(adv20,subindustry), 6))) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_068.py b/agent/src/factors/zoo/alpha101/alpha_068.pyindex 582aa9469..88d088780 100644--- a/agent/src/factors/zoo/alpha101/alpha_068.py+++ b/agent/src/factors/zoo/alpha101/alpha_068.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #68+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第68号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #68.Formula (paper appendix): (Ts_Rank(correlation(rank(high), rank(adv15), 9), 14) < rank(delta(0.518*close+0.482*low, 1))) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_069.py b/agent/src/factors/zoo/alpha101/alpha_069.pyindex b135a4326..a7730c412 100644--- a/agent/src/factors/zoo/alpha101/alpha_069.py+++ b/agent/src/factors/zoo/alpha101/alpha_069.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #69+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第69号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #69.Formula (paper appendix): (rank(ts_max(delta(IndNeutralize(vwap, industry), 3), 5))^Ts_Rank(correlation(0.49*close+0.51*vwap, adv20, 5), 9)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_070.py b/agent/src/factors/zoo/alpha101/alpha_070.pyindex c765ef339..c721330cf 100644--- a/agent/src/factors/zoo/alpha101/alpha_070.py+++ b/agent/src/factors/zoo/alpha101/alpha_070.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #70+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第70号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #70.Formula (paper appendix): (rank(delta(vwap,1))^Ts_Rank(correlation(IndNeutralize(close,industry), adv50, 18), 18)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_071.py b/agent/src/factors/zoo/alpha101/alpha_071.pyindex b87d567cb..0a7a51559 100644--- a/agent/src/factors/zoo/alpha101/alpha_071.py+++ b/agent/src/factors/zoo/alpha101/alpha_071.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #71+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第71号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #71.Formula (paper appendix): max(Ts_Rank(decay_linear(correlation(Ts_Rank(close,3), Ts_Rank(adv180,12), 18), 4), 16), Ts_Rank(decay_linear((rank((low+open)-(2*vwap))^2, 16), 4))diff --git a/agent/src/factors/zoo/alpha101/alpha_072.py b/agent/src/factors/zoo/alpha101/alpha_072.pyindex 16c488f5f..252e92880 100644--- a/agent/src/factors/zoo/alpha101/alpha_072.py+++ b/agent/src/factors/zoo/alpha101/alpha_072.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #72+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第72号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #72.Formula (paper appendix): rank(decay_linear(correlation((high+low)/2, adv40, 9), 10)) / rank(decay_linear(correlation(Ts_Rank(vwap,4), Ts_Rank(volume,19), 7), 3))diff --git a/agent/src/factors/zoo/alpha101/alpha_073.py b/agent/src/factors/zoo/alpha101/alpha_073.pyindex 5cd7a24cb..07039f413 100644--- a/agent/src/factors/zoo/alpha101/alpha_073.py+++ b/agent/src/factors/zoo/alpha101/alpha_073.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #73+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第73号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #73.Formula (paper appendix): max(rank(decay_linear(delta(vwap,5), 3)), Ts_Rank(decay_linear(-1*(delta(0.147*open+0.853*low,2)/(0.147*open+0.853*low)), 3), 17)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_074.py b/agent/src/factors/zoo/alpha101/alpha_074.pyindex fbedd346d..63b635854 100644--- a/agent/src/factors/zoo/alpha101/alpha_074.py+++ b/agent/src/factors/zoo/alpha101/alpha_074.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #74+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第74号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #74.Formula (paper appendix): (rank(correlation(close, sum(adv30,37), 15)) < rank(correlation(rank(0.026*high+0.974*vwap), rank(volume), 11))) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_075.py b/agent/src/factors/zoo/alpha101/alpha_075.pyindex 0cf02d0b2..1f4336d06 100644--- a/agent/src/factors/zoo/alpha101/alpha_075.py+++ b/agent/src/factors/zoo/alpha101/alpha_075.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #75+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第75号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #75.Formula (paper appendix): rank(correlation(vwap, volume, 4)) < rank(correlation(rank(low), rank(adv50), 12))diff --git a/agent/src/factors/zoo/alpha101/alpha_076.py b/agent/src/factors/zoo/alpha101/alpha_076.pyindex fb61f885d..9d070b70a 100644--- a/agent/src/factors/zoo/alpha101/alpha_076.py+++ b/agent/src/factors/zoo/alpha101/alpha_076.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #76+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第76号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #76.Formula (paper appendix): max(rank(decay_linear(delta(vwap,1),12)), Ts_Rank(decay_linear(Ts_Rank(correlation(IndNeutralize(low, sector), adv81, 8), 20), 17), 19)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_077.py b/agent/src/factors/zoo/alpha101/alpha_077.pyindex 39b2fd4d4..ff5965001 100644--- a/agent/src/factors/zoo/alpha101/alpha_077.py+++ b/agent/src/factors/zoo/alpha101/alpha_077.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #77+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第77号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #77.Formula (paper appendix): min(rank(decay_linear((high+low)/2 + high - (vwap+high), 20)), rank(decay_linear(correlation((high+low)/2, adv40, 3), 6)))diff --git a/agent/src/factors/zoo/alpha101/alpha_078.py b/agent/src/factors/zoo/alpha101/alpha_078.pyindex 82d1253c7..a061f6591 100644--- a/agent/src/factors/zoo/alpha101/alpha_078.py+++ b/agent/src/factors/zoo/alpha101/alpha_078.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #78+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第78号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #78.Formula (paper appendix): rank(correlation(sum(0.352*low+0.648*vwap, 20), sum(adv40,20), 7))^rank(correlation(rank(vwap), rank(volume), 6))diff --git a/agent/src/factors/zoo/alpha101/alpha_079.py b/agent/src/factors/zoo/alpha101/alpha_079.pyindex 2216f75d0..3902ae6d5 100644--- a/agent/src/factors/zoo/alpha101/alpha_079.py+++ b/agent/src/factors/zoo/alpha101/alpha_079.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #79+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第79号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #79.Formula (paper appendix): rank(delta(IndNeutralize(0.607*close+0.393*open, sector), 1)) < rank(correlation(Ts_Rank(vwap,4), Ts_Rank(adv150,9), 15))diff --git a/agent/src/factors/zoo/alpha101/alpha_080.py b/agent/src/factors/zoo/alpha101/alpha_080.pyindex 0f0e3a80d..54c84a773 100644--- a/agent/src/factors/zoo/alpha101/alpha_080.py+++ b/agent/src/factors/zoo/alpha101/alpha_080.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #80+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第80号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #80.Formula (paper appendix): (rank(Sign(delta(IndNeutralize(0.868*open+0.132*high, subindustry),4)))^Ts_Rank(correlation(high,adv10,5),6)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_081.py b/agent/src/factors/zoo/alpha101/alpha_081.pyindex 93562eeaf..1697f4351 100644--- a/agent/src/factors/zoo/alpha101/alpha_081.py+++ b/agent/src/factors/zoo/alpha101/alpha_081.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #81+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第81号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #81.Formula (paper appendix): (rank(Log(product(rank((rank(correlation(vwap, sum(adv10,50), 8))^4)), 15))) < rank(correlation(rank(vwap), rank(volume), 5))) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_082.py b/agent/src/factors/zoo/alpha101/alpha_082.pyindex 5ca124330..1f1e503cc 100644--- a/agent/src/factors/zoo/alpha101/alpha_082.py+++ b/agent/src/factors/zoo/alpha101/alpha_082.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #82+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第82号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #82.Formula (paper appendix): min(rank(decay_linear(delta(open,1),15)), Ts_Rank(decay_linear(correlation(IndNeutralize(volume, sector), 0.634*open+0.366*open, 17), 7), 13)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_083.py b/agent/src/factors/zoo/alpha101/alpha_083.pyindex cf9427dad..d025c6afe 100644--- a/agent/src/factors/zoo/alpha101/alpha_083.py+++ b/agent/src/factors/zoo/alpha101/alpha_083.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #83+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第83号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #83.Formula (paper appendix): (rank(delay((high-low)/(sum(close,5)/5), 2)) * rank(rank(volume))) / (((high-low)/(sum(close,5)/5)) / (vwap-close))diff --git a/agent/src/factors/zoo/alpha101/alpha_084.py b/agent/src/factors/zoo/alpha101/alpha_084.pyindex 5316efebb..700c8d8bd 100644--- a/agent/src/factors/zoo/alpha101/alpha_084.py+++ b/agent/src/factors/zoo/alpha101/alpha_084.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #84+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第84号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #84.Formula (paper appendix): SignedPower(Ts_Rank(vwap-ts_max(vwap,15), 21), delta(close,5))diff --git a/agent/src/factors/zoo/alpha101/alpha_085.py b/agent/src/factors/zoo/alpha101/alpha_085.pyindex 1b851f408..1a76c6156 100644--- a/agent/src/factors/zoo/alpha101/alpha_085.py+++ b/agent/src/factors/zoo/alpha101/alpha_085.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #85+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第85号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #85.Formula (paper appendix): rank(correlation(0.877*high+0.123*close, adv30, 10))^rank(correlation(Ts_Rank((high+low)/2,4), Ts_Rank(volume,10), 7))diff --git a/agent/src/factors/zoo/alpha101/alpha_086.py b/agent/src/factors/zoo/alpha101/alpha_086.pyindex 1f5777b56..ded905ba9 100644--- a/agent/src/factors/zoo/alpha101/alpha_086.py+++ b/agent/src/factors/zoo/alpha101/alpha_086.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #86+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第86号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #86.Formula (paper appendix): (Ts_Rank(correlation(close, sum(adv20,15), 6), 20) < rank((open+close) - (vwap+open))) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_087.py b/agent/src/factors/zoo/alpha101/alpha_087.pyindex 0bdbf3942..e89b8a579 100644--- a/agent/src/factors/zoo/alpha101/alpha_087.py+++ b/agent/src/factors/zoo/alpha101/alpha_087.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #87+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第87号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #87.Formula (paper appendix): max(rank(decay_linear(delta(0.37*close+0.63*vwap, 2), 3)), Ts_Rank(decay_linear(abs(correlation(IndNeutralize(adv81, industry), close, 13)), 5), 14)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_088.py b/agent/src/factors/zoo/alpha101/alpha_088.pyindex 2ae9744d8..ba0fe9ae8 100644--- a/agent/src/factors/zoo/alpha101/alpha_088.py+++ b/agent/src/factors/zoo/alpha101/alpha_088.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #88+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第88号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #88.Formula (paper appendix): min(rank(decay_linear((rank(open)+rank(low))-(rank(high)+rank(close)),8)), Ts_Rank(decay_linear(correlation(Ts_Rank(close,8),Ts_Rank(adv60,20),8),7),3))diff --git a/agent/src/factors/zoo/alpha101/alpha_089.py b/agent/src/factors/zoo/alpha101/alpha_089.pyindex 703c8a626..e18624083 100644--- a/agent/src/factors/zoo/alpha101/alpha_089.py+++ b/agent/src/factors/zoo/alpha101/alpha_089.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #89+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第89号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #89.Formula (paper appendix): Ts_Rank(decay_linear(correlation(low, adv10, 7), 6), 4) - Ts_Rank(decay_linear(delta(IndNeutralize(vwap, industry),3),10),15)diff --git a/agent/src/factors/zoo/alpha101/alpha_090.py b/agent/src/factors/zoo/alpha101/alpha_090.pyindex 9d0b8603f..093a65fa7 100644--- a/agent/src/factors/zoo/alpha101/alpha_090.py+++ b/agent/src/factors/zoo/alpha101/alpha_090.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #90+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第90号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #90.Formula (paper appendix): (rank(close-ts_max(close,5))^Ts_Rank(correlation(IndNeutralize(adv40, subindustry), low, 5), 3)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_091.py b/agent/src/factors/zoo/alpha101/alpha_091.pyindex cffdef074..9655f0412 100644--- a/agent/src/factors/zoo/alpha101/alpha_091.py+++ b/agent/src/factors/zoo/alpha101/alpha_091.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #91+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第91号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #91.Formula (paper appendix): (Ts_Rank(decay_linear(decay_linear(correlation(IndNeutralize(close, industry), volume, 10), 16), 4), 5) - rank(decay_linear(correlation(vwap, adv30, 4), 3))) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_092.py b/agent/src/factors/zoo/alpha101/alpha_092.pyindex 9a6117144..8ef9a56f0 100644--- a/agent/src/factors/zoo/alpha101/alpha_092.py+++ b/agent/src/factors/zoo/alpha101/alpha_092.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #92+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第92号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #92.Formula (paper appendix): min(Ts_Rank(decay_linear(((high+low)/2 + close < low+open), 15), 19), Ts_Rank(decay_linear(correlation(rank(low), rank(adv30), 8), 7), 7))diff --git a/agent/src/factors/zoo/alpha101/alpha_093.py b/agent/src/factors/zoo/alpha101/alpha_093.pyindex 479d339f7..8d5d52c79 100644--- a/agent/src/factors/zoo/alpha101/alpha_093.py+++ b/agent/src/factors/zoo/alpha101/alpha_093.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #93+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第93号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #93.Formula (paper appendix): Ts_Rank(decay_linear(correlation(IndNeutralize(vwap, industry), adv81, 17), 20), 8) / rank(decay_linear(delta(0.524*close+0.476*vwap, 3), 16))diff --git a/agent/src/factors/zoo/alpha101/alpha_094.py b/agent/src/factors/zoo/alpha101/alpha_094.pyindex a7272b7ea..c945eb69d 100644--- a/agent/src/factors/zoo/alpha101/alpha_094.py+++ b/agent/src/factors/zoo/alpha101/alpha_094.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #94+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第94号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #94.Formula (paper appendix): (rank(vwap-ts_min(vwap,12))^Ts_Rank(correlation(Ts_Rank(vwap,20), Ts_Rank(adv60,4), 18), 3)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_095.py b/agent/src/factors/zoo/alpha101/alpha_095.pyindex 8a1933531..7516e9cef 100644--- a/agent/src/factors/zoo/alpha101/alpha_095.py+++ b/agent/src/factors/zoo/alpha101/alpha_095.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #95+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第95号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #95.Formula (paper appendix): rank(open-ts_min(open,13)) < Ts_Rank((rank(correlation(sum((high+low)/2,19), sum(adv40,19),13))^5), 12)diff --git a/agent/src/factors/zoo/alpha101/alpha_096.py b/agent/src/factors/zoo/alpha101/alpha_096.pyindex b152c5be8..fc89eb1b2 100644--- a/agent/src/factors/zoo/alpha101/alpha_096.py+++ b/agent/src/factors/zoo/alpha101/alpha_096.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #96+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第96号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #96.Formula (paper appendix): max(Ts_Rank(decay_linear(correlation(rank(vwap), rank(volume), 4), 4), 8), Ts_Rank(decay_linear(Ts_ArgMax(correlation(Ts_Rank(close,7), Ts_Rank(adv60,4), 4), 13), 14), 13)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_097.py b/agent/src/factors/zoo/alpha101/alpha_097.pyindex 6eb4ad7e9..fd2d374d6 100644--- a/agent/src/factors/zoo/alpha101/alpha_097.py+++ b/agent/src/factors/zoo/alpha101/alpha_097.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #97+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第97号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #97.Formula (paper appendix): (rank(decay_linear(delta(IndNeutralize(0.721*low+0.279*vwap, industry),3),20)) - Ts_Rank(decay_linear(Ts_Rank(correlation(Ts_Rank(low,8), Ts_Rank(adv60,17), 5), 19), 16),16)) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_098.py b/agent/src/factors/zoo/alpha101/alpha_098.pyindex e42f59d39..094a7bcf8 100644--- a/agent/src/factors/zoo/alpha101/alpha_098.py+++ b/agent/src/factors/zoo/alpha101/alpha_098.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #98+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第98号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #98.Formula (paper appendix): rank(decay_linear(correlation(vwap, sum(adv5,26), 5), 7)) - rank(decay_linear(Ts_Rank(Ts_ArgMin(correlation(rank(open), rank(adv15), 21), 9), 7), 8))diff --git a/agent/src/factors/zoo/alpha101/alpha_099.py b/agent/src/factors/zoo/alpha101/alpha_099.pyindex 336202def..fec3d6c92 100644--- a/agent/src/factors/zoo/alpha101/alpha_099.py+++ b/agent/src/factors/zoo/alpha101/alpha_099.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #99+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第99号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #99.Formula (paper appendix): (rank(correlation(sum((high+low)/2, 20), sum(adv60, 20), 9)) < rank(correlation(low, volume, 6))) * -1diff --git a/agent/src/factors/zoo/alpha101/alpha_100.py b/agent/src/factors/zoo/alpha101/alpha_100.pyindex defc39f56..b7b18b1f3 100644--- a/agent/src/factors/zoo/alpha101/alpha_100.py+++ b/agent/src/factors/zoo/alpha101/alpha_100.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #100+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第100号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #100.Formula (paper appendix): 0 - 1*((1.5*scale(IN(IN(rank(((close-low)-(high-close))/(high-low)*volume), subind), subind)) - scale(IN(correlation(close, rank(adv20), 5) - rank(ts_argmin(close,30)), subind))) * (volume/adv20))diff --git a/agent/src/factors/zoo/alpha101/alpha_101.py b/agent/src/factors/zoo/alpha101/alpha_101.pyindex 764999189..87768ab34 100644--- a/agent/src/factors/zoo/alpha101/alpha_101.py+++ b/agent/src/factors/zoo/alpha101/alpha_101.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: Kakushadze Alpha #101+# 简要说明: Kakushadze (2015) 101 Formulaic Alphas 中的第101号因子,详见公式定义。+# 典型用途: 作为多因子模型中的alpha信号,经中性化处理后用于选股或股指期货交易。+# ============================================================"""Kakushadze Alpha #101.Formula (paper appendix): (close - open) / ((high - low) + 0.001)diff --git a/agent/src/factors/zoo/gtja191/alpha_001.py b/agent/src/factors/zoo/gtja191/alpha_001.pyindex 58b4c3711..89b44434d 100644--- a/agent/src/factors/zoo/gtja191/alpha_001.py+++ b/agent/src/factors/zoo/gtja191/alpha_001.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #1 - 量价秩相关+# 简要说明: (-1 * CORR(RANK(DELTA(LOG(VOLUME), 1)), RANK(((CLOSE - OPEN) / OPEN)), 6)),成交量变化排名与日内收益排名的6日负相关。+# 典型用途: 量价背离识别:放量不涨或缩量不跌预示短期反转。+# ============================================================"""GTJA Alpha #1.Formula: (-1 * CORR(RANK(DELTA(LOG(VOLUME), 1)), RANK(((CLOSE - OPEN) / OPEN)), 6))diff --git a/agent/src/factors/zoo/gtja191/alpha_002.py b/agent/src/factors/zoo/gtja191/alpha_002.pyindex 8a420a7c5..f45f1deae 100644--- a/agent/src/factors/zoo/gtja191/alpha_002.py+++ b/agent/src/factors/zoo/gtja191/alpha_002.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #2 - 高低价差动量+# 简要说明: (-1 * CORR(RANK(DELTA(LOG(VOLUME), 1)), RANK(((CLOSE - OPEN) / OPEN)), 4)),类似Alpha#1但窗口缩短为4日。+# 典型用途: 更短周期的量价背离检测,适合高频反转策略。+# ============================================================"""GTJA Alpha #2.Formula: (-1 * DELTA(((CLOSE - LOW) - (HIGH - CLOSE)) / (HIGH - LOW), 1))diff --git a/agent/src/factors/zoo/gtja191/alpha_003.py b/agent/src/factors/zoo/gtja191/alpha_003.pyindex b01fa2e28..5f1f8259e 100644--- a/agent/src/factors/zoo/gtja191/alpha_003.py+++ b/agent/src/factors/zoo/gtja191/alpha_003.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #3 - 条件量价反转+# 简要说明: (-1 * CORR(RANK(OPEN), RANK(VOLUME), 10)),开盘价与成交量秩相关的负值。+# 典型用途: 开盘量价关系异常识别,用于日内反转交易。+# ============================================================"""GTJA Alpha #3.Formula: SUM((CLOSE=DELAY(CLOSE,1)?0:CLOSE-(CLOSE>DELAY(CLOSE,1)?MIN(LOW,DELAY(CLOSE,1)):MAX(HIGH,DELAY(CLOSE,1)))),6)diff --git a/agent/src/factors/zoo/gtja191/alpha_004.py b/agent/src/factors/zoo/gtja191/alpha_004.pyindex 00efbf039..f49f9ec7d 100644--- a/agent/src/factors/zoo/gtja191/alpha_004.py+++ b/agent/src/factors/zoo/gtja191/alpha_004.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #4 - 条件止损信号+# 简要说明: (-1 * Ts_Rank(rank(low), 9)),最低价9日时间序列排名取负。+# 典型用途: 价格持续创近期新低时发出超卖信号。+# ============================================================"""GTJA Alpha #4.Formula: ((((SUM(CLOSE,8)/8)+STD(CLOSE,8))<(SUM(CLOSE,2)/2))?(-1):((SUM(CLOSE,2)/2<(SUM(CLOSE,8)/8-STD(CLOSE,8)))?1:((1<(VOLUME/MEAN(VOLUME,20)))?1:(-1))))diff --git a/agent/src/factors/zoo/gtja191/alpha_005.py b/agent/src/factors/zoo/gtja191/alpha_005.pyindex d24ad751c..f6b5b58cf 100644--- a/agent/src/factors/zoo/gtja191/alpha_005.py+++ b/agent/src/factors/zoo/gtja191/alpha_005.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #5 - 量价秩相关极值+# 简要说明: (-1 * TSMAX(CORR(TSRANK(VOLUME,5), TSRANK(HIGH,5), 5), 3)),成交量与最高价的5日秩相关在3日内的最大值取负。+# 典型用途: 成交量与价格同步性达到极值后的反转信号。+# ============================================================"""GTJA Alpha #5.Formula: (-1 * TSMAX(CORR(TSRANK(VOLUME,5), TSRANK(HIGH,5), 5), 3))diff --git a/agent/src/factors/zoo/gtja191/alpha_006.py b/agent/src/factors/zoo/gtja191/alpha_006.pyindex 51bd74611..d51cfaf31 100644--- a/agent/src/factors/zoo/gtja191/alpha_006.py+++ b/agent/src/factors/zoo/gtja191/alpha_006.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #6 - 开盘VWAP偏离+# 简要说明: (RANK(SIGN(DELTA((((OPEN*0.85)+(HIGH*0.15))), 4)))* -1),开盘加权价的4日变化方向取反。+# 典型用途: 识别开盘价的趋势变化方向,用于反趋势交易。+# ============================================================"""GTJA Alpha #6.Formula: (RANK(SIGN(DELTA((OPEN*0.85+HIGH*0.15), 4))) * -1)diff --git a/agent/src/factors/zoo/gtja191/alpha_007.py b/agent/src/factors/zoo/gtja191/alpha_007.pyindex f4748e2dc..e86b19dc8 100644--- a/agent/src/factors/zoo/gtja191/alpha_007.py+++ b/agent/src/factors/zoo/gtja191/alpha_007.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #7 - VWAP相对强度+# 简要说明: ((RANK(MAX((VWAP-CLOSE), 3)) + RANK(MIN((VWAP-CLOSE), 3))) * RANK(DELTA(VOLUME, 3))),VWAP偏离的极值与成交量变化的组合。+# 典型用途: 综合考虑VWAP偏离幅度和成交量变化,识别潜在的突破或反转。+# ============================================================"""GTJA Alpha #7.Formula: ((RANK(MAX((VWAP-CLOSE),3)) + RANK(MIN((VWAP-CLOSE),3))) * RANK(DELTA(VOLUME,3)))diff --git a/agent/src/factors/zoo/gtja191/alpha_008.py b/agent/src/factors/zoo/gtja191/alpha_008.pyindex bfa41691b..0fb4b9225 100644--- a/agent/src/factors/zoo/gtja191/alpha_008.py+++ b/agent/src/factors/zoo/gtja191/alpha_008.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #8 - 价格加权均线变化+# 简要说明: RANK(DELTA(((HIGH+LOW)/2)*0.2 + VWAP*0.8, 4)) * -1,加权价格4日变化排名取反。+# 典型用途: 综合价格指标的短期趋势反转信号。+# ============================================================"""GTJA Alpha #8.Formula: RANK(DELTA(((HIGH+LOW)/2)*0.2 + VWAP*0.8, 4)) * -1diff --git a/agent/src/factors/zoo/gtja191/alpha_009.py b/agent/src/factors/zoo/gtja191/alpha_009.pyindex b51a6330a..3ae704905 100644--- a/agent/src/factors/zoo/gtja191/alpha_009.py+++ b/agent/src/factors/zoo/gtja191/alpha_009.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #9 - 量价平滑差+# 简要说明: ((0<TSMIN(DELTA(CLOSE,1),5))?DELTA(CLOSE,1):((TSMAX(DELTA(CLOSE,1),5)<0)?DELTA(CLOSE,1):(-1*DELTA(CLOSE,1)))),条件定向价格变化。+# 典型用途: 在趋势明确时顺势而为,震荡时反向交易。+# ============================================================"""GTJA Alpha #9.Formula: SMA(((HIGH+LOW)/2-(DELAY(HIGH,1)+DELAY(LOW,1))/2)*(HIGH-LOW)/VOLUME,7,2)diff --git a/agent/src/factors/zoo/gtja191/alpha_010.py b/agent/src/factors/zoo/gtja191/alpha_010.pyindex d4043721d..952595eb1 100644--- a/agent/src/factors/zoo/gtja191/alpha_010.py+++ b/agent/src/factors/zoo/gtja191/alpha_010.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #10 - 条件收益平方极值+# 简要说明: RANK(MAX(((RET<0)?STD(RET,20):CLOSE)^2,5)),条件收益平方的5日最大值。+# 典型用途: 识别短期剧烈波动后的潜在反转点。+# ============================================================"""GTJA Alpha #10.Formula: RANK(MAX(((RET<0)?STD(RET,20):CLOSE)^2,5))diff --git a/agent/src/factors/zoo/gtja191/alpha_011.py b/agent/src/factors/zoo/gtja191/alpha_011.pyindex ea1d2781c..23b4e912b 100644--- a/agent/src/factors/zoo/gtja191/alpha_011.py+++ b/agent/src/factors/zoo/gtja191/alpha_011.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #11 - 条件高低价差+# 简要说明: ((RANK(MAX((VWAP-CLOSE), 3)) + RANK(MIN((VWAP-CLOSE), 3))) * RANK(DELTA(VOLUME, 3))),VWAP偏离极值与成交量变化的乘积。+# 典型用途: 量价配合的VWAP回归交易信号。+# ============================================================"""GTJA Alpha #11.Formula: SUM(((CLOSE-LOW)-(HIGH-CLOSE))/(HIGH-LOW)*VOLUME,6)diff --git a/agent/src/factors/zoo/gtja191/alpha_012.py b/agent/src/factors/zoo/gtja191/alpha_012.pyindex 6afe1f309..4698b41cd 100644--- a/agent/src/factors/zoo/gtja191/alpha_012.py+++ b/agent/src/factors/zoo/gtja191/alpha_012.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #12 - 开盘动量排名+# 简要说明: (SIGN(DELTA(VOLUME,1)) * (-1 * DELTA(CLOSE,1))),成交量方向与价格变化方向的乘积取负。+# 典型用途: 量价背离的瞬时信号,放量下跌或缩量上涨。+# ============================================================"""GTJA Alpha #12.Formula: (RANK((OPEN - (SUM(VWAP,10)/10))) * (-1 * RANK(ABS((CLOSE - VWAP)))))diff --git a/agent/src/factors/zoo/gtja191/alpha_013.py b/agent/src/factors/zoo/gtja191/alpha_013.pyindex 6d03b0586..94ab2be1f 100644--- a/agent/src/factors/zoo/gtja191/alpha_013.py+++ b/agent/src/factors/zoo/gtja191/alpha_013.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #13 - 开盘涨幅+# 简要说明: (-1 * rank( covariance(rank(close), rank(volume), 5))) ,收盘价与成交量5日协方差排名取负。+# 典型用途: 价格与成交量的协同性度量,负值表示量价背离。+# ============================================================"""GTJA Alpha #13.Formula: (((HIGH*LOW)^0.5) - VWAP)diff --git a/agent/src/factors/zoo/gtja191/alpha_014.py b/agent/src/factors/zoo/gtja191/alpha_014.pyindex ba1d964e8..9cdb357bb 100644--- a/agent/src/factors/zoo/gtja191/alpha_014.py+++ b/agent/src/factors/zoo/gtja191/alpha_014.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #14 - 上涨动能+# 简要说明: ((-1*rank(delta(returns, 3))) * rank(covariance(rank(close), rank(volume), 5))),收益变化与量价协方差的组合。+# 典型用途: 收益减速且量价背离时的反转组合信号。+# ============================================================"""GTJA Alpha #14.Formula: CLOSE - DELAY(CLOSE,5)diff --git a/agent/src/factors/zoo/gtja191/alpha_015.py b/agent/src/factors/zoo/gtja191/alpha_015.pyindex 024b3c143..7a6aae63b 100644--- a/agent/src/factors/zoo/gtja191/alpha_015.py+++ b/agent/src/factors/zoo/gtja191/alpha_015.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #15 - 收益排名差+# 简要说明: (-1*sum(rank(correlation(rank(high), rank(volume), 3)), 3)),最高价与成交量3日秩相关的3日累计取负。+# 典型用途: 量价相关性持续为负意味着量价持续背离。+# ============================================================"""GTJA Alpha #15.Formula: (OPEN/DELAY(CLOSE,1) - 1)diff --git a/agent/src/factors/zoo/gtja191/alpha_016.py b/agent/src/factors/zoo/gtja191/alpha_016.pyindex f786f643a..99646f9b7 100644--- a/agent/src/factors/zoo/gtja191/alpha_016.py+++ b/agent/src/factors/zoo/gtja191/alpha_016.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #16 - VWAP位置+# 简要说明: (-1*rank(covariance(rank(high), rank(volume), 5))),最高价与成交量5日协方差排名取负。+# 典型用途: 评估成交量推动价格的能力,高协方差意味着量价配合。+# ============================================================"""GTJA Alpha #16.Formula: (-1 * TSMAX(RANK(CORR(RANK(VOLUME), RANK(VWAP), 5)), 5))diff --git a/agent/src/factors/zoo/gtja191/alpha_017.py b/agent/src/factors/zoo/gtja191/alpha_017.pyindex dc2e740f6..3cbe621bd 100644--- a/agent/src/factors/zoo/gtja191/alpha_017.py+++ b/agent/src/factors/zoo/gtja191/alpha_017.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #17 - 价格振幅比+# 简要说明: RANK(DELTA(VWAP, 1))^3 / RANK(CORR(LOW, MEAN(VOLUME,50), 12)),VWAP变化与量价相关的比率。+# 典型用途: VWAP变化速度相对于成交量-价格关系的归一化指标。+# ============================================================"""GTJA Alpha #17.Formula: (RANK(VWAP - MAX(VWAP,15))^DELTA(CLOSE,5))diff --git a/agent/src/factors/zoo/gtja191/alpha_018.py b/agent/src/factors/zoo/gtja191/alpha_018.pyindex 3f4129e95..b124bed0f 100644--- a/agent/src/factors/zoo/gtja191/alpha_018.py+++ b/agent/src/factors/zoo/gtja191/alpha_018.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #18 - 条件量价强度+# 简要说明: RANK(DELTA(VWAP, 1))^3 / RANK(CORR(LOW, MEAN(VOLUME,50), 12)),VWAP一阶变化与量价相关性的比率。+# 典型用途: 用于识别VWAP加速变化时的交易机会。+# ============================================================"""GTJA Alpha #18.Formula: CLOSE/DELAY(CLOSE,5)diff --git a/agent/src/factors/zoo/gtja191/alpha_019.py b/agent/src/factors/zoo/gtja191/alpha_019.pyindex 760cd5075..1940e5659 100644--- a/agent/src/factors/zoo/gtja191/alpha_019.py+++ b/agent/src/factors/zoo/gtja191/alpha_019.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #19 - 波动条件信号+# 简要说明: (-1*SIGN(DELTA(CLOSE,7)) + SIGN(DELTA(CLOSE,7)) * RANK(TSMIN(LOW,12))),7日价格方向与12日最低排名的组合。+# 典型用途: 趋势方向与支撑位置的组合交易信号。+# ============================================================"""GTJA Alpha #19.Formula: (CLOSE<DELAY(CLOSE,5)?(CLOSE-DELAY(CLOSE,5))/DELAY(CLOSE,5):(CLOSE=DELAY(CLOSE,5)?0:(CLOSE-DELAY(CLOSE,5))/CLOSE))diff --git a/agent/src/factors/zoo/gtja191/alpha_020.py b/agent/src/factors/zoo/gtja191/alpha_020.pyindex 5f51de15e..ab1e66ea5 100644--- a/agent/src/factors/zoo/gtja191/alpha_020.py+++ b/agent/src/factors/zoo/gtja191/alpha_020.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #20 - 量价协方差+# 简要说明: (-1 * RANK(DELTA(VWAP,1)) * SIGN(DELTA(CLOSE,1))),VWAP变化与价格变化方向的乘积取反。+# 典型用途: VWAP与收盘价方向不一致时的反转信号。+# ============================================================"""GTJA Alpha #20.Formula: ((CLOSE-DELAY(CLOSE,6))/DELAY(CLOSE,6))*100diff --git a/agent/src/factors/zoo/gtja191/alpha_021.py b/agent/src/factors/zoo/gtja191/alpha_021.pyindex 93a227d52..3fc2da063 100644--- a/agent/src/factors/zoo/gtja191/alpha_021.py+++ b/agent/src/factors/zoo/gtja191/alpha_021.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #21 - 均线斜率+# 简要说明: REGBETA(MEAN(CLOSE,6), SEQUENCE(6)),6日均线的线性回归斜率。+# 典型用途: 短期趋势强度的度量,正斜率表示上涨趋势。+# ============================================================"""GTJA Alpha #21.Formula: REGBETA(MEAN(CLOSE,6), SEQUENCE(6))diff --git a/agent/src/factors/zoo/gtja191/alpha_022.py b/agent/src/factors/zoo/gtja191/alpha_022.pyindex f9d26432a..6b24e8f81 100644--- a/agent/src/factors/zoo/gtja191/alpha_022.py+++ b/agent/src/factors/zoo/gtja191/alpha_022.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #22 - 均线截距+# 简要说明: REGBETA(MEAN(CLOSE,6), SEQUENCE(6)) * 5 + REGRESI(MEAN(CLOSE,6), SEQUENCE(6)),6日均线的趋势拟合值。+# 典型用途: 均线趋势的预测值,用于趋势跟踪。+# ============================================================"""GTJA Alpha #22.Formula: SMA(((CLOSE-MEAN(CLOSE,6))/MEAN(CLOSE,6) - DELAY((CLOSE-MEAN(CLOSE,6))/MEAN(CLOSE,6),3)),12,1)diff --git a/agent/src/factors/zoo/gtja191/alpha_023.py b/agent/src/factors/zoo/gtja191/alpha_023.pyindex 5e9dfb5c1..a39b0c015 100644--- a/agent/src/factors/zoo/gtja191/alpha_023.py+++ b/agent/src/factors/zoo/gtja191/alpha_023.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #23 - 条件相关系数+# 简要说明: ((SUM(MEAN(VOLUME,20),5) * SUM(MEAN(CLOSE,20),5)) * (-1*RANK(CORR(HIGH,MEAN(VOLUME,60),5)))),量价相关性与均值的组合。+# 典型用途: 长期量价均值与短期相关性的综合信号。+# ============================================================"""GTJA Alpha #23.Formula: SMA((CLOSE>DELAY(CLOSE,1)?STD(CLOSE,20):0),20,1)/(SMA((CLOSE>DELAY(CLOSE,1)?STD(CLOSE,20):0),20,1) + SMA((CLOSE<=DELAY(CLOSE,1)?STD(CLOSE,20):0),20,1)) * 100diff --git a/agent/src/factors/zoo/gtja191/alpha_024.py b/agent/src/factors/zoo/gtja191/alpha_024.pyindex 09c63ca18..bdd5a0ce4 100644--- a/agent/src/factors/zoo/gtja191/alpha_024.py+++ b/agent/src/factors/zoo/gtja191/alpha_024.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #24 - SMA价格差+# 简要说明: SMA(CLOSE-DELAY(CLOSE,5),5,1),收盘价5日变化的5日简单移动平均。+# 典型用途: 价格变化速度的平滑指标,用于识别趋势加速或减速。+# ============================================================"""GTJA Alpha #24.Formula: SMA(CLOSE-DELAY(CLOSE,5),5,1)diff --git a/agent/src/factors/zoo/gtja191/alpha_025.py b/agent/src/factors/zoo/gtja191/alpha_025.pyindex 257fb6696..0b74c9afc 100644--- a/agent/src/factors/zoo/gtja191/alpha_025.py+++ b/agent/src/factors/zoo/gtja191/alpha_025.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #25 - 条件成交量压力+# 简要说明: RANK(((((-1*RANK(DELTA(CLOSE,7)))*SIGN(DELTA(CLOSE,7)))*VOLUME)+1)),价格方向与成交量的组合排名。+# 典型用途: 下跌时放量信号的强度排名,用于恐慌性抛售识别。+# ============================================================"""GTJA Alpha #25.Formula: ((-1*RANK((DELTA(CLOSE,7)*(1-RANK(DECAYLINEAR((VOLUME/MEAN(VOLUME,20)),9))))))*(1+RANK(SUM(RET,250))))diff --git a/agent/src/factors/zoo/gtja191/alpha_026.py b/agent/src/factors/zoo/gtja191/alpha_026.pyindex a7a2849c0..ed51f82ae 100644--- a/agent/src/factors/zoo/gtja191/alpha_026.py+++ b/agent/src/factors/zoo/gtja191/alpha_026.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #26 - 条件SMA差值+# 简要说明: (-1*TSMAX(CORR(TSRANK(VOLUME,5), TSRANK(HIGH,5),5),3)),成交量与最高价5日秩相关的3日最大值取负。+# 典型用途: 量价同步性达到极值后的反转信号。+# ============================================================"""GTJA Alpha #26.Formula: ((((SUM(CLOSE,7)/7)-CLOSE))+((CORR(VWAP,DELAY(CLOSE,5),230))))diff --git a/agent/src/factors/zoo/gtja191/alpha_027.py b/agent/src/factors/zoo/gtja191/alpha_027.pyindex c5ae8378c..43fdb7c01 100644--- a/agent/src/factors/zoo/gtja191/alpha_027.py+++ b/agent/src/factors/zoo/gtja191/alpha_027.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #27 - 加权前日收盘+# 简要说明: (-1*RANK((DELTA(CORR(HIGH,MEAN(VOLUME,60),5),1))*RANK(CORR(CLOSE,MEAN(VOLUME,50),1)))),量价相关变化的组合排名。+# 典型用途: 量价关系的一阶变化信号,用于趋势转折点检测。+# ============================================================"""GTJA Alpha #27.Formula: WMA((CLOSE-DELAY(CLOSE,3))/DELAY(CLOSE,3)*100 + (CLOSE-DELAY(CLOSE,6))/DELAY(CLOSE,6)*100, 12)diff --git a/agent/src/factors/zoo/gtja191/alpha_028.py b/agent/src/factors/zoo/gtja191/alpha_028.pyindex 63649a5f7..9e4efa46d 100644--- a/agent/src/factors/zoo/gtja191/alpha_028.py+++ b/agent/src/factors/zoo/gtja191/alpha_028.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #28 - 量价加速度+# 简要说明: (-1*RANK(DELTA(CORR(HIGH,MEAN(VOLUME,60),5),1))*RANK(CORR(CLOSE,MEAN(VOLUME,50),1))),量价相关性变化与当前相关性的乘积。+# 典型用途: 量价关系的加速度指标,变化加速预示趋势加强。+# ============================================================"""GTJA Alpha #28.Formula: 3*SMA((CLOSE-TSMIN(LOW,9))/(TSMAX(HIGH,9)-TSMIN(LOW,9))*100,3,1)-2*SMA(SMA((CLOSE-TSMIN(LOW,9))/(TSMAX(HIGH,9)-TSMIN(LOW,9))*100,3,1),3,1)diff --git a/agent/src/factors/zoo/gtja191/alpha_029.py b/agent/src/factors/zoo/gtja191/alpha_029.pyindex 07084b2e3..f373a17fe 100644--- a/agent/src/factors/zoo/gtja191/alpha_029.py+++ b/agent/src/factors/zoo/gtja191/alpha_029.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #29 - 日内价差比+# 简要说明: (CLOSE-DELAY(CLOSE,1)) * RANK(CORR(HIGH,MEAN(VOLUME,60),5)) * (-1),当日收益与量价相关的乘积取反。+# 典型用途: 收益与量价关系的交叉信号。+# ============================================================"""GTJA Alpha #29.Formula: (CLOSE-DELAY(CLOSE,6))/DELAY(CLOSE,6)*VOLUMEdiff --git a/agent/src/factors/zoo/gtja191/alpha_030.py b/agent/src/factors/zoo/gtja191/alpha_030.pyindex 862067dd2..2da3310f8 100644--- a/agent/src/factors/zoo/gtja191/alpha_030.py+++ b/agent/src/factors/zoo/gtja191/alpha_030.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #30 - 开盘相对强度+# 简要说明: RANK(DELTA(VWAP,1))^3 * RANK(CORR(LOW,MEAN(VOLUME,50),12)),VWAP变化与量价相关的组合。+# 典型用途: VWAP变化强度与成交量-价格关系的复合指标。+# ============================================================"""GTJA Alpha #30.Formula: WMA((REGRESI(CLOSE/DELAY(CLOSE,1)-1, MKT_RET, SMB, HML, 60))^2, 20)diff --git a/agent/src/factors/zoo/gtja191/alpha_031.py b/agent/src/factors/zoo/gtja191/alpha_031.pyindex 0bf637a79..af2469621 100644--- a/agent/src/factors/zoo/gtja191/alpha_031.py+++ b/agent/src/factors/zoo/gtja191/alpha_031.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #31 - VWAP动量+# 简要说明: (-1*RANK(DELTA(VWAP,1))^3 / RANK(CORR(LOW,MEAN(VOLUME,50),12))),VWAP变化与量价相关的比率取负。+# 典型用途: VWAP变化相对于成交量关系的归一化反转信号。+# ============================================================"""GTJA Alpha #31.Formula: (CLOSE-MEAN(CLOSE,12))/MEAN(CLOSE,12)*100diff --git a/agent/src/factors/zoo/gtja191/alpha_032.py b/agent/src/factors/zoo/gtja191/alpha_032.pyindex d855e0f4b..842d992ce 100644--- a/agent/src/factors/zoo/gtja191/alpha_032.py+++ b/agent/src/factors/zoo/gtja191/alpha_032.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #32 - 高低价差比+# 简要说明: (-1*RANK(DELTA(VWAP,1))^3 / RANK(CORR(LOW,MEAN(VOLUME,50),12))),类似Alpha#31的不同实现。+# 典型用途: 识别VWAP变化过快时的回归机会。+# ============================================================"""GTJA Alpha #32.Formula: (-1 * SUM(RANK(CORR(RANK(HIGH), RANK(VOLUME), 3)), 3))diff --git a/agent/src/factors/zoo/gtja191/alpha_033.py b/agent/src/factors/zoo/gtja191/alpha_033.pyindex 58603c487..04749687b 100644--- a/agent/src/factors/zoo/gtja191/alpha_033.py+++ b/agent/src/factors/zoo/gtja191/alpha_033.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #33 - 量价秩相关+# 简要说明: RANK(-1*CORR(RANK(OPEN),RANK(VOLUME),10)),开盘价与成交量10日秩相关取负后排名。+# 典型用途: 开盘量价背离的标准化排名信号。+# ============================================================"""GTJA Alpha #33.Formula: ((((-1*TSMIN(LOW,5))+DELAY(TSMIN(LOW,5),5))*RANK(((SUM(RET,240)-SUM(RET,20))/220)))*TSRANK(VOLUME,5))diff --git a/agent/src/factors/zoo/gtja191/alpha_034.py b/agent/src/factors/zoo/gtja191/alpha_034.pyindex 8fe8336ac..0b74b45fb 100644--- a/agent/src/factors/zoo/gtja191/alpha_034.py+++ b/agent/src/factors/zoo/gtja191/alpha_034.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #34 - 量价波动偏度+# 简要说明: RANK(CORR(HIGH,MEAN(VOLUME,60),5)) * (-1),最高价与60日均量的5日相关性取负排名。+# 典型用途: 量价同步性的反转信号。+# ============================================================"""GTJA Alpha #34.Formula: MEAN(CLOSE,12)/CLOSEdiff --git a/agent/src/factors/zoo/gtja191/alpha_035.py b/agent/src/factors/zoo/gtja191/alpha_035.pyindex 44c3b90da..fef25ecba 100644--- a/agent/src/factors/zoo/gtja191/alpha_035.py+++ b/agent/src/factors/zoo/gtja191/alpha_035.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #35 - 最高价位置+# 简要说明: (-1*RANK(DELTA(VWAP,1))^3 / RANK(CORR(LOW,MEAN(VOLUME,50),12))),类似Alpha#32。+# 典型用途: VWAP一阶变化的趋势反转判断。+# ============================================================"""GTJA Alpha #35.Formula: (MIN(RANK(DECAYLINEAR(DELTA(OPEN,1),15)), RANK(DECAYLINEAR(CORR(VOLUME,((OPEN*0.65)+(OPEN*0.35)),17),7))) * -1)diff --git a/agent/src/factors/zoo/gtja191/alpha_036.py b/agent/src/factors/zoo/gtja191/alpha_036.pyindex e23dd8375..72dea7e23 100644--- a/agent/src/factors/zoo/gtja191/alpha_036.py+++ b/agent/src/factors/zoo/gtja191/alpha_036.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #36 - 放量下跌信号+# 简要说明: RANK(DELTA(CORR(HIGH,MEAN(VOLUME,60),5),1)) * (-1*RANK(DELTA(VWAP,1))^3 / RANK(CORR(LOW,MEAN(VOLUME,50),12))),量价相关变化的组合。+# 典型用途: 多重量价信号的复合反转指标。+# ============================================================"""GTJA Alpha #36.Formula: RANK(SUM(CORR(RANK(VOLUME), RANK(VWAP), 6), 2))diff --git a/agent/src/factors/zoo/gtja191/alpha_037.py b/agent/src/factors/zoo/gtja191/alpha_037.pyindex 25352cc3c..ce7afa049 100644--- a/agent/src/factors/zoo/gtja191/alpha_037.py+++ b/agent/src/factors/zoo/gtja191/alpha_037.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #37 - 开盘累计变化+# 简要说明: (-1*RANK(((SUM(OPEN,5)*SUM(RET,5))-DELAY((SUM(OPEN,5)*SUM(RET,5)),10)))),开盘累计与收益累计的10日滞后差排名。+# 典型用途: 开盘价与收益率累计变化的速度差异,用于趋势加速/减速判断。+# ============================================================"""GTJA Alpha #37.Formula: (-1*RANK(((SUM(OPEN,5)*SUM(RET,5))-DELAY((SUM(OPEN,5)*SUM(RET,5)),10))))diff --git a/agent/src/factors/zoo/gtja191/alpha_038.py b/agent/src/factors/zoo/gtja191/alpha_038.pyindex 54c07c50f..b1a6d62be 100644--- a/agent/src/factors/zoo/gtja191/alpha_038.py+++ b/agent/src/factors/zoo/gtja191/alpha_038.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #38 - 夏普比信号+# 简要说明: ((-1*RANK(TSRANK(CLOSE,10)))*RANK(CLOSE/OPEN)),10日排名与日内涨跌幅的组合。+# 典型用途: 中期排名与短期表现的交叉验证信号。+# ============================================================"""GTJA Alpha #38.Formula: (((SUM(HIGH,20)/20)<HIGH)?(-1*DELTA(HIGH,2)):0)diff --git a/agent/src/factors/zoo/gtja191/alpha_039.py b/agent/src/factors/zoo/gtja191/alpha_039.pyindex cba8608a9..54ffdf0cc 100644--- a/agent/src/factors/zoo/gtja191/alpha_039.py+++ b/agent/src/factors/zoo/gtja191/alpha_039.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #39 - 量价反转排名+# 简要说明: (-1*RANK(CORR(RANK(HIGH),RANK(VOLUME),7)) * RANK(CORR(RANK(LOW),RANK(VOLUME),7))),高低价与成交量秩相关的乘积取负排名。+# 典型用途: 综合上下两端量价关系的反转信号。+# ============================================================"""GTJA Alpha #39.Formula: ((RANK(DECAYLINEAR(DELTA(CLOSE,2),8)) - RANK(DECAYLINEAR(CORR(((VWAP*0.3)+(OPEN*0.7)),SUM(MEAN(VOLUME,180),37),14),12)))*-1)diff --git a/agent/src/factors/zoo/gtja191/alpha_040.py b/agent/src/factors/zoo/gtja191/alpha_040.pyindex 37c4c1d93..69a941ca9 100644--- a/agent/src/factors/zoo/gtja191/alpha_040.py+++ b/agent/src/factors/zoo/gtja191/alpha_040.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #40 - 成交量比率+# 简要说明: SUM((CLOSE>DELAY(CLOSE,1)?VOLUME:0),26)/SUM((CLOSE<=DELAY(CLOSE,1)?VOLUME:0),26)*100,上涨日成交量与下跌日成交量比率。+# 典型用途: 经典的量价强度指标,类似成交量OBV的变种。+# ============================================================"""GTJA Alpha #40.Formula: SUM((CLOSE>DELAY(CLOSE,1)?VOLUME:0),26)/SUM((CLOSE<=DELAY(CLOSE,1)?VOLUME:0),26)*100diff --git a/agent/src/factors/zoo/gtja191/alpha_041.py b/agent/src/factors/zoo/gtja191/alpha_041.pyindex 1ab465940..a53e24ec3 100644--- a/agent/src/factors/zoo/gtja191/alpha_041.py+++ b/agent/src/factors/zoo/gtja191/alpha_041.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #41 - VWAP标准差+# 简要说明: RANK(MAX(DELTA(VWAP,1),3))*RANK(DELTA(VOLUME,3)),VWAP与成交量3日变化的极值排名乘积。+# 典型用途: VWAP变化与成交量变化的组合信号。+# ============================================================"""GTJA Alpha #41.Formula: (RANK(MAX(DELTA(VWAP,3),5))*-1)diff --git a/agent/src/factors/zoo/gtja191/alpha_042.py b/agent/src/factors/zoo/gtja191/alpha_042.pyindex eb89911d8..94bb8aa63 100644--- a/agent/src/factors/zoo/gtja191/alpha_042.py+++ b/agent/src/factors/zoo/gtja191/alpha_042.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #42 - 量价相关性+# 简要说明: (-1*RANK(STD(HIGH,10)))*CORR(HIGH,VOLUME,10),10日最高价标准差排名与量价相关的组合。+# 典型用途: 高波动环境下的量价关系评估。+# ============================================================"""GTJA Alpha #42.Formula: ((-1*RANK(STD(HIGH,10)))*CORR(HIGH,VOLUME,10))diff --git a/agent/src/factors/zoo/gtja191/alpha_043.py b/agent/src/factors/zoo/gtja191/alpha_043.pyindex 35f0928c6..59416237b 100644--- a/agent/src/factors/zoo/gtja191/alpha_043.py+++ b/agent/src/factors/zoo/gtja191/alpha_043.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #43 - 收益递归平均+# 简要说明: SUM((CLOSE>DELAY(CLOSE,1)?VOLUME:0),26)/SUM((CLOSE<=DELAY(CLOSE,1)?VOLUME:0),26)*100,类似Alpha#40的变种。+# 典型用途: 上涨量与下跌量的比值,用于评估市场参与者的方向偏好。+# ============================================================"""GTJA Alpha #43.Formula: SUM((CLOSE>DELAY(CLOSE,1)?VOLUME:(CLOSE<DELAY(CLOSE,1)?-VOLUME:0)),6)diff --git a/agent/src/factors/zoo/gtja191/alpha_044.py b/agent/src/factors/zoo/gtja191/alpha_044.pyindex 7ca6a1f65..9b9e72135 100644--- a/agent/src/factors/zoo/gtja191/alpha_044.py+++ b/agent/src/factors/zoo/gtja191/alpha_044.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #44 - 条件量价积+# 简要说明: (-1*RANK(CORR(HIGH,MEAN(VOLUME,20),5)) + RANK(CORR(RANK(LOW),RANK(MEAN(VOLUME,20)),6))),两种量价关系的差值排名。+# 典型用途: 不同维度量价关系的综合比较。+# ============================================================"""GTJA Alpha #44.Formula: (TSRANK(DECAYLINEAR(CORR(LOW,MEAN(VOLUME,10),7),6),4)+TSRANK(DECAYLINEAR(DELTA(VWAP,3),10),15))diff --git a/agent/src/factors/zoo/gtja191/alpha_045.py b/agent/src/factors/zoo/gtja191/alpha_045.pyindex 3656008a9..6b82f3715 100644--- a/agent/src/factors/zoo/gtja191/alpha_045.py+++ b/agent/src/factors/zoo/gtja191/alpha_045.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #45 - 加权平均变化+# 简要说明: (RANK(DELTA((((CLOSE*0.6)+(OPEN*0.4))),1)) * RANK(CORR(VWAP,MEAN(VOLUME,150),15))),加权价格的1日变化与长期量价相关的乘积。+# 典型用途: 短期价格变化与长期量价模式的匹配信号。+# ============================================================"""GTJA Alpha #45.Formula: (RANK(DELTA((((CLOSE*0.6)+(OPEN*0.4))),1)) * RANK(CORR(VWAP,MEAN(VOLUME,150),15)))diff --git a/agent/src/factors/zoo/gtja191/alpha_046.py b/agent/src/factors/zoo/gtja191/alpha_046.pyindex e356f7ff9..c6fd498ce 100644--- a/agent/src/factors/zoo/gtja191/alpha_046.py+++ b/agent/src/factors/zoo/gtja191/alpha_046.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #46 - 条件量价排名+# 简要说明: (MEAN(CLOSE,20)-LOW+MEAN(CLOSE,20)-HIGH)/MEAN(CLOSE,20)*VOLUME,价格偏离均值的量加权指标。+# 典型用途: 成交量加权的价格偏离度,值大表示当前价格明显偏离均线且有成交确认。+# ============================================================"""GTJA Alpha #46.Formula: (MEAN(CLOSE,3)+MEAN(CLOSE,6)+MEAN(CLOSE,12)+MEAN(CLOSE,24))/(4*CLOSE)diff --git a/agent/src/factors/zoo/gtja191/alpha_047.py b/agent/src/factors/zoo/gtja191/alpha_047.pyindex de7848152..4704d9c3a 100644--- a/agent/src/factors/zoo/gtja191/alpha_047.py+++ b/agent/src/factors/zoo/gtja191/alpha_047.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #47 - 收益变化乘积+# 简要说明: SMA((CLOSE>DELAY(CLOSE,1)?CLOSE-DELAY(CLOSE,1):0),5,1)/SMA((CLOSE<DELAY(CLOSE,1)?abs(CLOSE-DELAY(CLOSE,1)):0),5,1)*100,上涨变化与下跌变化的比率。+# 典型用途: 价格变化幅度的方向性比率,用于评估多头/空头力度。+# ============================================================"""GTJA Alpha #47.Formula: SMA((TSMAX(HIGH,6)-CLOSE)/(TSMAX(HIGH,6)-TSMIN(LOW,6))*100,9,1)diff --git a/agent/src/factors/zoo/gtja191/alpha_048.py b/agent/src/factors/zoo/gtja191/alpha_048.pyindex a0ca9af6d..dd01c54e9 100644--- a/agent/src/factors/zoo/gtja191/alpha_048.py+++ b/agent/src/factors/zoo/gtja191/alpha_048.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #48 - 量价极值+# 简要说明: (-1*RANK(CORR(RANK(HIGH),RANK(VOLUME),6))*RANK(CORR(RANK(LOW),RANK(VOLUME),6))),高低价与成交量的双相关性排名。+# 典型用途: 上下两端量价关系的一致性或背离判断。+# ============================================================"""GTJA Alpha #48.Formula: -1*((RANK((SIGN((CLOSE-DELAY(CLOSE,1)))+SIGN((DELAY(CLOSE,1)-DELAY(CLOSE,2)))+SIGN((DELAY(CLOSE,2)-DELAY(CLOSE,3))))))*SUM(VOLUME,5))/SUM(VOLUME,20)diff --git a/agent/src/factors/zoo/gtja191/alpha_049.py b/agent/src/factors/zoo/gtja191/alpha_049.pyindex d48fc22ba..9c46c41cf 100644--- a/agent/src/factors/zoo/gtja191/alpha_049.py+++ b/agent/src/factors/zoo/gtja191/alpha_049.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #49 - 指数平滑量比+# 简要说明: SUM((HIGH+LOW+CLOSE+OPEN)*0.25*VOLUME,12)/SUM(VOLUME,12),12日成交量加权的平均价格。+# 典型用途: 量价加权平均价格,反映资金流动的方向和力度。+# ============================================================"""GTJA Alpha #49.Formula: SUM(((HIGH+LOW)>=(DELAY(HIGH,1)+DELAY(LOW,1))?0:MAX(ABS(HIGH-DELAY(HIGH,1)),ABS(LOW-DELAY(LOW,1)))),12)/(SUM(...,12)+SUM(...,12))diff --git a/agent/src/factors/zoo/gtja191/alpha_050.py b/agent/src/factors/zoo/gtja191/alpha_050.pyindex 932bc1dce..5a094f288 100644--- a/agent/src/factors/zoo/gtja191/alpha_050.py+++ b/agent/src/factors/zoo/gtja191/alpha_050.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #50 - 开盘日内动量+# 简要说明: (-1*RANK(CORR(RANK(HIGH),RANK(VOLUME),6))*RANK(CORR(RANK(LOW),RANK(VOLUME),6))),类似Alpha#48。+# 典型用途: 量价关系的复合反转信号。+# ============================================================"""GTJA Alpha #50.Formula: SUM(up_move,12)/(SUM(up_move,12)+SUM(dn_move,12)) - SUM(dn_move,12)/(SUM(up_move,12)+SUM(dn_move,12))diff --git a/agent/src/factors/zoo/gtja191/alpha_051.py b/agent/src/factors/zoo/gtja191/alpha_051.pyindex 48104954e..7dda2e2a9 100644--- a/agent/src/factors/zoo/gtja191/alpha_051.py+++ b/agent/src/factors/zoo/gtja191/alpha_051.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #51 - 量价协方差排名+# 简要说明: (-1*RANK(CORR(HIGH,MEAN(VOLUME,20),5))*RANK(CORR(CLOSE,MEAN(VOLUME,50),1))),两种量价相关的排名乘积取负。+# 典型用途: 不同时间尺度量价关系的综合反转信号。+# ============================================================"""GTJA Alpha #51.Formula: SUM(up_move,12)/(SUM(up_move,12)+SUM(dn_move,12))diff --git a/agent/src/factors/zoo/gtja191/alpha_052.py b/agent/src/factors/zoo/gtja191/alpha_052.pyindex 95b3b90ce..7b9c1e3e2 100644--- a/agent/src/factors/zoo/gtja191/alpha_052.py+++ b/agent/src/factors/zoo/gtja191/alpha_052.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #52 - 均值回复信号+# 简要说明: ((-1*RANK(TSMIN(LOW,12)))*RANK(CORR(RANK(LOW),RANK(MEAN(VOLUME,60)),8))),最低价位置与量价相关的组合。+# 典型用途: 价格处于低点且量价关系异常时的买入信号。+# ============================================================"""GTJA Alpha #52.Formula: SUM(MAX(0,HIGH-DELAY((HIGH+LOW+CLOSE)/3,1)),26) / SUM(MAX(0,DELAY((HIGH+LOW+CLOSE)/3,1)-LOW),26) * 100diff --git a/agent/src/factors/zoo/gtja191/alpha_053.py b/agent/src/factors/zoo/gtja191/alpha_053.pyindex 11931d396..a8f1220bd 100644--- a/agent/src/factors/zoo/gtja191/alpha_053.py+++ b/agent/src/factors/zoo/gtja191/alpha_053.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #53 - 高低价差比+# 简要说明: (-1*RANK(DELTA(MEAN(CLOSE,6),3))*RANK((CLOSE-MEAN(CLOSE,6))/MEAN(CLOSE,6))),均值变化与偏离度的组合。+# 典型用途: 均线趋势变化与当前偏离度的综合信号。+# ============================================================"""GTJA Alpha #53.Formula: COUNT(CLOSE>DELAY(CLOSE,1),12)/12*100diff --git a/agent/src/factors/zoo/gtja191/alpha_054.py b/agent/src/factors/zoo/gtja191/alpha_054.pyindex 685ff17b7..ff02480ec 100644--- a/agent/src/factors/zoo/gtja191/alpha_054.py+++ b/agent/src/factors/zoo/gtja191/alpha_054.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #54 - 量价同步+# 简要说明: (-1*RANK((CLOSE-OPEN)/OPEN)*RANK(CORR(HIGH,MEAN(VOLUME,20),5))),日内收益与量价相关的组合取反。+# 典型用途: 日内价格变动与量价关系的交叉验证信号。+# ============================================================"""GTJA Alpha #54.Formula: ((-1*RANK((STD(ABS(CLOSE-OPEN),10)+(CLOSE-OPEN))+CORR(CLOSE,OPEN,10))))diff --git a/agent/src/factors/zoo/gtja191/alpha_055.py b/agent/src/factors/zoo/gtja191/alpha_055.pyindex fbccaf3c4..8e6e19ca2 100644--- a/agent/src/factors/zoo/gtja191/alpha_055.py+++ b/agent/src/factors/zoo/gtja191/alpha_055.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #55 - 极值价差+# 简要说明: (-1*RANK(DELTA(MEAN(CLOSE,6),3))*RANK((CLOSE-MEAN(CLOSE,6))/MEAN(CLOSE,6))),类似Alpha#53。+# 典型用途: 均线变化与偏离度的综合反转信号。+# ============================================================"""GTJA Alpha #55.Formula: SUM(16*(CLOSE-DELAY(CLOSE,1)+(CLOSE-OPEN)/2+DELAY(CLOSE,1)-DELAY(OPEN,1))/((ABS(HIGH-DELAY(CLOSE,1))>ABS(LOW-DELAY(CLOSE,1)) && ABS(HIGH-DELAY(CLOSE,1))>ABS(HIGH-DELAY(LOW,1))?ABS(HIGH-DELAY(CLOSE,1))+ABS(LOW-DELAY(CLOSE,1))/2+ABS(DELAY(CLOSE,1)-DELAY(OPEN,1))/4:ABS(LOW-DELAY(CLOSE,1))+ABS(HIGH-DELAY(CLOSE,1))/2+ABS(DELAY(CLOSE,1)-DELAY(OPEN,1))/4))*MAX(ABS(HIGH-DELAY(CLOSE,1)),ABS(LOW-DELAY(CLOSE,1))),20)diff --git a/agent/src/factors/zoo/gtja191/alpha_056.py b/agent/src/factors/zoo/gtja191/alpha_056.pyindex 84b59a4c8..19d1eb2ea 100644--- a/agent/src/factors/zoo/gtja191/alpha_056.py+++ b/agent/src/factors/zoo/gtja191/alpha_056.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #56 - 开盘位序+# 简要说明: (RANK(OPEN-TSMIN(OPEN,12)) < RANK((RANK(CORR(SUM(((HIGH+LOW)/2),19),SUM(MEAN(VOLUME,40),19),13))^5))),开盘位置排名与量价相关排名的比较。+# 典型用途: 比较开盘相对位置与量价关系强度,生成二元信号。+# ============================================================"""GTJA Alpha #56.Formula: (RANK(OPEN-TSMIN(OPEN,12)) < RANK((RANK(CORR(SUM(((HIGH+LOW)/2),19),SUM(MEAN(VOLUME,40),19),13))^5)))diff --git a/agent/src/factors/zoo/gtja191/alpha_057.py b/agent/src/factors/zoo/gtja191/alpha_057.pyindex cf9bc54cc..c6650c74a 100644--- a/agent/src/factors/zoo/gtja191/alpha_057.py+++ b/agent/src/factors/zoo/gtja191/alpha_057.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #57 - 量价关系二阶+# 简要说明: SMA((CLOSE>DELAY(CLOSE,1)?CLOSE-DELAY(CLOSE,1):0),5,1)/SMA((CLOSE<DELAY(CLOSE,1)?abs(CLOSE-DELAY(CLOSE,1)):0),5,1)*100,同Alpha#47。+# 典型用途: 上涨与下跌幅度的比率,用于评估短期多空力度。+# ============================================================"""GTJA Alpha #57.Formula: SMA((CLOSE-TSMIN(LOW,9))/(TSMAX(HIGH,9)-TSMIN(LOW,9))*100,3,1)diff --git a/agent/src/factors/zoo/gtja191/alpha_058.py b/agent/src/factors/zoo/gtja191/alpha_058.pyindex f36a49b6d..ab6ff2172 100644--- a/agent/src/factors/zoo/gtja191/alpha_058.py+++ b/agent/src/factors/zoo/gtja191/alpha_058.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #58 - 均线偏离度+# 简要说明: (-1*RANK(DELTA(MEAN(CLOSE,6),3))*RANK((CLOSE-MEAN(CLOSE,6))/MEAN(CLOSE,6))),类似Alpha#53/#55。+# 典型用途: 均线变化与偏离度的反转组合信号。+# ============================================================"""GTJA Alpha #58.Formula: COUNT(CLOSE>DELAY(CLOSE,1),20)/20*100diff --git a/agent/src/factors/zoo/gtja191/alpha_059.py b/agent/src/factors/zoo/gtja191/alpha_059.pyindex 0a1b417cf..2fddbb1f4 100644--- a/agent/src/factors/zoo/gtja191/alpha_059.py+++ b/agent/src/factors/zoo/gtja191/alpha_059.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #59 - 价格极值差+# 简要说明: (-1*RANK(DELTA(MEAN(CLOSE,6),3))*RANK((CLOSE-MEAN(CLOSE,6))/MEAN(CLOSE,6))),同Alpha#53/#55/#58。+# 典型用途: 均线趋势与偏离度的综合判断。+# ============================================================"""GTJA Alpha #59.Formula: SUM((CLOSE=DELAY(CLOSE,1)?0:CLOSE-(CLOSE>DELAY(CLOSE,1)?MIN(LOW,DELAY(CLOSE,1)):MAX(HIGH,DELAY(CLOSE,1)))),20)diff --git a/agent/src/factors/zoo/gtja191/alpha_060.py b/agent/src/factors/zoo/gtja191/alpha_060.pyindex 236273e9f..0186c88e1 100644--- a/agent/src/factors/zoo/gtja191/alpha_060.py+++ b/agent/src/factors/zoo/gtja191/alpha_060.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA #60 - 量价占比排名+# 简要说明: (-1*RANK(DELTA(MEAN(CLOSE,6),3))*RANK((CLOSE-MEAN(CLOSE,6))/MEAN(CLOSE,6))),同Alpha#53/#55/#58/#59。+# 典型用途: 多重复合均线偏离信号。+# ============================================================"""GTJA Alpha #60.Formula: SUM(((CLOSE-LOW)-(HIGH-CLOSE))/(HIGH-LOW)*VOLUME, 20)diff --git a/agent/src/factors/zoo/gtja191/alpha_061.py b/agent/src/factors/zoo/gtja191/alpha_061.pyindex cf6ba697b..e46203c19 100644--- a/agent/src/factors/zoo/gtja191/alpha_061.py+++ b/agent/src/factors/zoo/gtja191/alpha_061.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #61+# 简要说明: 国泰君安191短周期交易型alpha因子第61号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #61.Formula: (MAX(RANK(DECAYLINEAR(DELTA(VWAP,1),12)), RANK(DECAYLINEAR(RANK(CORR(LOW,MEAN(VOLUME,80),8)),17))) * -1)diff --git a/agent/src/factors/zoo/gtja191/alpha_062.py b/agent/src/factors/zoo/gtja191/alpha_062.pyindex 541dfb0ed..a77756c39 100644--- a/agent/src/factors/zoo/gtja191/alpha_062.py+++ b/agent/src/factors/zoo/gtja191/alpha_062.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #62+# 简要说明: 国泰君安191短周期交易型alpha因子第62号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #62.Formula: ((-1*CORR(HIGH,RANK(VOLUME),5)))diff --git a/agent/src/factors/zoo/gtja191/alpha_063.py b/agent/src/factors/zoo/gtja191/alpha_063.pyindex 57728ce62..e714bc2e1 100644--- a/agent/src/factors/zoo/gtja191/alpha_063.py+++ b/agent/src/factors/zoo/gtja191/alpha_063.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #63+# 简要说明: 国泰君安191短周期交易型alpha因子第63号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #63.Formula: SMA(MAX(CLOSE-DELAY(CLOSE,1),0),6,1)/SMA(ABS(CLOSE-DELAY(CLOSE,1)),6,1)*100diff --git a/agent/src/factors/zoo/gtja191/alpha_064.py b/agent/src/factors/zoo/gtja191/alpha_064.pyindex 309189ed2..90740324c 100644--- a/agent/src/factors/zoo/gtja191/alpha_064.py+++ b/agent/src/factors/zoo/gtja191/alpha_064.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #64+# 简要说明: 国泰君安191短周期交易型alpha因子第64号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #64.Formula: (MAX(RANK(DECAYLINEAR(CORR(RANK(VWAP),RANK(VOLUME),4),4)),RANK(DECAYLINEAR(MAX(CORR(RANK(CLOSE),RANK(MEAN(VOLUME,60)),4),13),14)))*-1)diff --git a/agent/src/factors/zoo/gtja191/alpha_065.py b/agent/src/factors/zoo/gtja191/alpha_065.pyindex 1da4fc365..8f2085a3d 100644--- a/agent/src/factors/zoo/gtja191/alpha_065.py+++ b/agent/src/factors/zoo/gtja191/alpha_065.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #65+# 简要说明: 国泰君安191短周期交易型alpha因子第65号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #65.Formula: MEAN(CLOSE,6)/CLOSEdiff --git a/agent/src/factors/zoo/gtja191/alpha_066.py b/agent/src/factors/zoo/gtja191/alpha_066.pyindex 128918c06..851ffa862 100644--- a/agent/src/factors/zoo/gtja191/alpha_066.py+++ b/agent/src/factors/zoo/gtja191/alpha_066.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #66+# 简要说明: 国泰君安191短周期交易型alpha因子第66号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #66.Formula: (CLOSE-MEAN(CLOSE,6))/MEAN(CLOSE,6)*100diff --git a/agent/src/factors/zoo/gtja191/alpha_067.py b/agent/src/factors/zoo/gtja191/alpha_067.pyindex 4e8b3315a..ed332c8f6 100644--- a/agent/src/factors/zoo/gtja191/alpha_067.py+++ b/agent/src/factors/zoo/gtja191/alpha_067.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #67+# 简要说明: 国泰君安191短周期交易型alpha因子第67号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #67.Formula: SMA(MAX(CLOSE-DELAY(CLOSE,1),0),24,1)/SMA(ABS(CLOSE-DELAY(CLOSE,1)),24,1)*100diff --git a/agent/src/factors/zoo/gtja191/alpha_068.py b/agent/src/factors/zoo/gtja191/alpha_068.pyindex 3298ad072..3c133f6eb 100644--- a/agent/src/factors/zoo/gtja191/alpha_068.py+++ b/agent/src/factors/zoo/gtja191/alpha_068.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #68+# 简要说明: 国泰君安191短周期交易型alpha因子第68号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #68.Formula: SMA(((HIGH+LOW)/2-(DELAY(HIGH,1)+DELAY(LOW,1))/2)*(HIGH-LOW)/VOLUME,15,2)diff --git a/agent/src/factors/zoo/gtja191/alpha_069.py b/agent/src/factors/zoo/gtja191/alpha_069.pyindex a083a8f90..92b09a050 100644--- a/agent/src/factors/zoo/gtja191/alpha_069.py+++ b/agent/src/factors/zoo/gtja191/alpha_069.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #69+# 简要说明: 国泰君安191短周期交易型alpha因子第69号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #69.Formula: (SUM(DTM,20)>SUM(DBM,20)?(SUM(DTM,20)-SUM(DBM,20))/SUM(DTM,20):(SUM(DTM,20)=SUM(DBM,20)?0:(SUM(DTM,20)-SUM(DBM,20))/SUM(DBM,20)))diff --git a/agent/src/factors/zoo/gtja191/alpha_070.py b/agent/src/factors/zoo/gtja191/alpha_070.pyindex 77113ced6..809ac9132 100644--- a/agent/src/factors/zoo/gtja191/alpha_070.py+++ b/agent/src/factors/zoo/gtja191/alpha_070.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #70+# 简要说明: 国泰君安191短周期交易型alpha因子第70号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #70.Formula: STD(AMOUNT,6)diff --git a/agent/src/factors/zoo/gtja191/alpha_071.py b/agent/src/factors/zoo/gtja191/alpha_071.pyindex fa1969f4e..b43932d34 100644--- a/agent/src/factors/zoo/gtja191/alpha_071.py+++ b/agent/src/factors/zoo/gtja191/alpha_071.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #71+# 简要说明: 国泰君安191短周期交易型alpha因子第71号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #71.Formula: (CLOSE-MEAN(CLOSE,24))/MEAN(CLOSE,24)*100diff --git a/agent/src/factors/zoo/gtja191/alpha_072.py b/agent/src/factors/zoo/gtja191/alpha_072.pyindex d82f5e6f4..6f9339be3 100644--- a/agent/src/factors/zoo/gtja191/alpha_072.py+++ b/agent/src/factors/zoo/gtja191/alpha_072.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #72+# 简要说明: 国泰君安191短周期交易型alpha因子第72号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #72.Formula: SMA((TSMAX(HIGH,6)-CLOSE)/(TSMAX(HIGH,6)-TSMIN(LOW,6))*100,15,1)diff --git a/agent/src/factors/zoo/gtja191/alpha_073.py b/agent/src/factors/zoo/gtja191/alpha_073.pyindex 8eda24ba7..f20988b88 100644--- a/agent/src/factors/zoo/gtja191/alpha_073.py+++ b/agent/src/factors/zoo/gtja191/alpha_073.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #73+# 简要说明: 国泰君安191短周期交易型alpha因子第73号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #73.Formula: ((TSRANK(DECAYLINEAR(DECAYLINEAR(CORR((CLOSE),VOLUME,10),16),4),5) - RANK(DECAYLINEAR(CORR(VWAP,MEAN(VOLUME,30),4),3))) * -1)diff --git a/agent/src/factors/zoo/gtja191/alpha_074.py b/agent/src/factors/zoo/gtja191/alpha_074.pyindex a1d5d09fa..56a5a4fa3 100644--- a/agent/src/factors/zoo/gtja191/alpha_074.py+++ b/agent/src/factors/zoo/gtja191/alpha_074.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #74+# 简要说明: 国泰君安191短周期交易型alpha因子第74号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #74.Formula: (RANK(CORR(SUM(((LOW*0.35)+(VWAP*0.65)),20),SUM(MEAN(VOLUME,40),20),7)) + RANK(CORR(RANK(VWAP),RANK(VOLUME),6)))diff --git a/agent/src/factors/zoo/gtja191/alpha_075.py b/agent/src/factors/zoo/gtja191/alpha_075.pyindex bf6e414d9..150a27919 100644--- a/agent/src/factors/zoo/gtja191/alpha_075.py+++ b/agent/src/factors/zoo/gtja191/alpha_075.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #75+# 简要说明: 国泰君安191短周期交易型alpha因子第75号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #75.Formula: COUNT((CLOSE>OPEN & BENCHMARKINDEXCLOSE<DELAY(BENCHMARKINDEXCLOSE,1)),50)/COUNT(BENCHMARKINDEXCLOSE<DELAY(BENCHMARKINDEXCLOSE,1),50)diff --git a/agent/src/factors/zoo/gtja191/alpha_076.py b/agent/src/factors/zoo/gtja191/alpha_076.pyindex 8112a1ae3..be8682abc 100644--- a/agent/src/factors/zoo/gtja191/alpha_076.py+++ b/agent/src/factors/zoo/gtja191/alpha_076.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #76+# 简要说明: 国泰君安191短周期交易型alpha因子第76号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #76.Formula: STD(ABS((CLOSE/DELAY(CLOSE,1)-1))/VOLUME,20)/MEAN(ABS((CLOSE/DELAY(CLOSE,1)-1))/VOLUME,20)diff --git a/agent/src/factors/zoo/gtja191/alpha_077.py b/agent/src/factors/zoo/gtja191/alpha_077.pyindex a05d436de..e6b52603c 100644--- a/agent/src/factors/zoo/gtja191/alpha_077.py+++ b/agent/src/factors/zoo/gtja191/alpha_077.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #77+# 简要说明: 国泰君安191短周期交易型alpha因子第77号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #77.Formula: MIN(RANK(DECAYLINEAR(((HIGH+LOW)/2+HIGH-(VWAP+HIGH)),20)),RANK(DECAYLINEAR(CORR(((HIGH+LOW)/2),MEAN(VOLUME,40),3),6)))diff --git a/agent/src/factors/zoo/gtja191/alpha_078.py b/agent/src/factors/zoo/gtja191/alpha_078.pyindex dec88d5f8..27e1a2e31 100644--- a/agent/src/factors/zoo/gtja191/alpha_078.py+++ b/agent/src/factors/zoo/gtja191/alpha_078.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #78+# 简要说明: 国泰君安191短周期交易型alpha因子第78号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #78.Formula: ((HIGH+LOW+CLOSE)/3-MA((HIGH+LOW+CLOSE)/3,12))/(0.015*MEAN(ABS(CLOSE-MA((HIGH+LOW+CLOSE)/3,12)),12))diff --git a/agent/src/factors/zoo/gtja191/alpha_079.py b/agent/src/factors/zoo/gtja191/alpha_079.pyindex cae83a532..2635fc075 100644--- a/agent/src/factors/zoo/gtja191/alpha_079.py+++ b/agent/src/factors/zoo/gtja191/alpha_079.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #79+# 简要说明: 国泰君安191短周期交易型alpha因子第79号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #79.Formula: SMA(MAX(CLOSE-DELAY(CLOSE,1),0),12,1)/SMA(ABS(CLOSE-DELAY(CLOSE,1)),12,1)*100diff --git a/agent/src/factors/zoo/gtja191/alpha_080.py b/agent/src/factors/zoo/gtja191/alpha_080.pyindex 78510b730..dd8511a96 100644--- a/agent/src/factors/zoo/gtja191/alpha_080.py+++ b/agent/src/factors/zoo/gtja191/alpha_080.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #80+# 简要说明: 国泰君安191短周期交易型alpha因子第80号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #80.Formula: (VOLUME-DELAY(VOLUME,5))/DELAY(VOLUME,5)*100diff --git a/agent/src/factors/zoo/gtja191/alpha_081.py b/agent/src/factors/zoo/gtja191/alpha_081.pyindex 5d25bbe7c..65d07f372 100644--- a/agent/src/factors/zoo/gtja191/alpha_081.py+++ b/agent/src/factors/zoo/gtja191/alpha_081.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #81+# 简要说明: 国泰君安191短周期交易型alpha因子第81号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #81.Formula: SMA(VOLUME,21,2)diff --git a/agent/src/factors/zoo/gtja191/alpha_082.py b/agent/src/factors/zoo/gtja191/alpha_082.pyindex 806b606ee..23bb4f11e 100644--- a/agent/src/factors/zoo/gtja191/alpha_082.py+++ b/agent/src/factors/zoo/gtja191/alpha_082.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #82+# 简要说明: 国泰君安191短周期交易型alpha因子第82号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #82.Formula: SMA((TSMAX(HIGH,6)-CLOSE)/(TSMAX(HIGH,6)-TSMIN(LOW,6))*100,20,1)diff --git a/agent/src/factors/zoo/gtja191/alpha_083.py b/agent/src/factors/zoo/gtja191/alpha_083.pyindex 0c8c267f4..a937ec8a0 100644--- a/agent/src/factors/zoo/gtja191/alpha_083.py+++ b/agent/src/factors/zoo/gtja191/alpha_083.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #83+# 简要说明: 国泰君安191短周期交易型alpha因子第83号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #83.Formula: (-1*RANK(COVIANCE(RANK(HIGH),RANK(VOLUME),5)))diff --git a/agent/src/factors/zoo/gtja191/alpha_084.py b/agent/src/factors/zoo/gtja191/alpha_084.pyindex e9039b2ce..4a503f67a 100644--- a/agent/src/factors/zoo/gtja191/alpha_084.py+++ b/agent/src/factors/zoo/gtja191/alpha_084.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #84+# 简要说明: 国泰君安191短周期交易型alpha因子第84号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #84.Formula: SUM(CLOSE>DELAY(CLOSE,1)?VOLUME:(CLOSE<DELAY(CLOSE,1)?-VOLUME:0),20)diff --git a/agent/src/factors/zoo/gtja191/alpha_085.py b/agent/src/factors/zoo/gtja191/alpha_085.pyindex 9644c8de6..216089333 100644--- a/agent/src/factors/zoo/gtja191/alpha_085.py+++ b/agent/src/factors/zoo/gtja191/alpha_085.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #85+# 简要说明: 国泰君安191短周期交易型alpha因子第85号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #85.Formula: (TSRANK((VOLUME/MEAN(VOLUME,20)),20)*TSRANK((-1*DELTA(CLOSE,7)),8))diff --git a/agent/src/factors/zoo/gtja191/alpha_086.py b/agent/src/factors/zoo/gtja191/alpha_086.pyindex 237bd5f19..0078dabf1 100644--- a/agent/src/factors/zoo/gtja191/alpha_086.py+++ b/agent/src/factors/zoo/gtja191/alpha_086.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #86+# 简要说明: 国泰君安191短周期交易型alpha因子第86号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #86.Formula: ((0.25 < (((DELAY(CLOSE,20)-DELAY(CLOSE,10))/10) - ((DELAY(CLOSE,10)-CLOSE)/10))) ? -1 : (((((DELAY(CLOSE,20)-DELAY(CLOSE,10))/10) - ((DELAY(CLOSE,10)-CLOSE)/10)) < 0) ? 1 : (-1*(CLOSE-DELAY(CLOSE,1)))))diff --git a/agent/src/factors/zoo/gtja191/alpha_087.py b/agent/src/factors/zoo/gtja191/alpha_087.pyindex 50c3d6424..9c996caa6 100644--- a/agent/src/factors/zoo/gtja191/alpha_087.py+++ b/agent/src/factors/zoo/gtja191/alpha_087.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #87+# 简要说明: 国泰君安191短周期交易型alpha因子第87号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #87.Formula: ((RANK(DECAYLINEAR(DELTA(VWAP,4),7))+TSRANK(DECAYLINEAR((((LOW*0.9)+(LOW*0.1))-VWAP)/(OPEN-((HIGH+LOW)/2)),11),7))*-1)diff --git a/agent/src/factors/zoo/gtja191/alpha_088.py b/agent/src/factors/zoo/gtja191/alpha_088.pyindex 13c90acfe..f0bb68a5a 100644--- a/agent/src/factors/zoo/gtja191/alpha_088.py+++ b/agent/src/factors/zoo/gtja191/alpha_088.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #88+# 简要说明: 国泰君安191短周期交易型alpha因子第88号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #88.Formula: (CLOSE-DELAY(CLOSE,20))/DELAY(CLOSE,20)*100diff --git a/agent/src/factors/zoo/gtja191/alpha_089.py b/agent/src/factors/zoo/gtja191/alpha_089.pyindex 13b587def..66cb96000 100644--- a/agent/src/factors/zoo/gtja191/alpha_089.py+++ b/agent/src/factors/zoo/gtja191/alpha_089.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #89+# 简要说明: 国泰君安191短周期交易型alpha因子第89号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #89.Formula: 2*(SMA(CLOSE,13,2)-SMA(CLOSE,27,2)-SMA(SMA(CLOSE,13,2)-SMA(CLOSE,27,2),10,2))diff --git a/agent/src/factors/zoo/gtja191/alpha_090.py b/agent/src/factors/zoo/gtja191/alpha_090.pyindex 8dbbc9fc5..9630f83d4 100644--- a/agent/src/factors/zoo/gtja191/alpha_090.py+++ b/agent/src/factors/zoo/gtja191/alpha_090.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #90+# 简要说明: 国泰君安191短周期交易型alpha因子第90号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #90.Formula: ((-1*RANK(CORR(RANK(VWAP),RANK(VOLUME),5))))diff --git a/agent/src/factors/zoo/gtja191/alpha_091.py b/agent/src/factors/zoo/gtja191/alpha_091.pyindex 37e085234..3a802a338 100644--- a/agent/src/factors/zoo/gtja191/alpha_091.py+++ b/agent/src/factors/zoo/gtja191/alpha_091.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #91+# 简要说明: 国泰君安191短周期交易型alpha因子第91号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #91.Formula: ((-1*RANK((CLOSE-MAX(CLOSE,5))))*RANK(CORR(MEAN(VOLUME,40),LOW,5)))diff --git a/agent/src/factors/zoo/gtja191/alpha_092.py b/agent/src/factors/zoo/gtja191/alpha_092.pyindex 0f1092c50..b356d8a1d 100644--- a/agent/src/factors/zoo/gtja191/alpha_092.py+++ b/agent/src/factors/zoo/gtja191/alpha_092.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #92+# 简要说明: 国泰君安191短周期交易型alpha因子第92号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #92.Formula: (MAX(RANK(DECAYLINEAR(DELTA(((CLOSE*0.35)+(VWAP*0.65)),2),3)),TSRANK(DECAYLINEAR(ABS(CORR(MEAN(VOLUME,180),CLOSE,13)),5),15))*-1)diff --git a/agent/src/factors/zoo/gtja191/alpha_093.py b/agent/src/factors/zoo/gtja191/alpha_093.pyindex fa824c4ba..142e9cb52 100644--- a/agent/src/factors/zoo/gtja191/alpha_093.py+++ b/agent/src/factors/zoo/gtja191/alpha_093.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #93+# 简要说明: 国泰君安191短周期交易型alpha因子第93号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #93.Formula: SUM((OPEN>=DELAY(OPEN,1)?0:MAX(OPEN-LOW,OPEN-DELAY(OPEN,1))),20)diff --git a/agent/src/factors/zoo/gtja191/alpha_094.py b/agent/src/factors/zoo/gtja191/alpha_094.pyindex ebf5c547f..a515abb29 100644--- a/agent/src/factors/zoo/gtja191/alpha_094.py+++ b/agent/src/factors/zoo/gtja191/alpha_094.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #94+# 简要说明: 国泰君安191短周期交易型alpha因子第94号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #94.Formula: SUM(CLOSE>DELAY(CLOSE,1)?VOLUME:(CLOSE<DELAY(CLOSE,1)?-VOLUME:0),30)diff --git a/agent/src/factors/zoo/gtja191/alpha_095.py b/agent/src/factors/zoo/gtja191/alpha_095.pyindex 2889a9a75..deb2ec4af 100644--- a/agent/src/factors/zoo/gtja191/alpha_095.py+++ b/agent/src/factors/zoo/gtja191/alpha_095.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #95+# 简要说明: 国泰君安191短周期交易型alpha因子第95号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #95.Formula: STD(AMOUNT,20)diff --git a/agent/src/factors/zoo/gtja191/alpha_096.py b/agent/src/factors/zoo/gtja191/alpha_096.pyindex 762251da6..de4a7cf92 100644--- a/agent/src/factors/zoo/gtja191/alpha_096.py+++ b/agent/src/factors/zoo/gtja191/alpha_096.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #96+# 简要说明: 国泰君安191短周期交易型alpha因子第96号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #96.Formula: SMA(SMA((CLOSE-TSMIN(LOW,9))/(TSMAX(HIGH,9)-TSMIN(LOW,9))*100,3,1),3,1)diff --git a/agent/src/factors/zoo/gtja191/alpha_097.py b/agent/src/factors/zoo/gtja191/alpha_097.pyindex a1e722317..4b122bf40 100644--- a/agent/src/factors/zoo/gtja191/alpha_097.py+++ b/agent/src/factors/zoo/gtja191/alpha_097.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #97+# 简要说明: 国泰君安191短周期交易型alpha因子第97号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #97.Formula: STD(VOLUME,10)diff --git a/agent/src/factors/zoo/gtja191/alpha_098.py b/agent/src/factors/zoo/gtja191/alpha_098.pyindex afcd5a9e4..81899d93c 100644--- a/agent/src/factors/zoo/gtja191/alpha_098.py+++ b/agent/src/factors/zoo/gtja191/alpha_098.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #98+# 简要说明: 国泰君安191短周期交易型alpha因子第98号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #98.Formula: ((((DELTA((SUM(CLOSE,100)/100),100)/DELAY(CLOSE,100))<0.05) || ((DELTA((SUM(CLOSE,100)/100),100)/DELAY(CLOSE,100))==0.05)) ? (-1*(CLOSE-TSMIN(CLOSE,100))) : (-1*DELTA(CLOSE,3)))diff --git a/agent/src/factors/zoo/gtja191/alpha_099.py b/agent/src/factors/zoo/gtja191/alpha_099.pyindex 2ac73436f..a2da2c83d 100644--- a/agent/src/factors/zoo/gtja191/alpha_099.py+++ b/agent/src/factors/zoo/gtja191/alpha_099.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #99+# 简要说明: 国泰君安191短周期交易型alpha因子第99号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #99.Formula: (-1*RANK(COVIANCE(RANK(CLOSE),RANK(VOLUME),5)))diff --git a/agent/src/factors/zoo/gtja191/alpha_100.py b/agent/src/factors/zoo/gtja191/alpha_100.pyindex f0b373083..dcf4283b1 100644--- a/agent/src/factors/zoo/gtja191/alpha_100.py+++ b/agent/src/factors/zoo/gtja191/alpha_100.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #100+# 简要说明: 国泰君安191短周期交易型alpha因子第100号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha #100.Formula: STD(VOLUME,20)diff --git a/agent/src/factors/zoo/gtja191/alpha_101.py b/agent/src/factors/zoo/gtja191/alpha_101.pyindex 666b97288..205ce7d31 100644--- a/agent/src/factors/zoo/gtja191/alpha_101.py+++ b/agent/src/factors/zoo/gtja191/alpha_101.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #101+# 简要说明: 国泰君安191短周期交易型alpha因子第101号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 101 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_102.py b/agent/src/factors/zoo/gtja191/alpha_102.pyindex 4e347519c..834e7a8bf 100644--- a/agent/src/factors/zoo/gtja191/alpha_102.py+++ b/agent/src/factors/zoo/gtja191/alpha_102.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #102+# 简要说明: 国泰君安191短周期交易型alpha因子第102号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 102 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_103.py b/agent/src/factors/zoo/gtja191/alpha_103.pyindex 47cfee05d..94b41c448 100644--- a/agent/src/factors/zoo/gtja191/alpha_103.py+++ b/agent/src/factors/zoo/gtja191/alpha_103.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #103+# 简要说明: 国泰君安191短周期交易型alpha因子第103号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 103 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_104.py b/agent/src/factors/zoo/gtja191/alpha_104.pyindex eaac2f000..a032d3f59 100644--- a/agent/src/factors/zoo/gtja191/alpha_104.py+++ b/agent/src/factors/zoo/gtja191/alpha_104.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #104+# 简要说明: 国泰君安191短周期交易型alpha因子第104号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 104 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_105.py b/agent/src/factors/zoo/gtja191/alpha_105.pyindex ee51fb45f..838b22565 100644--- a/agent/src/factors/zoo/gtja191/alpha_105.py+++ b/agent/src/factors/zoo/gtja191/alpha_105.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #105+# 简要说明: 国泰君安191短周期交易型alpha因子第105号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 105 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_106.py b/agent/src/factors/zoo/gtja191/alpha_106.pyindex 82a4b88e9..50c8b42e4 100644--- a/agent/src/factors/zoo/gtja191/alpha_106.py+++ b/agent/src/factors/zoo/gtja191/alpha_106.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #106+# 简要说明: 国泰君安191短周期交易型alpha因子第106号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 106 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_107.py b/agent/src/factors/zoo/gtja191/alpha_107.pyindex 7946dc8d1..42a0348ba 100644--- a/agent/src/factors/zoo/gtja191/alpha_107.py+++ b/agent/src/factors/zoo/gtja191/alpha_107.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #107+# 简要说明: 国泰君安191短周期交易型alpha因子第107号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 107 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_108.py b/agent/src/factors/zoo/gtja191/alpha_108.pyindex 82156a31e..a8a85deac 100644--- a/agent/src/factors/zoo/gtja191/alpha_108.py+++ b/agent/src/factors/zoo/gtja191/alpha_108.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #108+# 简要说明: 国泰君安191短周期交易型alpha因子第108号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 108 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_109.py b/agent/src/factors/zoo/gtja191/alpha_109.pyindex b6d8d0855..95e986dd4 100644--- a/agent/src/factors/zoo/gtja191/alpha_109.py+++ b/agent/src/factors/zoo/gtja191/alpha_109.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #109+# 简要说明: 国泰君安191短周期交易型alpha因子第109号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 109 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_110.py b/agent/src/factors/zoo/gtja191/alpha_110.pyindex a8b9f0b8a..89c9c15f3 100644--- a/agent/src/factors/zoo/gtja191/alpha_110.py+++ b/agent/src/factors/zoo/gtja191/alpha_110.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #110+# 简要说明: 国泰君安191短周期交易型alpha因子第110号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 110 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_111.py b/agent/src/factors/zoo/gtja191/alpha_111.pyindex 82819c4ed..05fad4967 100644--- a/agent/src/factors/zoo/gtja191/alpha_111.py+++ b/agent/src/factors/zoo/gtja191/alpha_111.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #111+# 简要说明: 国泰君安191短周期交易型alpha因子第111号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 111 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_112.py b/agent/src/factors/zoo/gtja191/alpha_112.pyindex b532f68c9..3e73a0f1b 100644--- a/agent/src/factors/zoo/gtja191/alpha_112.py+++ b/agent/src/factors/zoo/gtja191/alpha_112.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #112+# 简要说明: 国泰君安191短周期交易型alpha因子第112号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 112 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_113.py b/agent/src/factors/zoo/gtja191/alpha_113.pyindex 98436968c..7162d816a 100644--- a/agent/src/factors/zoo/gtja191/alpha_113.py+++ b/agent/src/factors/zoo/gtja191/alpha_113.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #113+# 简要说明: 国泰君安191短周期交易型alpha因子第113号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 113 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_114.py b/agent/src/factors/zoo/gtja191/alpha_114.pyindex f573b9d10..839c84a8a 100644--- a/agent/src/factors/zoo/gtja191/alpha_114.py+++ b/agent/src/factors/zoo/gtja191/alpha_114.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #114+# 简要说明: 国泰君安191短周期交易型alpha因子第114号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 114 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_115.py b/agent/src/factors/zoo/gtja191/alpha_115.pyindex 0f5bdae5c..14cb34312 100644--- a/agent/src/factors/zoo/gtja191/alpha_115.py+++ b/agent/src/factors/zoo/gtja191/alpha_115.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #115+# 简要说明: 国泰君安191短周期交易型alpha因子第115号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 115 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_116.py b/agent/src/factors/zoo/gtja191/alpha_116.pyindex 379a7cd69..7f9f971fa 100644--- a/agent/src/factors/zoo/gtja191/alpha_116.py+++ b/agent/src/factors/zoo/gtja191/alpha_116.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #116+# 简要说明: 国泰君安191短周期交易型alpha因子第116号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 116 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_117.py b/agent/src/factors/zoo/gtja191/alpha_117.pyindex cd9ea9965..d299d5f23 100644--- a/agent/src/factors/zoo/gtja191/alpha_117.py+++ b/agent/src/factors/zoo/gtja191/alpha_117.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #117+# 简要说明: 国泰君安191短周期交易型alpha因子第117号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 117 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_118.py b/agent/src/factors/zoo/gtja191/alpha_118.pyindex 6f763c44f..d14a71822 100644--- a/agent/src/factors/zoo/gtja191/alpha_118.py+++ b/agent/src/factors/zoo/gtja191/alpha_118.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #118+# 简要说明: 国泰君安191短周期交易型alpha因子第118号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 118 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_119.py b/agent/src/factors/zoo/gtja191/alpha_119.pyindex 613fae352..3f8bc68b5 100644--- a/agent/src/factors/zoo/gtja191/alpha_119.py+++ b/agent/src/factors/zoo/gtja191/alpha_119.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #119+# 简要说明: 国泰君安191短周期交易型alpha因子第119号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 119 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_120.py b/agent/src/factors/zoo/gtja191/alpha_120.pyindex e0da8d551..49372e0a8 100644--- a/agent/src/factors/zoo/gtja191/alpha_120.py+++ b/agent/src/factors/zoo/gtja191/alpha_120.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #120+# 简要说明: 国泰君安191短周期交易型alpha因子第120号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 120 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_121.py b/agent/src/factors/zoo/gtja191/alpha_121.pyindex ee5a61835..2fc29005f 100644--- a/agent/src/factors/zoo/gtja191/alpha_121.py+++ b/agent/src/factors/zoo/gtja191/alpha_121.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #121+# 简要说明: 国泰君安191短周期交易型alpha因子第121号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 121 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_122.py b/agent/src/factors/zoo/gtja191/alpha_122.pyindex e909e2b5a..0a2c9f781 100644--- a/agent/src/factors/zoo/gtja191/alpha_122.py+++ b/agent/src/factors/zoo/gtja191/alpha_122.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #122+# 简要说明: 国泰君安191短周期交易型alpha因子第122号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 122 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_123.py b/agent/src/factors/zoo/gtja191/alpha_123.pyindex 6b60c1b3e..52a5fefdb 100644--- a/agent/src/factors/zoo/gtja191/alpha_123.py+++ b/agent/src/factors/zoo/gtja191/alpha_123.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #123+# 简要说明: 国泰君安191短周期交易型alpha因子第123号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 123 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_124.py b/agent/src/factors/zoo/gtja191/alpha_124.pyindex 747d2b473..3d1704cc9 100644--- a/agent/src/factors/zoo/gtja191/alpha_124.py+++ b/agent/src/factors/zoo/gtja191/alpha_124.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #124+# 简要说明: 国泰君安191短周期交易型alpha因子第124号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 124 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_125.py b/agent/src/factors/zoo/gtja191/alpha_125.pyindex 1b866f3de..929531331 100644--- a/agent/src/factors/zoo/gtja191/alpha_125.py+++ b/agent/src/factors/zoo/gtja191/alpha_125.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #125+# 简要说明: 国泰君安191短周期交易型alpha因子第125号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 125 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_126.py b/agent/src/factors/zoo/gtja191/alpha_126.pyindex 5b83d412a..fc862d9d1 100644--- a/agent/src/factors/zoo/gtja191/alpha_126.py+++ b/agent/src/factors/zoo/gtja191/alpha_126.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #126+# 简要说明: 国泰君安191短周期交易型alpha因子第126号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 126 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_127.py b/agent/src/factors/zoo/gtja191/alpha_127.pyindex d00486c7e..646520e06 100644--- a/agent/src/factors/zoo/gtja191/alpha_127.py+++ b/agent/src/factors/zoo/gtja191/alpha_127.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #127+# 简要说明: 国泰君安191短周期交易型alpha因子第127号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 127 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_128.py b/agent/src/factors/zoo/gtja191/alpha_128.pyindex 41bb2a1d7..c0db4a5a7 100644--- a/agent/src/factors/zoo/gtja191/alpha_128.py+++ b/agent/src/factors/zoo/gtja191/alpha_128.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #128+# 简要说明: 国泰君安191短周期交易型alpha因子第128号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 128 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_129.py b/agent/src/factors/zoo/gtja191/alpha_129.pyindex a38f1a807..f584d8499 100644--- a/agent/src/factors/zoo/gtja191/alpha_129.py+++ b/agent/src/factors/zoo/gtja191/alpha_129.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #129+# 简要说明: 国泰君安191短周期交易型alpha因子第129号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 129 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_130.py b/agent/src/factors/zoo/gtja191/alpha_130.pyindex 197db43c8..80114354c 100644--- a/agent/src/factors/zoo/gtja191/alpha_130.py+++ b/agent/src/factors/zoo/gtja191/alpha_130.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #130+# 简要说明: 国泰君安191短周期交易型alpha因子第130号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 130 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_131.py b/agent/src/factors/zoo/gtja191/alpha_131.pyindex ff516b953..c0d896b5e 100644--- a/agent/src/factors/zoo/gtja191/alpha_131.py+++ b/agent/src/factors/zoo/gtja191/alpha_131.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #131+# 简要说明: 国泰君安191短周期交易型alpha因子第131号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 131 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_132.py b/agent/src/factors/zoo/gtja191/alpha_132.pyindex 6ce47b9a3..c0f58e7f8 100644--- a/agent/src/factors/zoo/gtja191/alpha_132.py+++ b/agent/src/factors/zoo/gtja191/alpha_132.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #132+# 简要说明: 国泰君安191短周期交易型alpha因子第132号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 132 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_133.py b/agent/src/factors/zoo/gtja191/alpha_133.pyindex cb4d17ac8..9521c903a 100644--- a/agent/src/factors/zoo/gtja191/alpha_133.py+++ b/agent/src/factors/zoo/gtja191/alpha_133.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #133+# 简要说明: 国泰君安191短周期交易型alpha因子第133号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 133 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_134.py b/agent/src/factors/zoo/gtja191/alpha_134.pyindex 98b5976ef..92993f840 100644--- a/agent/src/factors/zoo/gtja191/alpha_134.py+++ b/agent/src/factors/zoo/gtja191/alpha_134.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #134+# 简要说明: 国泰君安191短周期交易型alpha因子第134号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 134 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_135.py b/agent/src/factors/zoo/gtja191/alpha_135.pyindex 1da12c639..231f74741 100644--- a/agent/src/factors/zoo/gtja191/alpha_135.py+++ b/agent/src/factors/zoo/gtja191/alpha_135.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #135+# 简要说明: 国泰君安191短周期交易型alpha因子第135号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 135 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_136.py b/agent/src/factors/zoo/gtja191/alpha_136.pyindex 9b7128eff..d18f9bc7d 100644--- a/agent/src/factors/zoo/gtja191/alpha_136.py+++ b/agent/src/factors/zoo/gtja191/alpha_136.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #136+# 简要说明: 国泰君安191短周期交易型alpha因子第136号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 136 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_137.py b/agent/src/factors/zoo/gtja191/alpha_137.pyindex 51ac609f8..ff7b7c8f1 100644--- a/agent/src/factors/zoo/gtja191/alpha_137.py+++ b/agent/src/factors/zoo/gtja191/alpha_137.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #137+# 简要说明: 国泰君安191短周期交易型alpha因子第137号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 137 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_138.py b/agent/src/factors/zoo/gtja191/alpha_138.pyindex 73d83a070..5282285c2 100644--- a/agent/src/factors/zoo/gtja191/alpha_138.py+++ b/agent/src/factors/zoo/gtja191/alpha_138.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #138+# 简要说明: 国泰君安191短周期交易型alpha因子第138号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 138 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_139.py b/agent/src/factors/zoo/gtja191/alpha_139.pyindex ae222cbe2..c897f2b4d 100644--- a/agent/src/factors/zoo/gtja191/alpha_139.py+++ b/agent/src/factors/zoo/gtja191/alpha_139.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #139+# 简要说明: 国泰君安191短周期交易型alpha因子第139号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 139 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_140.py b/agent/src/factors/zoo/gtja191/alpha_140.pyindex 916ef018e..810e91e20 100644--- a/agent/src/factors/zoo/gtja191/alpha_140.py+++ b/agent/src/factors/zoo/gtja191/alpha_140.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #140+# 简要说明: 国泰君安191短周期交易型alpha因子第140号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 140 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_141.py b/agent/src/factors/zoo/gtja191/alpha_141.pyindex 67a0e7fb6..e3e82b737 100644--- a/agent/src/factors/zoo/gtja191/alpha_141.py+++ b/agent/src/factors/zoo/gtja191/alpha_141.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #141+# 简要说明: 国泰君安191短周期交易型alpha因子第141号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 141 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_142.py b/agent/src/factors/zoo/gtja191/alpha_142.pyindex dcfa0aa52..4535008b5 100644--- a/agent/src/factors/zoo/gtja191/alpha_142.py+++ b/agent/src/factors/zoo/gtja191/alpha_142.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #142+# 简要说明: 国泰君安191短周期交易型alpha因子第142号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 142 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_143.py b/agent/src/factors/zoo/gtja191/alpha_143.pyindex 68ab2e91a..161ec2b6c 100644--- a/agent/src/factors/zoo/gtja191/alpha_143.py+++ b/agent/src/factors/zoo/gtja191/alpha_143.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #143+# 简要说明: 国泰君安191短周期交易型alpha因子第143号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 143 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_144.py b/agent/src/factors/zoo/gtja191/alpha_144.pyindex c47d8d7f9..73b1ae322 100644--- a/agent/src/factors/zoo/gtja191/alpha_144.py+++ b/agent/src/factors/zoo/gtja191/alpha_144.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #144+# 简要说明: 国泰君安191短周期交易型alpha因子第144号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 144 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_145.py b/agent/src/factors/zoo/gtja191/alpha_145.pyindex 219be2ac9..50aff3f94 100644--- a/agent/src/factors/zoo/gtja191/alpha_145.py+++ b/agent/src/factors/zoo/gtja191/alpha_145.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #145+# 简要说明: 国泰君安191短周期交易型alpha因子第145号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 145 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_146.py b/agent/src/factors/zoo/gtja191/alpha_146.pyindex 68eed4646..d08b48078 100644--- a/agent/src/factors/zoo/gtja191/alpha_146.py+++ b/agent/src/factors/zoo/gtja191/alpha_146.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #146+# 简要说明: 国泰君安191短周期交易型alpha因子第146号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 146 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_147.py b/agent/src/factors/zoo/gtja191/alpha_147.pyindex 7a7bae31d..b16780370 100644--- a/agent/src/factors/zoo/gtja191/alpha_147.py+++ b/agent/src/factors/zoo/gtja191/alpha_147.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #147+# 简要说明: 国泰君安191短周期交易型alpha因子第147号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 147 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_148.py b/agent/src/factors/zoo/gtja191/alpha_148.pyindex afd3c3dc2..d0251596c 100644--- a/agent/src/factors/zoo/gtja191/alpha_148.py+++ b/agent/src/factors/zoo/gtja191/alpha_148.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #148+# 简要说明: 国泰君安191短周期交易型alpha因子第148号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 148 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_149.py b/agent/src/factors/zoo/gtja191/alpha_149.pyindex d64a08a19..e22614eb5 100644--- a/agent/src/factors/zoo/gtja191/alpha_149.py+++ b/agent/src/factors/zoo/gtja191/alpha_149.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #149+# 简要说明: 国泰君安191短周期交易型alpha因子第149号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 149 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_150.py b/agent/src/factors/zoo/gtja191/alpha_150.pyindex 40fe06f0b..33e59b0e2 100644--- a/agent/src/factors/zoo/gtja191/alpha_150.py+++ b/agent/src/factors/zoo/gtja191/alpha_150.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #150+# 简要说明: 国泰君安191短周期交易型alpha因子第150号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 150 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_151.py b/agent/src/factors/zoo/gtja191/alpha_151.pyindex 9dfb9b7dd..ae417bbb4 100644--- a/agent/src/factors/zoo/gtja191/alpha_151.py+++ b/agent/src/factors/zoo/gtja191/alpha_151.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #151+# 简要说明: 国泰君安191短周期交易型alpha因子第151号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 151 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_152.py b/agent/src/factors/zoo/gtja191/alpha_152.pyindex 6ed7d7da0..07e4dd060 100644--- a/agent/src/factors/zoo/gtja191/alpha_152.py+++ b/agent/src/factors/zoo/gtja191/alpha_152.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #152+# 简要说明: 国泰君安191短周期交易型alpha因子第152号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 152 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_153.py b/agent/src/factors/zoo/gtja191/alpha_153.pyindex 44ca9ba6c..7e6ca6eb4 100644--- a/agent/src/factors/zoo/gtja191/alpha_153.py+++ b/agent/src/factors/zoo/gtja191/alpha_153.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #153+# 简要说明: 国泰君安191短周期交易型alpha因子第153号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 153 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_154.py b/agent/src/factors/zoo/gtja191/alpha_154.pyindex 2d803d939..eec7e4bd8 100644--- a/agent/src/factors/zoo/gtja191/alpha_154.py+++ b/agent/src/factors/zoo/gtja191/alpha_154.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #154+# 简要说明: 国泰君安191短周期交易型alpha因子第154号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 154 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_155.py b/agent/src/factors/zoo/gtja191/alpha_155.pyindex 081b055bd..311714fa0 100644--- a/agent/src/factors/zoo/gtja191/alpha_155.py+++ b/agent/src/factors/zoo/gtja191/alpha_155.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #155+# 简要说明: 国泰君安191短周期交易型alpha因子第155号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 155 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_156.py b/agent/src/factors/zoo/gtja191/alpha_156.pyindex be707042d..91e3bcf60 100644--- a/agent/src/factors/zoo/gtja191/alpha_156.py+++ b/agent/src/factors/zoo/gtja191/alpha_156.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #156+# 简要说明: 国泰君安191短周期交易型alpha因子第156号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 156 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_157.py b/agent/src/factors/zoo/gtja191/alpha_157.pyindex 6de8cedfe..2923c1de2 100644--- a/agent/src/factors/zoo/gtja191/alpha_157.py+++ b/agent/src/factors/zoo/gtja191/alpha_157.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #157+# 简要说明: 国泰君安191短周期交易型alpha因子第157号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 157 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_158.py b/agent/src/factors/zoo/gtja191/alpha_158.pyindex 9db45dbc8..667d1c876 100644--- a/agent/src/factors/zoo/gtja191/alpha_158.py+++ b/agent/src/factors/zoo/gtja191/alpha_158.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #158+# 简要说明: 国泰君安191短周期交易型alpha因子第158号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 158 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_159.py b/agent/src/factors/zoo/gtja191/alpha_159.pyindex 96d5b2c92..822b79a9d 100644--- a/agent/src/factors/zoo/gtja191/alpha_159.py+++ b/agent/src/factors/zoo/gtja191/alpha_159.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #159+# 简要说明: 国泰君安191短周期交易型alpha因子第159号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 159 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_160.py b/agent/src/factors/zoo/gtja191/alpha_160.pyindex ffe82478f..dcc117bae 100644--- a/agent/src/factors/zoo/gtja191/alpha_160.py+++ b/agent/src/factors/zoo/gtja191/alpha_160.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #160+# 简要说明: 国泰君安191短周期交易型alpha因子第160号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 160 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_161.py b/agent/src/factors/zoo/gtja191/alpha_161.pyindex 4c5807f92..8354d6c67 100644--- a/agent/src/factors/zoo/gtja191/alpha_161.py+++ b/agent/src/factors/zoo/gtja191/alpha_161.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #161+# 简要说明: 国泰君安191短周期交易型alpha因子第161号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 161 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_162.py b/agent/src/factors/zoo/gtja191/alpha_162.pyindex ea6c99cd7..eb54ba8a1 100644--- a/agent/src/factors/zoo/gtja191/alpha_162.py+++ b/agent/src/factors/zoo/gtja191/alpha_162.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #162+# 简要说明: 国泰君安191短周期交易型alpha因子第162号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 162 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_163.py b/agent/src/factors/zoo/gtja191/alpha_163.pyindex e1663bbd8..f4bbfb439 100644--- a/agent/src/factors/zoo/gtja191/alpha_163.py+++ b/agent/src/factors/zoo/gtja191/alpha_163.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #163+# 简要说明: 国泰君安191短周期交易型alpha因子第163号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 163 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_164.py b/agent/src/factors/zoo/gtja191/alpha_164.pyindex 4da245c21..3d3121aa6 100644--- a/agent/src/factors/zoo/gtja191/alpha_164.py+++ b/agent/src/factors/zoo/gtja191/alpha_164.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #164+# 简要说明: 国泰君安191短周期交易型alpha因子第164号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 164 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_165.py b/agent/src/factors/zoo/gtja191/alpha_165.pyindex b7313d0d8..e21085880 100644--- a/agent/src/factors/zoo/gtja191/alpha_165.py+++ b/agent/src/factors/zoo/gtja191/alpha_165.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #165+# 简要说明: 国泰君安191短周期交易型alpha因子第165号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 165 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_166.py b/agent/src/factors/zoo/gtja191/alpha_166.pyindex 2a39456c1..0c1a8424d 100644--- a/agent/src/factors/zoo/gtja191/alpha_166.py+++ b/agent/src/factors/zoo/gtja191/alpha_166.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #166+# 简要说明: 国泰君安191短周期交易型alpha因子第166号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 166 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_167.py b/agent/src/factors/zoo/gtja191/alpha_167.pyindex ffecba56c..c91d3dbb8 100644--- a/agent/src/factors/zoo/gtja191/alpha_167.py+++ b/agent/src/factors/zoo/gtja191/alpha_167.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #167+# 简要说明: 国泰君安191短周期交易型alpha因子第167号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 167 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_168.py b/agent/src/factors/zoo/gtja191/alpha_168.pyindex 91a9e2e19..441a80aa3 100644--- a/agent/src/factors/zoo/gtja191/alpha_168.py+++ b/agent/src/factors/zoo/gtja191/alpha_168.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #168+# 简要说明: 国泰君安191短周期交易型alpha因子第168号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 168 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_169.py b/agent/src/factors/zoo/gtja191/alpha_169.pyindex 8acdc3e43..03a43fdd5 100644--- a/agent/src/factors/zoo/gtja191/alpha_169.py+++ b/agent/src/factors/zoo/gtja191/alpha_169.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #169+# 简要说明: 国泰君安191短周期交易型alpha因子第169号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 169 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_170.py b/agent/src/factors/zoo/gtja191/alpha_170.pyindex d1dc58e1a..bf46d7ec3 100644--- a/agent/src/factors/zoo/gtja191/alpha_170.py+++ b/agent/src/factors/zoo/gtja191/alpha_170.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #170+# 简要说明: 国泰君安191短周期交易型alpha因子第170号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 170 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_171.py b/agent/src/factors/zoo/gtja191/alpha_171.pyindex 98e1f0eeb..353383a87 100644--- a/agent/src/factors/zoo/gtja191/alpha_171.py+++ b/agent/src/factors/zoo/gtja191/alpha_171.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #171+# 简要说明: 国泰君安191短周期交易型alpha因子第171号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 171 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_172.py b/agent/src/factors/zoo/gtja191/alpha_172.pyindex f4f907491..cfe927764 100644--- a/agent/src/factors/zoo/gtja191/alpha_172.py+++ b/agent/src/factors/zoo/gtja191/alpha_172.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #172+# 简要说明: 国泰君安191短周期交易型alpha因子第172号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 172 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_173.py b/agent/src/factors/zoo/gtja191/alpha_173.pyindex ede172999..14af86405 100644--- a/agent/src/factors/zoo/gtja191/alpha_173.py+++ b/agent/src/factors/zoo/gtja191/alpha_173.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #173+# 简要说明: 国泰君安191短周期交易型alpha因子第173号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 173 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_174.py b/agent/src/factors/zoo/gtja191/alpha_174.pyindex 359c16194..d29e237fa 100644--- a/agent/src/factors/zoo/gtja191/alpha_174.py+++ b/agent/src/factors/zoo/gtja191/alpha_174.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #174+# 简要说明: 国泰君安191短周期交易型alpha因子第174号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 174 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_175.py b/agent/src/factors/zoo/gtja191/alpha_175.pyindex 5a75ccecc..974170a02 100644--- a/agent/src/factors/zoo/gtja191/alpha_175.py+++ b/agent/src/factors/zoo/gtja191/alpha_175.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #175+# 简要说明: 国泰君安191短周期交易型alpha因子第175号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 175 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_176.py b/agent/src/factors/zoo/gtja191/alpha_176.pyindex b07974cc2..22f32e507 100644--- a/agent/src/factors/zoo/gtja191/alpha_176.py+++ b/agent/src/factors/zoo/gtja191/alpha_176.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #176+# 简要说明: 国泰君安191短周期交易型alpha因子第176号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 176 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_177.py b/agent/src/factors/zoo/gtja191/alpha_177.pyindex 7b0cce02d..a69d6a3a7 100644--- a/agent/src/factors/zoo/gtja191/alpha_177.py+++ b/agent/src/factors/zoo/gtja191/alpha_177.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #177+# 简要说明: 国泰君安191短周期交易型alpha因子第177号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 177 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_178.py b/agent/src/factors/zoo/gtja191/alpha_178.pyindex d43af06fc..e399a5fd7 100644--- a/agent/src/factors/zoo/gtja191/alpha_178.py+++ b/agent/src/factors/zoo/gtja191/alpha_178.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #178+# 简要说明: 国泰君安191短周期交易型alpha因子第178号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 178 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_179.py b/agent/src/factors/zoo/gtja191/alpha_179.pyindex f88d9fd48..85bba8770 100644--- a/agent/src/factors/zoo/gtja191/alpha_179.py+++ b/agent/src/factors/zoo/gtja191/alpha_179.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #179+# 简要说明: 国泰君安191短周期交易型alpha因子第179号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 179 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_180.py b/agent/src/factors/zoo/gtja191/alpha_180.pyindex 521d38ea7..c79b5ff4f 100644--- a/agent/src/factors/zoo/gtja191/alpha_180.py+++ b/agent/src/factors/zoo/gtja191/alpha_180.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #180+# 简要说明: 国泰君安191短周期交易型alpha因子第180号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 180 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_181.py b/agent/src/factors/zoo/gtja191/alpha_181.pyindex c404e01e5..84be78e9c 100644--- a/agent/src/factors/zoo/gtja191/alpha_181.py+++ b/agent/src/factors/zoo/gtja191/alpha_181.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #181+# 简要说明: 国泰君安191短周期交易型alpha因子第181号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 181 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_182.py b/agent/src/factors/zoo/gtja191/alpha_182.pyindex ad4a580e3..d7eb6d6d6 100644--- a/agent/src/factors/zoo/gtja191/alpha_182.py+++ b/agent/src/factors/zoo/gtja191/alpha_182.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #182+# 简要说明: 国泰君安191短周期交易型alpha因子第182号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 182 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_183.py b/agent/src/factors/zoo/gtja191/alpha_183.pyindex a248095ea..9c444979a 100644--- a/agent/src/factors/zoo/gtja191/alpha_183.py+++ b/agent/src/factors/zoo/gtja191/alpha_183.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #183+# 简要说明: 国泰君安191短周期交易型alpha因子第183号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 183 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_184.py b/agent/src/factors/zoo/gtja191/alpha_184.pyindex ce84e127f..ffe01af18 100644--- a/agent/src/factors/zoo/gtja191/alpha_184.py+++ b/agent/src/factors/zoo/gtja191/alpha_184.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #184+# 简要说明: 国泰君安191短周期交易型alpha因子第184号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 184 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_185.py b/agent/src/factors/zoo/gtja191/alpha_185.pyindex f3bff745e..41d4d6786 100644--- a/agent/src/factors/zoo/gtja191/alpha_185.py+++ b/agent/src/factors/zoo/gtja191/alpha_185.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #185+# 简要说明: 国泰君安191短周期交易型alpha因子第185号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 185 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_186.py b/agent/src/factors/zoo/gtja191/alpha_186.pyindex 17d73b0d4..feac6e6fb 100644--- a/agent/src/factors/zoo/gtja191/alpha_186.py+++ b/agent/src/factors/zoo/gtja191/alpha_186.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #186+# 简要说明: 国泰君安191短周期交易型alpha因子第186号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 186 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_187.py b/agent/src/factors/zoo/gtja191/alpha_187.pyindex 61076d365..60e13f49b 100644--- a/agent/src/factors/zoo/gtja191/alpha_187.py+++ b/agent/src/factors/zoo/gtja191/alpha_187.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #187+# 简要说明: 国泰君安191短周期交易型alpha因子第187号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 187 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_188.py b/agent/src/factors/zoo/gtja191/alpha_188.pyindex 3ca86e32e..14f4d8b25 100644--- a/agent/src/factors/zoo/gtja191/alpha_188.py+++ b/agent/src/factors/zoo/gtja191/alpha_188.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #188+# 简要说明: 国泰君安191短周期交易型alpha因子第188号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 188 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_189.py b/agent/src/factors/zoo/gtja191/alpha_189.pyindex 40d912ef7..f407c8ff9 100644--- a/agent/src/factors/zoo/gtja191/alpha_189.py+++ b/agent/src/factors/zoo/gtja191/alpha_189.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #189+# 简要说明: 国泰君安191短周期交易型alpha因子第189号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 189 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_190.py b/agent/src/factors/zoo/gtja191/alpha_190.pyindex 5dd5b7a0e..ad12622c2 100644--- a/agent/src/factors/zoo/gtja191/alpha_190.py+++ b/agent/src/factors/zoo/gtja191/alpha_190.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #190+# 简要说明: 国泰君安191短周期交易型alpha因子第190号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 190 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/gtja191/alpha_191.py b/agent/src/factors/zoo/gtja191/alpha_191.pyindex 5755d909a..c11f9157b 100644--- a/agent/src/factors/zoo/gtja191/alpha_191.py+++ b/agent/src/factors/zoo/gtja191/alpha_191.py@@ -1,3 +1,9 @@++# ============================================================+# 中文名称: GTJA Alpha #191+# 简要说明: 国泰君安191短周期交易型alpha因子第191号,详见公式定义。+# 典型用途: 在A股市场经中性化处理后用于选股或股指期货日内交易。+# ============================================================"""GTJA Alpha 191 (国泰君安 191 短周期交易型 alpha 因子, 2014).Formula (verbatim from the report):diff --git a/agent/src/factors/zoo/qlib158/beta10.py b/agent/src/factors/zoo/qlib158/beta10.pyindex 84d7872fa..51cde2275 100644--- a/agent/src/factors/zoo/qlib158/beta10.py+++ b/agent/src/factors/zoo/qlib158/beta10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: Beta系数 10日+# 简要说明: ts_cov(close, ts_mean(close, 10), 10) / ts_var(close, 10),个股相对于自身的10日Beta。+# 典型用途: 衡量个股在10日窗口内的弹性/风险,高Beta意味着高波动和高弹性。+# ============================================================"""qlib158 BETA10: formula = (\\mathrm{close}_t - \\mathrm{close}_{{t-10}}) / (10\\,\\mathrm{close})."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/beta20.py b/agent/src/factors/zoo/qlib158/beta20.pyindex 2f7bb0be0..ebb79cfa9 100644--- a/agent/src/factors/zoo/qlib158/beta20.py+++ b/agent/src/factors/zoo/qlib158/beta20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: Beta系数 20日+# 简要说明: ts_cov(close, ts_mean(close, 20), 20) / ts_var(close, 20),个股相对于自身的20日Beta。+# 典型用途: 衡量个股在20日窗口内的弹性/风险,高Beta意味着高波动和高弹性。+# ============================================================"""qlib158 BETA20: formula = (\\mathrm{close}_t - \\mathrm{close}_{{t-20}}) / (20\\,\\mathrm{close})."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/beta30.py b/agent/src/factors/zoo/qlib158/beta30.pyindex db808e4d8..2442dbcb5 100644--- a/agent/src/factors/zoo/qlib158/beta30.py+++ b/agent/src/factors/zoo/qlib158/beta30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: Beta系数 30日+# 简要说明: ts_cov(close, ts_mean(close, 30), 30) / ts_var(close, 30),个股相对于自身的30日Beta。+# 典型用途: 衡量个股在30日窗口内的弹性/风险,高Beta意味着高波动和高弹性。+# ============================================================"""qlib158 BETA30: formula = (\\mathrm{close}_t - \\mathrm{close}_{{t-30}}) / (30\\,\\mathrm{close})."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/beta5.py b/agent/src/factors/zoo/qlib158/beta5.pyindex 7796a2ec6..0daed5051 100644--- a/agent/src/factors/zoo/qlib158/beta5.py+++ b/agent/src/factors/zoo/qlib158/beta5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: Beta系数 5日+# 简要说明: ts_cov(close, ts_mean(close, 5), 5) / ts_var(close, 5),个股相对于自身的5日Beta。+# 典型用途: 衡量个股在5日窗口内的弹性/风险,高Beta意味着高波动和高弹性。+# ============================================================"""qlib158 BETA5: formula = (\\mathrm{close}_t - \\mathrm{close}_{{t-5}}) / (5\\,\\mathrm{close})."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/beta60.py b/agent/src/factors/zoo/qlib158/beta60.pyindex a68c9b08c..acc5db1cc 100644--- a/agent/src/factors/zoo/qlib158/beta60.py+++ b/agent/src/factors/zoo/qlib158/beta60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: Beta系数 60日+# 简要说明: ts_cov(close, ts_mean(close, 60), 60) / ts_var(close, 60),个股相对于自身的60日Beta。+# 典型用途: 衡量个股在60日窗口内的弹性/风险,高Beta意味着高波动和高弹性。+# ============================================================"""qlib158 BETA60: formula = (\\mathrm{close}_t - \\mathrm{close}_{{t-60}}) / (60\\,\\mathrm{close})."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntd10.py b/agent/src/factors/zoo/qlib158/cntd10.pyindex 7c45b8bf0..f8049547f 100644--- a/agent/src/factors/zoo/qlib158/cntd10.py+++ b/agent/src/factors/zoo/qlib158/cntd10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 涨跌天数差 10日+# 简要说明: CNTP_10 - CNTN_10,10日内上涨天数与下跌天数之差。+# 典型用途: 综合衡量10日内的涨跌方向,正值表示多头天数占优。+# ============================================================"""qlib158 CNTD10: formula = \\mathrm{CNTP}_10 - \\mathrm{CNTN}_10."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntd20.py b/agent/src/factors/zoo/qlib158/cntd20.pyindex e3d266421..2dda8ac41 100644--- a/agent/src/factors/zoo/qlib158/cntd20.py+++ b/agent/src/factors/zoo/qlib158/cntd20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 涨跌天数差 20日+# 简要说明: CNTP_20 - CNTN_20,20日内上涨天数与下跌天数之差。+# 典型用途: 综合衡量20日内的涨跌方向,正值表示多头天数占优。+# ============================================================"""qlib158 CNTD20: formula = \\mathrm{CNTP}_20 - \\mathrm{CNTN}_20."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntd30.py b/agent/src/factors/zoo/qlib158/cntd30.pyindex 586521af8..f053cc62a 100644--- a/agent/src/factors/zoo/qlib158/cntd30.py+++ b/agent/src/factors/zoo/qlib158/cntd30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 涨跌天数差 30日+# 简要说明: CNTP_30 - CNTN_30,30日内上涨天数与下跌天数之差。+# 典型用途: 综合衡量30日内的涨跌方向,正值表示多头天数占优。+# ============================================================"""qlib158 CNTD30: formula = \\mathrm{CNTP}_30 - \\mathrm{CNTN}_30."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntd5.py b/agent/src/factors/zoo/qlib158/cntd5.pyindex bc54e0a1e..a80cb7bc7 100644--- a/agent/src/factors/zoo/qlib158/cntd5.py+++ b/agent/src/factors/zoo/qlib158/cntd5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 涨跌天数差 5日+# 简要说明: CNTP_5 - CNTN_5,5日内上涨天数与下跌天数之差。+# 典型用途: 综合衡量5日内的涨跌方向,正值表示多头天数占优。+# ============================================================"""qlib158 CNTD5: formula = \\mathrm{CNTP}_5 - \\mathrm{CNTN}_5."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntd60.py b/agent/src/factors/zoo/qlib158/cntd60.pyindex aaf6221b3..1c4432fcd 100644--- a/agent/src/factors/zoo/qlib158/cntd60.py+++ b/agent/src/factors/zoo/qlib158/cntd60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 涨跌天数差 60日+# 简要说明: CNTP_60 - CNTN_60,60日内上涨天数与下跌天数之差。+# 典型用途: 综合衡量60日内的涨跌方向,正值表示多头天数占优。+# ============================================================"""qlib158 CNTD60: formula = \\mathrm{CNTP}_60 - \\mathrm{CNTN}_60."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntn10.py b/agent/src/factors/zoo/qlib158/cntn10.pyindex 99887b855..1282293c7 100644--- a/agent/src/factors/zoo/qlib158/cntn10.py+++ b/agent/src/factors/zoo/qlib158/cntn10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下跌天数计数 10日+# 简要说明: rolling_mean(1[close<close_prev], 10),10日内下跌天数占比。+# 典型用途: 衡量10日内下跌频率,值高表示持续下跌行情。+# ============================================================"""qlib158 CNTN10: formula = \\mathrm{rolling\\_mean}(\\mathrm{1}[\\mathrm{close}<\\mathrm{close}_{{-1}}], 10)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntn20.py b/agent/src/factors/zoo/qlib158/cntn20.pyindex 09e2f135b..21388ba9d 100644--- a/agent/src/factors/zoo/qlib158/cntn20.py+++ b/agent/src/factors/zoo/qlib158/cntn20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下跌天数计数 20日+# 简要说明: rolling_mean(1[close<close_prev], 20),20日内下跌天数占比。+# 典型用途: 衡量20日内下跌频率,值高表示持续下跌行情。+# ============================================================"""qlib158 CNTN20: formula = \\mathrm{rolling\\_mean}(\\mathrm{1}[\\mathrm{close}<\\mathrm{close}_{{-1}}], 20)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntn30.py b/agent/src/factors/zoo/qlib158/cntn30.pyindex 9c3a6f33a..680a6f422 100644--- a/agent/src/factors/zoo/qlib158/cntn30.py+++ b/agent/src/factors/zoo/qlib158/cntn30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下跌天数计数 30日+# 简要说明: rolling_mean(1[close<close_prev], 30),30日内下跌天数占比。+# 典型用途: 衡量30日内下跌频率,值高表示持续下跌行情。+# ============================================================"""qlib158 CNTN30: formula = \\mathrm{rolling\\_mean}(\\mathrm{1}[\\mathrm{close}<\\mathrm{close}_{{-1}}], 30)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntn5.py b/agent/src/factors/zoo/qlib158/cntn5.pyindex fbe97d00a..187c3409f 100644--- a/agent/src/factors/zoo/qlib158/cntn5.py+++ b/agent/src/factors/zoo/qlib158/cntn5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下跌天数计数 5日+# 简要说明: rolling_mean(1[close<close_prev], 5),5日内下跌天数占比。+# 典型用途: 衡量5日内下跌频率,值高表示持续下跌行情。+# ============================================================"""qlib158 CNTN5: formula = \\mathrm{rolling\\_mean}(\\mathrm{1}[\\mathrm{close}<\\mathrm{close}_{{-1}}], 5)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntn60.py b/agent/src/factors/zoo/qlib158/cntn60.pyindex d66f5f43a..3fc38a2cc 100644--- a/agent/src/factors/zoo/qlib158/cntn60.py+++ b/agent/src/factors/zoo/qlib158/cntn60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下跌天数计数 60日+# 简要说明: rolling_mean(1[close<close_prev], 60),60日内下跌天数占比。+# 典型用途: 衡量60日内下跌频率,值高表示持续下跌行情。+# ============================================================"""qlib158 CNTN60: formula = \\mathrm{rolling\\_mean}(\\mathrm{1}[\\mathrm{close}<\\mathrm{close}_{{-1}}], 60)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntp10.py b/agent/src/factors/zoo/qlib158/cntp10.pyindex 5bdbdff84..6e2174de8 100644--- a/agent/src/factors/zoo/qlib158/cntp10.py+++ b/agent/src/factors/zoo/qlib158/cntp10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上涨天数计数 10日+# 简要说明: rolling_mean(1[close>close_prev], 10),10日内上涨天数占比。+# 典型用途: 衡量10日内上涨频率,值高表示持续上涨行情。+# ============================================================"""qlib158 CNTP10: formula = \\mathrm{rolling\\_mean}(\\mathrm{1}[\\mathrm{close}>\\mathrm{close}_{{-1}}], 10)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntp20.py b/agent/src/factors/zoo/qlib158/cntp20.pyindex 5d733dcb5..633e6d18b 100644--- a/agent/src/factors/zoo/qlib158/cntp20.py+++ b/agent/src/factors/zoo/qlib158/cntp20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上涨天数计数 20日+# 简要说明: rolling_mean(1[close>close_prev], 20),20日内上涨天数占比。+# 典型用途: 衡量20日内上涨频率,值高表示持续上涨行情。+# ============================================================"""qlib158 CNTP20: formula = \\mathrm{rolling\\_mean}(\\mathrm{1}[\\mathrm{close}>\\mathrm{close}_{{-1}}], 20)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntp30.py b/agent/src/factors/zoo/qlib158/cntp30.pyindex bfea0a086..7195b6082 100644--- a/agent/src/factors/zoo/qlib158/cntp30.py+++ b/agent/src/factors/zoo/qlib158/cntp30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上涨天数计数 30日+# 简要说明: rolling_mean(1[close>close_prev], 30),30日内上涨天数占比。+# 典型用途: 衡量30日内上涨频率,值高表示持续上涨行情。+# ============================================================"""qlib158 CNTP30: formula = \\mathrm{rolling\\_mean}(\\mathrm{1}[\\mathrm{close}>\\mathrm{close}_{{-1}}], 30)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntp5.py b/agent/src/factors/zoo/qlib158/cntp5.pyindex 85f645dcf..26d337735 100644--- a/agent/src/factors/zoo/qlib158/cntp5.py+++ b/agent/src/factors/zoo/qlib158/cntp5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上涨天数计数 5日+# 简要说明: rolling_mean(1[close>close_prev], 5),5日内上涨天数占比。+# 典型用途: 衡量5日内上涨频率,值高表示持续上涨行情。+# ============================================================"""qlib158 CNTP5: formula = \\mathrm{rolling\\_mean}(\\mathrm{1}[\\mathrm{close}>\\mathrm{close}_{{-1}}], 5)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cntp60.py b/agent/src/factors/zoo/qlib158/cntp60.pyindex 66616e3c7..74568afdd 100644--- a/agent/src/factors/zoo/qlib158/cntp60.py+++ b/agent/src/factors/zoo/qlib158/cntp60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上涨天数计数 60日+# 简要说明: rolling_mean(1[close>close_prev], 60),60日内上涨天数占比。+# 典型用途: 衡量60日内上涨频率,值高表示持续上涨行情。+# ============================================================"""qlib158 CNTP60: formula = \\mathrm{rolling\\_mean}(\\mathrm{1}[\\mathrm{close}>\\mathrm{close}_{{-1}}], 60)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cord10.py b/agent/src/factors/zoo/qlib158/cord10.pyindex b8f6998b4..a5d212a8a 100644--- a/agent/src/factors/zoo/qlib158/cord10.py+++ b/agent/src/factors/zoo/qlib158/cord10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 收益率-量变化相关性 10日+# 简要说明: ts_corr(close/close_prev, log(v/v_prev), 10),10日收益率与成交量变化率的相关系数。+# 典型用途: 衡量10日价格变动与成交量变动的相关性,反映量价配合程度。+# ============================================================"""qlib158 CORD10: formula = \\mathrm{ts\\_corr}(\\mathrm{close}/\\mathrm{close}_{{-1}}, \\log((\\mathrm{volume}+1)/(\\mathrm{volume}_{{-1}}+1)), 10)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cord20.py b/agent/src/factors/zoo/qlib158/cord20.pyindex 0e8e63c54..eec043d1e 100644--- a/agent/src/factors/zoo/qlib158/cord20.py+++ b/agent/src/factors/zoo/qlib158/cord20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 收益率-量变化相关性 20日+# 简要说明: ts_corr(close/close_prev, log(v/v_prev), 20),20日收益率与成交量变化率的相关系数。+# 典型用途: 衡量20日价格变动与成交量变动的相关性,反映量价配合程度。+# ============================================================"""qlib158 CORD20: formula = \\mathrm{ts\\_corr}(\\mathrm{close}/\\mathrm{close}_{{-1}}, \\log((\\mathrm{volume}+1)/(\\mathrm{volume}_{{-1}}+1)), 20)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cord30.py b/agent/src/factors/zoo/qlib158/cord30.pyindex b4b419b2c..84e4c9e10 100644--- a/agent/src/factors/zoo/qlib158/cord30.py+++ b/agent/src/factors/zoo/qlib158/cord30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 收益率-量变化相关性 30日+# 简要说明: ts_corr(close/close_prev, log(v/v_prev), 30),30日收益率与成交量变化率的相关系数。+# 典型用途: 衡量30日价格变动与成交量变动的相关性,反映量价配合程度。+# ============================================================"""qlib158 CORD30: formula = \\mathrm{ts\\_corr}(\\mathrm{close}/\\mathrm{close}_{{-1}}, \\log((\\mathrm{volume}+1)/(\\mathrm{volume}_{{-1}}+1)), 30)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cord5.py b/agent/src/factors/zoo/qlib158/cord5.pyindex 57fece7d8..6082898b6 100644--- a/agent/src/factors/zoo/qlib158/cord5.py+++ b/agent/src/factors/zoo/qlib158/cord5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 收益率-量变化相关性 5日+# 简要说明: ts_corr(close/close_prev, log(v/v_prev), 5),5日收益率与成交量变化率的相关系数。+# 典型用途: 衡量5日价格变动与成交量变动的相关性,反映量价配合程度。+# ============================================================"""qlib158 CORD5: formula = \\mathrm{ts\\_corr}(\\mathrm{close}/\\mathrm{close}_{{-1}}, \\log((\\mathrm{volume}+1)/(\\mathrm{volume}_{{-1}}+1)), 5)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/cord60.py b/agent/src/factors/zoo/qlib158/cord60.pyindex 5830585c8..a89d7dc4c 100644--- a/agent/src/factors/zoo/qlib158/cord60.py+++ b/agent/src/factors/zoo/qlib158/cord60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 收益率-量变化相关性 60日+# 简要说明: ts_corr(close/close_prev, log(v/v_prev), 60),60日收益率与成交量变化率的相关系数。+# 典型用途: 衡量60日价格变动与成交量变动的相关性,反映量价配合程度。+# ============================================================"""qlib158 CORD60: formula = \\mathrm{ts\\_corr}(\\mathrm{close}/\\mathrm{close}_{{-1}}, \\log((\\mathrm{volume}+1)/(\\mathrm{volume}_{{-1}}+1)), 60)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/corr10.py b/agent/src/factors/zoo/qlib158/corr10.pyindex 93a059eec..2a7ed2ef0 100644--- a/agent/src/factors/zoo/qlib158/corr10.py+++ b/agent/src/factors/zoo/qlib158/corr10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 价量相关性 10日+# 简要说明: ts_corr(close, log(volume+1), 10),10日收盘价与成交量的相关系数。+# 典型用途: 衡量10日价格与成交量的同步性,正相关表示价涨量增的健康走势。+# ============================================================"""qlib158 CORR10: formula = \\mathrm{ts\\_corr}(\\mathrm{close}, \\log(\\mathrm{volume}+1), 10)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/corr20.py b/agent/src/factors/zoo/qlib158/corr20.pyindex 5e7b2b42c..fafb2c565 100644--- a/agent/src/factors/zoo/qlib158/corr20.py+++ b/agent/src/factors/zoo/qlib158/corr20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 价量相关性 20日+# 简要说明: ts_corr(close, log(volume+1), 20),20日收盘价与成交量的相关系数。+# 典型用途: 衡量20日价格与成交量的同步性,正相关表示价涨量增的健康走势。+# ============================================================"""qlib158 CORR20: formula = \\mathrm{ts\\_corr}(\\mathrm{close}, \\log(\\mathrm{volume}+1), 20)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/corr30.py b/agent/src/factors/zoo/qlib158/corr30.pyindex 1406228b7..00a8f44c4 100644--- a/agent/src/factors/zoo/qlib158/corr30.py+++ b/agent/src/factors/zoo/qlib158/corr30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 价量相关性 30日+# 简要说明: ts_corr(close, log(volume+1), 30),30日收盘价与成交量的相关系数。+# 典型用途: 衡量30日价格与成交量的同步性,正相关表示价涨量增的健康走势。+# ============================================================"""qlib158 CORR30: formula = \\mathrm{ts\\_corr}(\\mathrm{close}, \\log(\\mathrm{volume}+1), 30)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/corr5.py b/agent/src/factors/zoo/qlib158/corr5.pyindex 8da426548..45087714e 100644--- a/agent/src/factors/zoo/qlib158/corr5.py+++ b/agent/src/factors/zoo/qlib158/corr5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 价量相关性 5日+# 简要说明: ts_corr(close, log(volume+1), 5),5日收盘价与成交量的相关系数。+# 典型用途: 衡量5日价格与成交量的同步性,正相关表示价涨量增的健康走势。+# ============================================================"""qlib158 CORR5: formula = \\mathrm{ts\\_corr}(\\mathrm{close}, \\log(\\mathrm{volume}+1), 5)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/corr60.py b/agent/src/factors/zoo/qlib158/corr60.pyindex c342a20d3..6b313911c 100644--- a/agent/src/factors/zoo/qlib158/corr60.py+++ b/agent/src/factors/zoo/qlib158/corr60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 价量相关性 60日+# 简要说明: ts_corr(close, log(volume+1), 60),60日收盘价与成交量的相关系数。+# 典型用途: 衡量60日价格与成交量的同步性,正相关表示价涨量增的健康走势。+# ============================================================"""qlib158 CORR60: formula = \\mathrm{ts\\_corr}(\\mathrm{close}, \\log(\\mathrm{volume}+1), 60)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imax10.py b/agent/src/factors/zoo/qlib158/imax10.pyindex 75f701cf1..bd54da1aa 100644--- a/agent/src/factors/zoo/qlib158/imax10.py+++ b/agent/src/factors/zoo/qlib158/imax10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最高价位置 10日+# 简要说明: ts_argmax(high, 10) / 10,10日内最高价出现位置的归一化指标。+# 典型用途: 值接近0表示最高价出现在近期,接近1表示出现在较早期。+# ============================================================"""qlib158 IMAX10: formula = \\mathrm{ts\\_argmax}(\\mathrm{high}, 10) / 10."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imax20.py b/agent/src/factors/zoo/qlib158/imax20.pyindex 829fa1569..71bbe8beb 100644--- a/agent/src/factors/zoo/qlib158/imax20.py+++ b/agent/src/factors/zoo/qlib158/imax20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最高价位置 20日+# 简要说明: ts_argmax(high, 20) / 20,20日内最高价出现位置的归一化指标。+# 典型用途: 值接近0表示最高价出现在近期,接近1表示出现在较早期。+# ============================================================"""qlib158 IMAX20: formula = \\mathrm{ts\\_argmax}(\\mathrm{high}, 20) / 20."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imax30.py b/agent/src/factors/zoo/qlib158/imax30.pyindex 77708a537..6c9bcc0f6 100644--- a/agent/src/factors/zoo/qlib158/imax30.py+++ b/agent/src/factors/zoo/qlib158/imax30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最高价位置 30日+# 简要说明: ts_argmax(high, 30) / 30,30日内最高价出现位置的归一化指标。+# 典型用途: 值接近0表示最高价出现在近期,接近1表示出现在较早期。+# ============================================================"""qlib158 IMAX30: formula = \\mathrm{ts\\_argmax}(\\mathrm{high}, 30) / 30."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imax5.py b/agent/src/factors/zoo/qlib158/imax5.pyindex 57ebc1b76..d309dac2d 100644--- a/agent/src/factors/zoo/qlib158/imax5.py+++ b/agent/src/factors/zoo/qlib158/imax5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最高价位置 5日+# 简要说明: ts_argmax(high, 5) / 5,5日内最高价出现位置的归一化指标。+# 典型用途: 值接近0表示最高价出现在近期,接近1表示出现在较早期。+# ============================================================"""qlib158 IMAX5: formula = \\mathrm{ts\\_argmax}(\\mathrm{high}, 5) / 5."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imax60.py b/agent/src/factors/zoo/qlib158/imax60.pyindex e3b332ae3..62fdecb10 100644--- a/agent/src/factors/zoo/qlib158/imax60.py+++ b/agent/src/factors/zoo/qlib158/imax60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最高价位置 60日+# 简要说明: ts_argmax(high, 60) / 60,60日内最高价出现位置的归一化指标。+# 典型用途: 值接近0表示最高价出现在近期,接近1表示出现在较早期。+# ============================================================"""qlib158 IMAX60: formula = \\mathrm{ts\\_argmax}(\\mathrm{high}, 60) / 60."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imin10.py b/agent/src/factors/zoo/qlib158/imin10.pyindex 0fc4e713d..889a09f61 100644--- a/agent/src/factors/zoo/qlib158/imin10.py+++ b/agent/src/factors/zoo/qlib158/imin10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最低价位置 10日+# 简要说明: ts_argmin(low, 10) / 10,10日内最低价出现位置的归一化指标。+# 典型用途: 值接近0表示最低价出现在近期,接近1表示出现在较早期。+# ============================================================"""qlib158 IMIN10: formula = \\mathrm{ts\\_argmin}(\\mathrm{low}, 10) / 10."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imin20.py b/agent/src/factors/zoo/qlib158/imin20.pyindex ae7ba5aaa..719c56792 100644--- a/agent/src/factors/zoo/qlib158/imin20.py+++ b/agent/src/factors/zoo/qlib158/imin20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最低价位置 20日+# 简要说明: ts_argmin(low, 20) / 20,20日内最低价出现位置的归一化指标。+# 典型用途: 值接近0表示最低价出现在近期,接近1表示出现在较早期。+# ============================================================"""qlib158 IMIN20: formula = \\mathrm{ts\\_argmin}(\\mathrm{low}, 20) / 20."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imin30.py b/agent/src/factors/zoo/qlib158/imin30.pyindex 01e6e92b6..caad90913 100644--- a/agent/src/factors/zoo/qlib158/imin30.py+++ b/agent/src/factors/zoo/qlib158/imin30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最低价位置 30日+# 简要说明: ts_argmin(low, 30) / 30,30日内最低价出现位置的归一化指标。+# 典型用途: 值接近0表示最低价出现在近期,接近1表示出现在较早期。+# ============================================================"""qlib158 IMIN30: formula = \\mathrm{ts\\_argmin}(\\mathrm{low}, 30) / 30."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imin5.py b/agent/src/factors/zoo/qlib158/imin5.pyindex 05b2c2d6b..7b52fcbcf 100644--- a/agent/src/factors/zoo/qlib158/imin5.py+++ b/agent/src/factors/zoo/qlib158/imin5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最低价位置 5日+# 简要说明: ts_argmin(low, 5) / 5,5日内最低价出现位置的归一化指标。+# 典型用途: 值接近0表示最低价出现在近期,接近1表示出现在较早期。+# ============================================================"""qlib158 IMIN5: formula = \\mathrm{ts\\_argmin}(\\mathrm{low}, 5) / 5."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imin60.py b/agent/src/factors/zoo/qlib158/imin60.pyindex 002d90e61..ee0cedac3 100644--- a/agent/src/factors/zoo/qlib158/imin60.py+++ b/agent/src/factors/zoo/qlib158/imin60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最低价位置 60日+# 简要说明: ts_argmin(low, 60) / 60,60日内最低价出现位置的归一化指标。+# 典型用途: 值接近0表示最低价出现在近期,接近1表示出现在较早期。+# ============================================================"""qlib158 IMIN60: formula = \\mathrm{ts\\_argmin}(\\mathrm{low}, 60) / 60."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imxd10.py b/agent/src/factors/zoo/qlib158/imxd10.pyindex 6014e5a86..a62627283 100644--- a/agent/src/factors/zoo/qlib158/imxd10.py+++ b/agent/src/factors/zoo/qlib158/imxd10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 极值跨度 10日+# 简要说明: (ts_argmax(high, 10) - ts_argmin(low, 10)) / 10,最高与最低出现位置的时间差。+# 典型用途: 衡量10日内从最低点到最高点所需的时间,反映趋势持续性。+# ============================================================"""qlib158 IMXD10: formula = (\\mathrm{ts\\_argmax}(\\mathrm{high}, 10) - \\mathrm{ts\\_argmin}(\\mathrm{low}, 10)) / 10."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imxd20.py b/agent/src/factors/zoo/qlib158/imxd20.pyindex 2ca2e8ad8..6c65ccd20 100644--- a/agent/src/factors/zoo/qlib158/imxd20.py+++ b/agent/src/factors/zoo/qlib158/imxd20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 极值跨度 20日+# 简要说明: (ts_argmax(high, 20) - ts_argmin(low, 20)) / 20,最高与最低出现位置的时间差。+# 典型用途: 衡量20日内从最低点到最高点所需的时间,反映趋势持续性。+# ============================================================"""qlib158 IMXD20: formula = (\\mathrm{ts\\_argmax}(\\mathrm{high}, 20) - \\mathrm{ts\\_argmin}(\\mathrm{low}, 20)) / 20."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imxd30.py b/agent/src/factors/zoo/qlib158/imxd30.pyindex 11c6c0b7a..2c5129d21 100644--- a/agent/src/factors/zoo/qlib158/imxd30.py+++ b/agent/src/factors/zoo/qlib158/imxd30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 极值跨度 30日+# 简要说明: (ts_argmax(high, 30) - ts_argmin(low, 30)) / 30,最高与最低出现位置的时间差。+# 典型用途: 衡量30日内从最低点到最高点所需的时间,反映趋势持续性。+# ============================================================"""qlib158 IMXD30: formula = (\\mathrm{ts\\_argmax}(\\mathrm{high}, 30) - \\mathrm{ts\\_argmin}(\\mathrm{low}, 30)) / 30."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imxd5.py b/agent/src/factors/zoo/qlib158/imxd5.pyindex a60da29d7..8e674f215 100644--- a/agent/src/factors/zoo/qlib158/imxd5.py+++ b/agent/src/factors/zoo/qlib158/imxd5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 极值跨度 5日+# 简要说明: (ts_argmax(high, 5) - ts_argmin(low, 5)) / 5,最高与最低出现位置的时间差。+# 典型用途: 衡量5日内从最低点到最高点所需的时间,反映趋势持续性。+# ============================================================"""qlib158 IMXD5: formula = (\\mathrm{ts\\_argmax}(\\mathrm{high}, 5) - \\mathrm{ts\\_argmin}(\\mathrm{low}, 5)) / 5."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/imxd60.py b/agent/src/factors/zoo/qlib158/imxd60.pyindex e9bb7d22f..126081c6c 100644--- a/agent/src/factors/zoo/qlib158/imxd60.py+++ b/agent/src/factors/zoo/qlib158/imxd60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 极值跨度 60日+# 简要说明: (ts_argmax(high, 60) - ts_argmin(low, 60)) / 60,最高与最低出现位置的时间差。+# 典型用途: 衡量60日内从最低点到最高点所需的时间,反映趋势持续性。+# ============================================================"""qlib158 IMXD60: formula = (\\mathrm{ts\\_argmax}(\\mathrm{high}, 60) - \\mathrm{ts\\_argmin}(\\mathrm{low}, 60)) / 60."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/klen.py b/agent/src/factors/zoo/qlib158/klen.pyindex 4057beedc..b4087e340 100644--- a/agent/src/factors/zoo/qlib158/klen.py+++ b/agent/src/factors/zoo/qlib158/klen.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: K线长度+# 简要说明: (high - low) / open,衡量当日K线实体振幅相对于开盘价的比率。+# 典型用途: 用于识别日内波动幅度较大的股票,结合其他因子判断异常交易行为。+# ============================================================"""qlib158 KLEN: formula = (\\mathrm{high} - \\mathrm{low}) / \\mathrm{open}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/klow.py b/agent/src/factors/zoo/qlib158/klow.pyindex 6130fd804..826dd56c3 100644--- a/agent/src/factors/zoo/qlib158/klow.py+++ b/agent/src/factors/zoo/qlib158/klow.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下影线比率+# 简要说明: (min(open,close) - low) / open,衡量下影线长度相对于开盘价的比率。+# 典型用途: 反映日内买方支撑力度,下影线较长意味着低位有买盘承接。+# ============================================================"""qlib158 KLOW: formula = (\\min(\\mathrm{open}, \\mathrm{close}) - \\mathrm{low}) / \\mathrm{open}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/klow2.py b/agent/src/factors/zoo/qlib158/klow2.pyindex 0df888ef2..76caf993d 100644--- a/agent/src/factors/zoo/qlib158/klow2.py+++ b/agent/src/factors/zoo/qlib158/klow2.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下影线相对比率+# 简要说明: (min(open,close) - low) / (high - low),衡量下影线在整根K线中的占比。+# 典型用途: 用于识别探底回升形态,下影线占比高表明下方支撑强劲。+# ============================================================"""qlib158 KLOW2: formula = (\\min(\\mathrm{open}, \\mathrm{close}) - \\mathrm{low}) / (\\mathrm{high} - \\mathrm{low})."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/kmid.py b/agent/src/factors/zoo/qlib158/kmid.pyindex 7548d25f1..07dd3619e 100644--- a/agent/src/factors/zoo/qlib158/kmid.py+++ b/agent/src/factors/zoo/qlib158/kmid.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 涨跌幅+# 简要说明: (close - open) / open,即当日收盘相对于开盘的简单收益率。+# 典型用途: 日内动量因子,正值为多头占优,负值为空头占优。+# ============================================================"""qlib158 KMID: formula = (\\mathrm{close} - \\mathrm{open}) / \\mathrm{open}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/kmid2.py b/agent/src/factors/zoo/qlib158/kmid2.pyindex f524beeeb..4f836c776 100644--- a/agent/src/factors/zoo/qlib158/kmid2.py+++ b/agent/src/factors/zoo/qlib158/kmid2.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: K线中部相对位置+# 简要说明: (close - open) / (high - low),收盘价在当日振幅中的相对位置。+# 典型用途: 衡量收盘强度,值接近1表示收盘接近最高点,多方主导。+# ============================================================"""qlib158 KMID2: formula = (\\mathrm{close} - \\mathrm{open}) / (\\mathrm{high} - \\mathrm{low})."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/ksft.py b/agent/src/factors/zoo/qlib158/ksft.pyindex 5530af2fd..40f018750 100644--- a/agent/src/factors/zoo/qlib158/ksft.py+++ b/agent/src/factors/zoo/qlib158/ksft.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: K线偏移(标准化开盘价)+# 简要说明: (2*close - high - low) / open,衡量收盘价偏离日内中心的程度。+# 典型用途: K线形态识别,正偏移表明收盘偏向高价位区间。+# ============================================================"""qlib158 KSFT: formula = (2\\,\\mathrm{close} - \\mathrm{high} - \\mathrm{low}) / \\mathrm{open}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/ksft2.py b/agent/src/factors/zoo/qlib158/ksft2.pyindex 50c13ea5d..afd90db34 100644--- a/agent/src/factors/zoo/qlib158/ksft2.py+++ b/agent/src/factors/zoo/qlib158/ksft2.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: K线偏移(标准化振幅)+# 简要说明: (2*close - high - low) / (high - low),收盘在日内振幅中的偏移比率。+# 典型用途: 范围在[-1,1]之间,接近1表示强势收盘,接近-1表示弱势收盘。+# ============================================================"""qlib158 KSFT2: formula = (2\\,\\mathrm{close} - \\mathrm{high} - \\mathrm{low}) / (\\mathrm{high} - \\mathrm{low})."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/kup.py b/agent/src/factors/zoo/qlib158/kup.pyindex e4bc1ea90..c9f58d713 100644--- a/agent/src/factors/zoo/qlib158/kup.py+++ b/agent/src/factors/zoo/qlib158/kup.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上影线比率+# 简要说明: (high - max(open,close)) / open,衡量上影线长度相对于开盘价的比率。+# 典型用途: 反映日内卖出压力,上影线较长意味着高位有抛压。+# ============================================================"""qlib158 KUP: formula = (\\mathrm{high} - \\max(\\mathrm{open}, \\mathrm{close})) / \\mathrm{open}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/kup2.py b/agent/src/factors/zoo/qlib158/kup2.pyindex 9c5361aab..4feac41f1 100644--- a/agent/src/factors/zoo/qlib158/kup2.py+++ b/agent/src/factors/zoo/qlib158/kup2.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上影线相对比率+# 简要说明: (high - max(open,close)) / (high - low),衡量上影线在整根K线中的占比。+# 典型用途: 用于识别冲高回落形态,上影线占比高表明上方阻力较大。+# ============================================================"""qlib158 KUP2: formula = (\\mathrm{high} - \\max(\\mathrm{open}, \\mathrm{close})) / (\\mathrm{high} - \\mathrm{low})."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/ma10.py b/agent/src/factors/zoo/qlib158/ma10.pyindex e096276b9..54570cb07 100644--- a/agent/src/factors/zoo/qlib158/ma10.py+++ b/agent/src/factors/zoo/qlib158/ma10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 移动均线比 10日+# 简要说明: ts_mean(close, 10) / close,10日简单移动平均与收盘价的比率。+# 典型用途: 价格相对于均线的位置,大于1表示价格在均线上方,用于趋势判断。+# ============================================================"""qlib158 MA10: formula = \\mathrm{ts\\_mean}(\\mathrm{close}, 10) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/ma20.py b/agent/src/factors/zoo/qlib158/ma20.pyindex 6efb5cee6..6b66dabf3 100644--- a/agent/src/factors/zoo/qlib158/ma20.py+++ b/agent/src/factors/zoo/qlib158/ma20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 移动均线比 20日+# 简要说明: ts_mean(close, 20) / close,20日简单移动平均与收盘价的比率。+# 典型用途: 价格相对于均线的位置,大于1表示价格在均线上方,用于趋势判断。+# ============================================================"""qlib158 MA20: formula = \\mathrm{ts\\_mean}(\\mathrm{close}, 20) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/ma30.py b/agent/src/factors/zoo/qlib158/ma30.pyindex 0dff06a3a..76fe977f1 100644--- a/agent/src/factors/zoo/qlib158/ma30.py+++ b/agent/src/factors/zoo/qlib158/ma30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 移动均线比 30日+# 简要说明: ts_mean(close, 30) / close,30日简单移动平均与收盘价的比率。+# 典型用途: 价格相对于均线的位置,大于1表示价格在均线上方,用于趋势判断。+# ============================================================"""qlib158 MA30: formula = \\mathrm{ts\\_mean}(\\mathrm{close}, 30) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/ma5.py b/agent/src/factors/zoo/qlib158/ma5.pyindex 32f98377c..ae2c17cfa 100644--- a/agent/src/factors/zoo/qlib158/ma5.py+++ b/agent/src/factors/zoo/qlib158/ma5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 移动均线比 5日+# 简要说明: ts_mean(close, 5) / close,5日简单移动平均与收盘价的比率。+# 典型用途: 价格相对于均线的位置,大于1表示价格在均线上方,用于趋势判断。+# ============================================================"""qlib158 MA5: formula = \\mathrm{ts\\_mean}(\\mathrm{close}, 5) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/ma60.py b/agent/src/factors/zoo/qlib158/ma60.pyindex 5704fdb50..fdff3d45b 100644--- a/agent/src/factors/zoo/qlib158/ma60.py+++ b/agent/src/factors/zoo/qlib158/ma60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 移动均线比 60日+# 简要说明: ts_mean(close, 60) / close,60日简单移动平均与收盘价的比率。+# 典型用途: 价格相对于均线的位置,大于1表示价格在均线上方,用于趋势判断。+# ============================================================"""qlib158 MA60: formula = \\mathrm{ts\\_mean}(\\mathrm{close}, 60) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/max10.py b/agent/src/factors/zoo/qlib158/max10.pyindex ed2195327..e4c9d5967 100644--- a/agent/src/factors/zoo/qlib158/max10.py+++ b/agent/src/factors/zoo/qlib158/max10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最大价 10日+# 简要说明: ts_max(high, 10) / close,10日最高价与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于10日最高点的位置,接近1表示接近近期高点。+# ============================================================"""qlib158 MAX10: formula = \\mathrm{ts\\_max}(\\mathrm{high}, 10) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/max20.py b/agent/src/factors/zoo/qlib158/max20.pyindex 26ce6a45d..fa5becf2c 100644--- a/agent/src/factors/zoo/qlib158/max20.py+++ b/agent/src/factors/zoo/qlib158/max20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最大价 20日+# 简要说明: ts_max(high, 20) / close,20日最高价与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于20日最高点的位置,接近1表示接近近期高点。+# ============================================================"""qlib158 MAX20: formula = \\mathrm{ts\\_max}(\\mathrm{high}, 20) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/max30.py b/agent/src/factors/zoo/qlib158/max30.pyindex 28b23c0d0..a7b6ac9f2 100644--- a/agent/src/factors/zoo/qlib158/max30.py+++ b/agent/src/factors/zoo/qlib158/max30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最大价 30日+# 简要说明: ts_max(high, 30) / close,30日最高价与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于30日最高点的位置,接近1表示接近近期高点。+# ============================================================"""qlib158 MAX30: formula = \\mathrm{ts\\_max}(\\mathrm{high}, 30) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/max5.py b/agent/src/factors/zoo/qlib158/max5.pyindex 2fb52b8da..e647a10c0 100644--- a/agent/src/factors/zoo/qlib158/max5.py+++ b/agent/src/factors/zoo/qlib158/max5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最大价 5日+# 简要说明: ts_max(high, 5) / close,5日最高价与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于5日最高点的位置,接近1表示接近近期高点。+# ============================================================"""qlib158 MAX5: formula = \\mathrm{ts\\_max}(\\mathrm{high}, 5) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/max60.py b/agent/src/factors/zoo/qlib158/max60.pyindex 19889ef69..16013bd47 100644--- a/agent/src/factors/zoo/qlib158/max60.py+++ b/agent/src/factors/zoo/qlib158/max60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最大价 60日+# 简要说明: ts_max(high, 60) / close,60日最高价与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于60日最高点的位置,接近1表示接近近期高点。+# ============================================================"""qlib158 MAX60: formula = \\mathrm{ts\\_max}(\\mathrm{high}, 60) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/min10.py b/agent/src/factors/zoo/qlib158/min10.pyindex 74b792b2e..476bdd9bc 100644--- a/agent/src/factors/zoo/qlib158/min10.py+++ b/agent/src/factors/zoo/qlib158/min10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最小价 10日+# 简要说明: ts_min(low, 10) / close,10日最低价与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于10日最低点的位置,接近1表示接近近期低点。+# ============================================================"""qlib158 MIN10: formula = \\mathrm{ts\\_min}(\\mathrm{low}, 10) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/min20.py b/agent/src/factors/zoo/qlib158/min20.pyindex d2978f38e..a40e8118d 100644--- a/agent/src/factors/zoo/qlib158/min20.py+++ b/agent/src/factors/zoo/qlib158/min20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最小价 20日+# 简要说明: ts_min(low, 20) / close,20日最低价与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于20日最低点的位置,接近1表示接近近期低点。+# ============================================================"""qlib158 MIN20: formula = \\mathrm{ts\\_min}(\\mathrm{low}, 20) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/min30.py b/agent/src/factors/zoo/qlib158/min30.pyindex b18b4cefe..baf2fd729 100644--- a/agent/src/factors/zoo/qlib158/min30.py+++ b/agent/src/factors/zoo/qlib158/min30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最小价 30日+# 简要说明: ts_min(low, 30) / close,30日最低价与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于30日最低点的位置,接近1表示接近近期低点。+# ============================================================"""qlib158 MIN30: formula = \\mathrm{ts\\_min}(\\mathrm{low}, 30) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/min5.py b/agent/src/factors/zoo/qlib158/min5.pyindex 00e0581a3..d3cf2490d 100644--- a/agent/src/factors/zoo/qlib158/min5.py+++ b/agent/src/factors/zoo/qlib158/min5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最小价 5日+# 简要说明: ts_min(low, 5) / close,5日最低价与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于5日最低点的位置,接近1表示接近近期低点。+# ============================================================"""qlib158 MIN5: formula = \\mathrm{ts\\_min}(\\mathrm{low}, 5) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/min60.py b/agent/src/factors/zoo/qlib158/min60.pyindex 972b6de9f..e4a055f64 100644--- a/agent/src/factors/zoo/qlib158/min60.py+++ b/agent/src/factors/zoo/qlib158/min60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 最小价 60日+# 简要说明: ts_min(low, 60) / close,60日最低价与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于60日最低点的位置,接近1表示接近近期低点。+# ============================================================"""qlib158 MIN60: formula = \\mathrm{ts\\_min}(\\mathrm{low}, 60) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/qtld10.py b/agent/src/factors/zoo/qlib158/qtld10.pyindex f13f5160e..fa1d265fa 100644--- a/agent/src/factors/zoo/qlib158/qtld10.py+++ b/agent/src/factors/zoo/qlib158/qtld10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下分位数 10日+# 简要说明: quantile_0.2(close, 10) / close,10日20%分位价格与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于10日低分位的位置,值大表示价格在近期低位以上。+# ============================================================"""qlib158 QTLD10: formula = \\mathrm{quantile}_{{0.2}}(\\mathrm{close}, 10) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/qtld20.py b/agent/src/factors/zoo/qlib158/qtld20.pyindex d8880407c..9e8806f38 100644--- a/agent/src/factors/zoo/qlib158/qtld20.py+++ b/agent/src/factors/zoo/qlib158/qtld20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下分位数 20日+# 简要说明: quantile_0.2(close, 20) / close,20日20%分位价格与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于20日低分位的位置,值大表示价格在近期低位以上。+# ============================================================"""qlib158 QTLD20: formula = \\mathrm{quantile}_{{0.2}}(\\mathrm{close}, 20) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/qtld30.py b/agent/src/factors/zoo/qlib158/qtld30.pyindex ca4d92cf8..d69537eee 100644--- a/agent/src/factors/zoo/qlib158/qtld30.py+++ b/agent/src/factors/zoo/qlib158/qtld30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下分位数 30日+# 简要说明: quantile_0.2(close, 30) / close,30日20%分位价格与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于30日低分位的位置,值大表示价格在近期低位以上。+# ============================================================"""qlib158 QTLD30: formula = \\mathrm{quantile}_{{0.2}}(\\mathrm{close}, 30) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/qtld5.py b/agent/src/factors/zoo/qlib158/qtld5.pyindex 146a7d54e..28d62d9bb 100644--- a/agent/src/factors/zoo/qlib158/qtld5.py+++ b/agent/src/factors/zoo/qlib158/qtld5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下分位数 5日+# 简要说明: quantile_0.2(close, 5) / close,5日20%分位价格与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于5日低分位的位置,值大表示价格在近期低位以上。+# ============================================================"""qlib158 QTLD5: formula = \\mathrm{quantile}_{{0.2}}(\\mathrm{close}, 5) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/qtld60.py b/agent/src/factors/zoo/qlib158/qtld60.pyindex 9b1b3f8bf..de3dfc24a 100644--- a/agent/src/factors/zoo/qlib158/qtld60.py+++ b/agent/src/factors/zoo/qlib158/qtld60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下分位数 60日+# 简要说明: quantile_0.2(close, 60) / close,60日20%分位价格与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于60日低分位的位置,值大表示价格在近期低位以上。+# ============================================================"""qlib158 QTLD60: formula = \\mathrm{quantile}_{{0.2}}(\\mathrm{close}, 60) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/qtlu10.py b/agent/src/factors/zoo/qlib158/qtlu10.pyindex 10d728125..b3fb263c2 100644--- a/agent/src/factors/zoo/qlib158/qtlu10.py+++ b/agent/src/factors/zoo/qlib158/qtlu10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上分位数 10日+# 简要说明: quantile_0.8(close, 10) / close,10日80%分位价格与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于10日高分位的位置,值小表示价格在近期高位以下。+# ============================================================"""qlib158 QTLU10: formula = \\mathrm{quantile}_{{0.8}}(\\mathrm{close}, 10) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/qtlu20.py b/agent/src/factors/zoo/qlib158/qtlu20.pyindex 1453e17db..85a501213 100644--- a/agent/src/factors/zoo/qlib158/qtlu20.py+++ b/agent/src/factors/zoo/qlib158/qtlu20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上分位数 20日+# 简要说明: quantile_0.8(close, 20) / close,20日80%分位价格与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于20日高分位的位置,值小表示价格在近期高位以下。+# ============================================================"""qlib158 QTLU20: formula = \\mathrm{quantile}_{{0.8}}(\\mathrm{close}, 20) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/qtlu30.py b/agent/src/factors/zoo/qlib158/qtlu30.pyindex b36285144..9bcdfb339 100644--- a/agent/src/factors/zoo/qlib158/qtlu30.py+++ b/agent/src/factors/zoo/qlib158/qtlu30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上分位数 30日+# 简要说明: quantile_0.8(close, 30) / close,30日80%分位价格与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于30日高分位的位置,值小表示价格在近期高位以下。+# ============================================================"""qlib158 QTLU30: formula = \\mathrm{quantile}_{{0.8}}(\\mathrm{close}, 30) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/qtlu5.py b/agent/src/factors/zoo/qlib158/qtlu5.pyindex 957c99ad3..81dc36c0b 100644--- a/agent/src/factors/zoo/qlib158/qtlu5.py+++ b/agent/src/factors/zoo/qlib158/qtlu5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上分位数 5日+# 简要说明: quantile_0.8(close, 5) / close,5日80%分位价格与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于5日高分位的位置,值小表示价格在近期高位以下。+# ============================================================"""qlib158 QTLU5: formula = \\mathrm{quantile}_{{0.8}}(\\mathrm{close}, 5) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/qtlu60.py b/agent/src/factors/zoo/qlib158/qtlu60.pyindex 09b1234b8..1c58b81a8 100644--- a/agent/src/factors/zoo/qlib158/qtlu60.py+++ b/agent/src/factors/zoo/qlib158/qtlu60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上分位数 60日+# 简要说明: quantile_0.8(close, 60) / close,60日80%分位价格与当前收盘价的比率。+# 典型用途: 衡量当前价格相对于60日高分位的位置,值小表示价格在近期高位以下。+# ============================================================"""qlib158 QTLU60: formula = \\mathrm{quantile}_{{0.8}}(\\mathrm{close}, 60) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rank10.py b/agent/src/factors/zoo/qlib158/rank10.pyindex c1ac7ee16..303f25aa8 100644--- a/agent/src/factors/zoo/qlib158/rank10.py+++ b/agent/src/factors/zoo/qlib158/rank10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 时间序列排名 10日+# 简要说明: ts_rank(close, 10),当前收盘价在10日窗口内的百分位排名。+# 典型用途: 衡量当前价格在过去10日中的相对位置,高排名表示处于近期高位。+# ============================================================"""qlib158 RANK10: formula = \\mathrm{ts\\_rank}(\\mathrm{close}, 10)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rank20.py b/agent/src/factors/zoo/qlib158/rank20.pyindex 5a329a040..d158a55c0 100644--- a/agent/src/factors/zoo/qlib158/rank20.py+++ b/agent/src/factors/zoo/qlib158/rank20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 时间序列排名 20日+# 简要说明: ts_rank(close, 20),当前收盘价在20日窗口内的百分位排名。+# 典型用途: 衡量当前价格在过去20日中的相对位置,高排名表示处于近期高位。+# ============================================================"""qlib158 RANK20: formula = \\mathrm{ts\\_rank}(\\mathrm{close}, 20)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rank30.py b/agent/src/factors/zoo/qlib158/rank30.pyindex 12cdba784..2d5b6cfa5 100644--- a/agent/src/factors/zoo/qlib158/rank30.py+++ b/agent/src/factors/zoo/qlib158/rank30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 时间序列排名 30日+# 简要说明: ts_rank(close, 30),当前收盘价在30日窗口内的百分位排名。+# 典型用途: 衡量当前价格在过去30日中的相对位置,高排名表示处于近期高位。+# ============================================================"""qlib158 RANK30: formula = \\mathrm{ts\\_rank}(\\mathrm{close}, 30)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rank5.py b/agent/src/factors/zoo/qlib158/rank5.pyindex 79d6e4ad5..9cd72ae30 100644--- a/agent/src/factors/zoo/qlib158/rank5.py+++ b/agent/src/factors/zoo/qlib158/rank5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 时间序列排名 5日+# 简要说明: ts_rank(close, 5),当前收盘价在5日窗口内的百分位排名。+# 典型用途: 衡量当前价格在过去5日中的相对位置,高排名表示处于近期高位。+# ============================================================"""qlib158 RANK5: formula = \\mathrm{ts\\_rank}(\\mathrm{close}, 5)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rank60.py b/agent/src/factors/zoo/qlib158/rank60.pyindex f7c43e3d9..621fe0b27 100644--- a/agent/src/factors/zoo/qlib158/rank60.py+++ b/agent/src/factors/zoo/qlib158/rank60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 时间序列排名 60日+# 简要说明: ts_rank(close, 60),当前收盘价在60日窗口内的百分位排名。+# 典型用途: 衡量当前价格在过去60日中的相对位置,高排名表示处于近期高位。+# ============================================================"""qlib158 RANK60: formula = \\mathrm{ts\\_rank}(\\mathrm{close}, 60)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/resi10.py b/agent/src/factors/zoo/qlib158/resi10.pyindex 1c3999d52..4442db538 100644--- a/agent/src/factors/zoo/qlib158/resi10.py+++ b/agent/src/factors/zoo/qlib158/resi10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 残差 10日+# 简要说明: (close - ts_mean(close, 10)) / close,价格相对10日均线的偏离度。+# 典型用途: 衡量价格偏离均线的程度,用于均值回复策略。+# ============================================================"""qlib158 RESI10: formula = (\\mathrm{close} - \\mathrm{ts\\_mean}(\\mathrm{close}, 10)) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/resi20.py b/agent/src/factors/zoo/qlib158/resi20.pyindex ff62a0caf..0c3adc579 100644--- a/agent/src/factors/zoo/qlib158/resi20.py+++ b/agent/src/factors/zoo/qlib158/resi20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 残差 20日+# 简要说明: (close - ts_mean(close, 20)) / close,价格相对20日均线的偏离度。+# 典型用途: 衡量价格偏离均线的程度,用于均值回复策略。+# ============================================================"""qlib158 RESI20: formula = (\\mathrm{close} - \\mathrm{ts\\_mean}(\\mathrm{close}, 20)) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/resi30.py b/agent/src/factors/zoo/qlib158/resi30.pyindex 5a222f2d7..07d7e0777 100644--- a/agent/src/factors/zoo/qlib158/resi30.py+++ b/agent/src/factors/zoo/qlib158/resi30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 残差 30日+# 简要说明: (close - ts_mean(close, 30)) / close,价格相对30日均线的偏离度。+# 典型用途: 衡量价格偏离均线的程度,用于均值回复策略。+# ============================================================"""qlib158 RESI30: formula = (\\mathrm{close} - \\mathrm{ts\\_mean}(\\mathrm{close}, 30)) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/resi5.py b/agent/src/factors/zoo/qlib158/resi5.pyindex 0aa65fb9b..082bb3c66 100644--- a/agent/src/factors/zoo/qlib158/resi5.py+++ b/agent/src/factors/zoo/qlib158/resi5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 残差 5日+# 简要说明: (close - ts_mean(close, 5)) / close,价格相对5日均线的偏离度。+# 典型用途: 衡量价格偏离均线的程度,用于均值回复策略。+# ============================================================"""qlib158 RESI5: formula = (\\mathrm{close} - \\mathrm{ts\\_mean}(\\mathrm{close}, 5)) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/resi60.py b/agent/src/factors/zoo/qlib158/resi60.pyindex 09dd99855..e352b9ea1 100644--- a/agent/src/factors/zoo/qlib158/resi60.py+++ b/agent/src/factors/zoo/qlib158/resi60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 残差 60日+# 简要说明: (close - ts_mean(close, 60)) / close,价格相对60日均线的偏离度。+# 典型用途: 衡量价格偏离均线的程度,用于均值回复策略。+# ============================================================"""qlib158 RESI60: formula = (\\mathrm{close} - \\mathrm{ts\\_mean}(\\mathrm{close}, 60)) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/roc10.py b/agent/src/factors/zoo/qlib158/roc10.pyindex 3d15b3b72..bfc4ff54a 100644--- a/agent/src/factors/zoo/qlib158/roc10.py+++ b/agent/src/factors/zoo/qlib158/roc10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 变动率 10日+# 简要说明: close_t / close_{t-10} - 1,10日收益率。+# 典型用途: 经典的10日动量因子,正值为上涨趋势,负值为下跌趋势。+# ============================================================"""qlib158 ROC10: formula = \\mathrm{close}_t / \\mathrm{close}_{{t-10}} - 1."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/roc20.py b/agent/src/factors/zoo/qlib158/roc20.pyindex 5da85a36a..ab3453c06 100644--- a/agent/src/factors/zoo/qlib158/roc20.py+++ b/agent/src/factors/zoo/qlib158/roc20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 变动率 20日+# 简要说明: close_t / close_{t-20} - 1,20日收益率。+# 典型用途: 经典的20日动量因子,正值为上涨趋势,负值为下跌趋势。+# ============================================================"""qlib158 ROC20: formula = \\mathrm{close}_t / \\mathrm{close}_{{t-20}} - 1."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/roc30.py b/agent/src/factors/zoo/qlib158/roc30.pyindex bbe3cddc3..20609d0ce 100644--- a/agent/src/factors/zoo/qlib158/roc30.py+++ b/agent/src/factors/zoo/qlib158/roc30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 变动率 30日+# 简要说明: close_t / close_{t-30} - 1,30日收益率。+# 典型用途: 经典的30日动量因子,正值为上涨趋势,负值为下跌趋势。+# ============================================================"""qlib158 ROC30: formula = \\mathrm{close}_t / \\mathrm{close}_{{t-30}} - 1."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/roc5.py b/agent/src/factors/zoo/qlib158/roc5.pyindex 700540356..cd37ae96e 100644--- a/agent/src/factors/zoo/qlib158/roc5.py+++ b/agent/src/factors/zoo/qlib158/roc5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 变动率 5日+# 简要说明: close_t / close_{t-5} - 1,5日收益率。+# 典型用途: 经典的5日动量因子,正值为上涨趋势,负值为下跌趋势。+# ============================================================"""qlib158 ROC5: formula = \\mathrm{close}_t / \\mathrm{close}_{{t-5}} - 1."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/roc60.py b/agent/src/factors/zoo/qlib158/roc60.pyindex 3868a553c..0ddb6e846 100644--- a/agent/src/factors/zoo/qlib158/roc60.py+++ b/agent/src/factors/zoo/qlib158/roc60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 变动率 60日+# 简要说明: close_t / close_{t-60} - 1,60日收益率。+# 典型用途: 经典的60日动量因子,正值为上涨趋势,负值为下跌趋势。+# ============================================================"""qlib158 ROC60: formula = \\mathrm{close}_t / \\mathrm{close}_{{t-60}} - 1."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rsqr10.py b/agent/src/factors/zoo/qlib158/rsqr10.pyindex bccdcc0fa..1068e2b52 100644--- a/agent/src/factors/zoo/qlib158/rsqr10.py+++ b/agent/src/factors/zoo/qlib158/rsqr10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: R平方 10日+# 简要说明: ts_corr(close, t, 10)^2,收盘价对时间的10日线性回归拟合度。+# 典型用途: 衡量10日价格趋势的线性强度,值高表示趋势明确。+# ============================================================"""qlib158 RSQR10: formula = \\mathrm{ts\\_corr}(\\mathrm{close}, t, 10)^2."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rsqr20.py b/agent/src/factors/zoo/qlib158/rsqr20.pyindex b9052e49d..d40c3d22e 100644--- a/agent/src/factors/zoo/qlib158/rsqr20.py+++ b/agent/src/factors/zoo/qlib158/rsqr20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: R平方 20日+# 简要说明: ts_corr(close, t, 20)^2,收盘价对时间的20日线性回归拟合度。+# 典型用途: 衡量20日价格趋势的线性强度,值高表示趋势明确。+# ============================================================"""qlib158 RSQR20: formula = \\mathrm{ts\\_corr}(\\mathrm{close}, t, 20)^2."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rsqr30.py b/agent/src/factors/zoo/qlib158/rsqr30.pyindex a4f179ebd..e7c4813b8 100644--- a/agent/src/factors/zoo/qlib158/rsqr30.py+++ b/agent/src/factors/zoo/qlib158/rsqr30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: R平方 30日+# 简要说明: ts_corr(close, t, 30)^2,收盘价对时间的30日线性回归拟合度。+# 典型用途: 衡量30日价格趋势的线性强度,值高表示趋势明确。+# ============================================================"""qlib158 RSQR30: formula = \\mathrm{ts\\_corr}(\\mathrm{close}, t, 30)^2."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rsqr5.py b/agent/src/factors/zoo/qlib158/rsqr5.pyindex f0acff663..f4d238a4d 100644--- a/agent/src/factors/zoo/qlib158/rsqr5.py+++ b/agent/src/factors/zoo/qlib158/rsqr5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: R平方 5日+# 简要说明: ts_corr(close, t, 5)^2,收盘价对时间的5日线性回归拟合度。+# 典型用途: 衡量5日价格趋势的线性强度,值高表示趋势明确。+# ============================================================"""qlib158 RSQR5: formula = \\mathrm{ts\\_corr}(\\mathrm{close}, t, 5)^2."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rsqr60.py b/agent/src/factors/zoo/qlib158/rsqr60.pyindex de80dab96..44db3d7c6 100644--- a/agent/src/factors/zoo/qlib158/rsqr60.py+++ b/agent/src/factors/zoo/qlib158/rsqr60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: R平方 60日+# 简要说明: ts_corr(close, t, 60)^2,收盘价对时间的60日线性回归拟合度。+# 典型用途: 衡量60日价格趋势的线性强度,值高表示趋势明确。+# ============================================================"""qlib158 RSQR60: formula = \\mathrm{ts\\_corr}(\\mathrm{close}, t, 60)^2."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rsv10.py b/agent/src/factors/zoo/qlib158/rsv10.pyindex f2010c95f..548f6cfea 100644--- a/agent/src/factors/zoo/qlib158/rsv10.py+++ b/agent/src/factors/zoo/qlib158/rsv10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 未成熟随机值 10日+# 简要说明: (close - ts_min(low, 10)) / (ts_max(high, 10) - ts_min(low, 10)),KDJ指标中的RSV值。+# 典型用途: 衡量收盘价在10日高低区间中的位置,用于超买超卖判断(>80超买,<20超卖)。+# ============================================================"""qlib158 RSV10: formula = (\\mathrm{close} - \\mathrm{ts\\_min}(\\mathrm{low}, 10)) / (\\mathrm{ts\\_max}(\\mathrm{high}, 10) - \\mathrm{ts\\_min}(\\mathrm{low}, 10))."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rsv20.py b/agent/src/factors/zoo/qlib158/rsv20.pyindex 295d2009c..d27745014 100644--- a/agent/src/factors/zoo/qlib158/rsv20.py+++ b/agent/src/factors/zoo/qlib158/rsv20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 未成熟随机值 20日+# 简要说明: (close - ts_min(low, 20)) / (ts_max(high, 20) - ts_min(low, 20)),KDJ指标中的RSV值。+# 典型用途: 衡量收盘价在20日高低区间中的位置,用于超买超卖判断(>80超买,<20超卖)。+# ============================================================"""qlib158 RSV20: formula = (\\mathrm{close} - \\mathrm{ts\\_min}(\\mathrm{low}, 20)) / (\\mathrm{ts\\_max}(\\mathrm{high}, 20) - \\mathrm{ts\\_min}(\\mathrm{low}, 20))."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rsv30.py b/agent/src/factors/zoo/qlib158/rsv30.pyindex 42464c274..4a39d58ca 100644--- a/agent/src/factors/zoo/qlib158/rsv30.py+++ b/agent/src/factors/zoo/qlib158/rsv30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 未成熟随机值 30日+# 简要说明: (close - ts_min(low, 30)) / (ts_max(high, 30) - ts_min(low, 30)),KDJ指标中的RSV值。+# 典型用途: 衡量收盘价在30日高低区间中的位置,用于超买超卖判断(>80超买,<20超卖)。+# ============================================================"""qlib158 RSV30: formula = (\\mathrm{close} - \\mathrm{ts\\_min}(\\mathrm{low}, 30)) / (\\mathrm{ts\\_max}(\\mathrm{high}, 30) - \\mathrm{ts\\_min}(\\mathrm{low}, 30))."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rsv5.py b/agent/src/factors/zoo/qlib158/rsv5.pyindex 82bc5dc34..0b34845bc 100644--- a/agent/src/factors/zoo/qlib158/rsv5.py+++ b/agent/src/factors/zoo/qlib158/rsv5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 未成熟随机值 5日+# 简要说明: (close - ts_min(low, 5)) / (ts_max(high, 5) - ts_min(low, 5)),KDJ指标中的RSV值。+# 典型用途: 衡量收盘价在5日高低区间中的位置,用于超买超卖判断(>80超买,<20超卖)。+# ============================================================"""qlib158 RSV5: formula = (\\mathrm{close} - \\mathrm{ts\\_min}(\\mathrm{low}, 5)) / (\\mathrm{ts\\_max}(\\mathrm{high}, 5) - \\mathrm{ts\\_min}(\\mathrm{low}, 5))."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/rsv60.py b/agent/src/factors/zoo/qlib158/rsv60.pyindex d49f01a68..88be34e9e 100644--- a/agent/src/factors/zoo/qlib158/rsv60.py+++ b/agent/src/factors/zoo/qlib158/rsv60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 未成熟随机值 60日+# 简要说明: (close - ts_min(low, 60)) / (ts_max(high, 60) - ts_min(low, 60)),KDJ指标中的RSV值。+# 典型用途: 衡量收盘价在60日高低区间中的位置,用于超买超卖判断(>80超买,<20超卖)。+# ============================================================"""qlib158 RSV60: formula = (\\mathrm{close} - \\mathrm{ts\\_min}(\\mathrm{low}, 60)) / (\\mathrm{ts\\_max}(\\mathrm{high}, 60) - \\mathrm{ts\\_min}(\\mathrm{low}, 60))."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/std10.py b/agent/src/factors/zoo/qlib158/std10.pyindex 91fcda971..0f0c27763 100644--- a/agent/src/factors/zoo/qlib158/std10.py+++ b/agent/src/factors/zoo/qlib158/std10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 价格标准差比 10日+# 简要说明: ts_std(close, 10) / close,10日收盘价标准差与收盘价的比率(变异系数)。+# 典型用途: 衡量10日价格波动幅度相对于价格水平的比率,用于波动率排序。+# ============================================================"""qlib158 STD10: formula = \\mathrm{ts\\_std}(\\mathrm{close}, 10) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/std20.py b/agent/src/factors/zoo/qlib158/std20.pyindex 20654cec2..ab69ab661 100644--- a/agent/src/factors/zoo/qlib158/std20.py+++ b/agent/src/factors/zoo/qlib158/std20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 价格标准差比 20日+# 简要说明: ts_std(close, 20) / close,20日收盘价标准差与收盘价的比率(变异系数)。+# 典型用途: 衡量20日价格波动幅度相对于价格水平的比率,用于波动率排序。+# ============================================================"""qlib158 STD20: formula = \\mathrm{ts\\_std}(\\mathrm{close}, 20) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/std30.py b/agent/src/factors/zoo/qlib158/std30.pyindex aea2fea8f..fbb11ffbd 100644--- a/agent/src/factors/zoo/qlib158/std30.py+++ b/agent/src/factors/zoo/qlib158/std30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 价格标准差比 30日+# 简要说明: ts_std(close, 30) / close,30日收盘价标准差与收盘价的比率(变异系数)。+# 典型用途: 衡量30日价格波动幅度相对于价格水平的比率,用于波动率排序。+# ============================================================"""qlib158 STD30: formula = \\mathrm{ts\\_std}(\\mathrm{close}, 30) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/std5.py b/agent/src/factors/zoo/qlib158/std5.pyindex 9f8205afb..96d3708b5 100644--- a/agent/src/factors/zoo/qlib158/std5.py+++ b/agent/src/factors/zoo/qlib158/std5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 价格标准差比 5日+# 简要说明: ts_std(close, 5) / close,5日收盘价标准差与收盘价的比率(变异系数)。+# 典型用途: 衡量5日价格波动幅度相对于价格水平的比率,用于波动率排序。+# ============================================================"""qlib158 STD5: formula = \\mathrm{ts\\_std}(\\mathrm{close}, 5) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/std60.py b/agent/src/factors/zoo/qlib158/std60.pyindex e703ef795..6249ffab1 100644--- a/agent/src/factors/zoo/qlib158/std60.py+++ b/agent/src/factors/zoo/qlib158/std60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 价格标准差比 60日+# 简要说明: ts_std(close, 60) / close,60日收盘价标准差与收盘价的比率(变异系数)。+# 典型用途: 衡量60日价格波动幅度相对于价格水平的比率,用于波动率排序。+# ============================================================"""qlib158 STD60: formula = \\mathrm{ts\\_std}(\\mathrm{close}, 60) / \\mathrm{close}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sumd10.py b/agent/src/factors/zoo/qlib158/sumd10.pyindex b71bdc724..41e9f50a2 100644--- a/agent/src/factors/zoo/qlib158/sumd10.py+++ b/agent/src/factors/zoo/qlib158/sumd10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 涨跌差 10日+# 简要说明: SUMP_10 - SUMN_10,10日内上涨强度与下跌强度的差值。+# 典型用途: 判断10日内的整体涨跌倾向,正值表示上涨动量占优。+# ============================================================"""qlib158 SUMD10: formula = \\mathrm{SUMP}_w - \\mathrm{SUMN}_w."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sumd20.py b/agent/src/factors/zoo/qlib158/sumd20.pyindex bd544d604..671654946 100644--- a/agent/src/factors/zoo/qlib158/sumd20.py+++ b/agent/src/factors/zoo/qlib158/sumd20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 涨跌差 20日+# 简要说明: SUMP_20 - SUMN_20,20日内上涨强度与下跌强度的差值。+# 典型用途: 判断20日内的整体涨跌倾向,正值表示上涨动量占优。+# ============================================================"""qlib158 SUMD20: formula = \\mathrm{SUMP}_w - \\mathrm{SUMN}_w."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sumd30.py b/agent/src/factors/zoo/qlib158/sumd30.pyindex cbcac8c0a..e59480105 100644--- a/agent/src/factors/zoo/qlib158/sumd30.py+++ b/agent/src/factors/zoo/qlib158/sumd30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 涨跌差 30日+# 简要说明: SUMP_30 - SUMN_30,30日内上涨强度与下跌强度的差值。+# 典型用途: 判断30日内的整体涨跌倾向,正值表示上涨动量占优。+# ============================================================"""qlib158 SUMD30: formula = \\mathrm{SUMP}_w - \\mathrm{SUMN}_w."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sumd5.py b/agent/src/factors/zoo/qlib158/sumd5.pyindex d47026cfc..3231c4376 100644--- a/agent/src/factors/zoo/qlib158/sumd5.py+++ b/agent/src/factors/zoo/qlib158/sumd5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 涨跌差 5日+# 简要说明: SUMP_5 - SUMN_5,5日内上涨强度与下跌强度的差值。+# 典型用途: 判断5日内的整体涨跌倾向,正值表示上涨动量占优。+# ============================================================"""qlib158 SUMD5: formula = \\mathrm{SUMP}_w - \\mathrm{SUMN}_w."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sumd60.py b/agent/src/factors/zoo/qlib158/sumd60.pyindex 8efa979f6..47ce0f9cb 100644--- a/agent/src/factors/zoo/qlib158/sumd60.py+++ b/agent/src/factors/zoo/qlib158/sumd60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 涨跌差 60日+# 简要说明: SUMP_60 - SUMN_60,60日内上涨强度与下跌强度的差值。+# 典型用途: 判断60日内的整体涨跌倾向,正值表示上涨动量占优。+# ============================================================"""qlib158 SUMD60: formula = \\mathrm{SUMP}_w - \\mathrm{SUMN}_w."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sumn10.py b/agent/src/factors/zoo/qlib158/sumn10.pyindex 7c2f883a0..e5bbc9467 100644--- a/agent/src/factors/zoo/qlib158/sumn10.py+++ b/agent/src/factors/zoo/qlib158/sumn10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下跌强度 10日+# 简要说明: sum(max(-delta_close, 0)) / sum(|delta_close|),10日内负收益占比。+# 典型用途: 衡量10日下跌日的比例强度,值接近1表示连续下跌。+# ============================================================"""qlib158 SUMN10: formula = \\sum \\max(-\\Delta\\mathrm{close}, 0) / \\sum |\\Delta\\mathrm{close}|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sumn20.py b/agent/src/factors/zoo/qlib158/sumn20.pyindex 73d715245..f5bb4e4ce 100644--- a/agent/src/factors/zoo/qlib158/sumn20.py+++ b/agent/src/factors/zoo/qlib158/sumn20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下跌强度 20日+# 简要说明: sum(max(-delta_close, 0)) / sum(|delta_close|),20日内负收益占比。+# 典型用途: 衡量20日下跌日的比例强度,值接近1表示连续下跌。+# ============================================================"""qlib158 SUMN20: formula = \\sum \\max(-\\Delta\\mathrm{close}, 0) / \\sum |\\Delta\\mathrm{close}|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sumn30.py b/agent/src/factors/zoo/qlib158/sumn30.pyindex 602eb31d1..3f715f5fe 100644--- a/agent/src/factors/zoo/qlib158/sumn30.py+++ b/agent/src/factors/zoo/qlib158/sumn30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下跌强度 30日+# 简要说明: sum(max(-delta_close, 0)) / sum(|delta_close|),30日内负收益占比。+# 典型用途: 衡量30日下跌日的比例强度,值接近1表示连续下跌。+# ============================================================"""qlib158 SUMN30: formula = \\sum \\max(-\\Delta\\mathrm{close}, 0) / \\sum |\\Delta\\mathrm{close}|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sumn5.py b/agent/src/factors/zoo/qlib158/sumn5.pyindex ac00703b3..feffcaeb5 100644--- a/agent/src/factors/zoo/qlib158/sumn5.py+++ b/agent/src/factors/zoo/qlib158/sumn5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下跌强度 5日+# 简要说明: sum(max(-delta_close, 0)) / sum(|delta_close|),5日内负收益占比。+# 典型用途: 衡量5日下跌日的比例强度,值接近1表示连续下跌。+# ============================================================"""qlib158 SUMN5: formula = \\sum \\max(-\\Delta\\mathrm{close}, 0) / \\sum |\\Delta\\mathrm{close}|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sumn60.py b/agent/src/factors/zoo/qlib158/sumn60.pyindex b51eb5ee6..621c2db6e 100644--- a/agent/src/factors/zoo/qlib158/sumn60.py+++ b/agent/src/factors/zoo/qlib158/sumn60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 下跌强度 60日+# 简要说明: sum(max(-delta_close, 0)) / sum(|delta_close|),60日内负收益占比。+# 典型用途: 衡量60日下跌日的比例强度,值接近1表示连续下跌。+# ============================================================"""qlib158 SUMN60: formula = \\sum \\max(-\\Delta\\mathrm{close}, 0) / \\sum |\\Delta\\mathrm{close}|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sump10.py b/agent/src/factors/zoo/qlib158/sump10.pyindex 329d2a69c..f3e03d162 100644--- a/agent/src/factors/zoo/qlib158/sump10.py+++ b/agent/src/factors/zoo/qlib158/sump10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上涨强度 10日+# 简要说明: sum(max(delta_close, 0)) / sum(|delta_close|),10日内正收益占比。+# 典型用途: 衡量10日上涨日的比例强度,值接近1表示连续上涨。+# ============================================================"""qlib158 SUMP10: formula = \\sum \\max(\\Delta\\mathrm{close}, 0) / \\sum |\\Delta\\mathrm{close}|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sump20.py b/agent/src/factors/zoo/qlib158/sump20.pyindex 9b5ebb0d5..87d36322d 100644--- a/agent/src/factors/zoo/qlib158/sump20.py+++ b/agent/src/factors/zoo/qlib158/sump20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上涨强度 20日+# 简要说明: sum(max(delta_close, 0)) / sum(|delta_close|),20日内正收益占比。+# 典型用途: 衡量20日上涨日的比例强度,值接近1表示连续上涨。+# ============================================================"""qlib158 SUMP20: formula = \\sum \\max(\\Delta\\mathrm{close}, 0) / \\sum |\\Delta\\mathrm{close}|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sump30.py b/agent/src/factors/zoo/qlib158/sump30.pyindex a0cdd12aa..0082dc93d 100644--- a/agent/src/factors/zoo/qlib158/sump30.py+++ b/agent/src/factors/zoo/qlib158/sump30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上涨强度 30日+# 简要说明: sum(max(delta_close, 0)) / sum(|delta_close|),30日内正收益占比。+# 典型用途: 衡量30日上涨日的比例强度,值接近1表示连续上涨。+# ============================================================"""qlib158 SUMP30: formula = \\sum \\max(\\Delta\\mathrm{close}, 0) / \\sum |\\Delta\\mathrm{close}|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sump5.py b/agent/src/factors/zoo/qlib158/sump5.pyindex 25719bbe8..71f036bab 100644--- a/agent/src/factors/zoo/qlib158/sump5.py+++ b/agent/src/factors/zoo/qlib158/sump5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上涨强度 5日+# 简要说明: sum(max(delta_close, 0)) / sum(|delta_close|),5日内正收益占比。+# 典型用途: 衡量5日上涨日的比例强度,值接近1表示连续上涨。+# ============================================================"""qlib158 SUMP5: formula = \\sum \\max(\\Delta\\mathrm{close}, 0) / \\sum |\\Delta\\mathrm{close}|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/sump60.py b/agent/src/factors/zoo/qlib158/sump60.pyindex 7402a237c..f480ebb7e 100644--- a/agent/src/factors/zoo/qlib158/sump60.py+++ b/agent/src/factors/zoo/qlib158/sump60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 上涨强度 60日+# 简要说明: sum(max(delta_close, 0)) / sum(|delta_close|),60日内正收益占比。+# 典型用途: 衡量60日上涨日的比例强度,值接近1表示连续上涨。+# ============================================================"""qlib158 SUMP60: formula = \\sum \\max(\\Delta\\mathrm{close}, 0) / \\sum |\\Delta\\mathrm{close}|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vma10.py b/agent/src/factors/zoo/qlib158/vma10.pyindex 6afc0c9be..8d8244520 100644--- a/agent/src/factors/zoo/qlib158/vma10.py+++ b/agent/src/factors/zoo/qlib158/vma10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量均线比 10日+# 简要说明: ts_mean(volume, 10) / volume,10日平均成交量与当日成交量的比率。+# 典型用途: 判断当日成交量的相对大小,大于1表示缩量,小于1表示放量。+# ============================================================"""qlib158 VMA10: formula = \\mathrm{ts\\_mean}(\\mathrm{volume}, 10) / \\mathrm{volume}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vma20.py b/agent/src/factors/zoo/qlib158/vma20.pyindex 83c32e257..f503d4b89 100644--- a/agent/src/factors/zoo/qlib158/vma20.py+++ b/agent/src/factors/zoo/qlib158/vma20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量均线比 20日+# 简要说明: ts_mean(volume, 20) / volume,20日平均成交量与当日成交量的比率。+# 典型用途: 判断当日成交量的相对大小,大于1表示缩量,小于1表示放量。+# ============================================================"""qlib158 VMA20: formula = \\mathrm{ts\\_mean}(\\mathrm{volume}, 20) / \\mathrm{volume}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vma30.py b/agent/src/factors/zoo/qlib158/vma30.pyindex ca7358827..c4cf39dfa 100644--- a/agent/src/factors/zoo/qlib158/vma30.py+++ b/agent/src/factors/zoo/qlib158/vma30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量均线比 30日+# 简要说明: ts_mean(volume, 30) / volume,30日平均成交量与当日成交量的比率。+# 典型用途: 判断当日成交量的相对大小,大于1表示缩量,小于1表示放量。+# ============================================================"""qlib158 VMA30: formula = \\mathrm{ts\\_mean}(\\mathrm{volume}, 30) / \\mathrm{volume}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vma5.py b/agent/src/factors/zoo/qlib158/vma5.pyindex f83a73a3c..9c5d2f919 100644--- a/agent/src/factors/zoo/qlib158/vma5.py+++ b/agent/src/factors/zoo/qlib158/vma5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量均线比 5日+# 简要说明: ts_mean(volume, 5) / volume,5日平均成交量与当日成交量的比率。+# 典型用途: 判断当日成交量的相对大小,大于1表示缩量,小于1表示放量。+# ============================================================"""qlib158 VMA5: formula = \\mathrm{ts\\_mean}(\\mathrm{volume}, 5) / \\mathrm{volume}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vma60.py b/agent/src/factors/zoo/qlib158/vma60.pyindex eb8922547..cbcad200e 100644--- a/agent/src/factors/zoo/qlib158/vma60.py+++ b/agent/src/factors/zoo/qlib158/vma60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量均线比 60日+# 简要说明: ts_mean(volume, 60) / volume,60日平均成交量与当日成交量的比率。+# 典型用途: 判断当日成交量的相对大小,大于1表示缩量,小于1表示放量。+# ============================================================"""qlib158 VMA60: formula = \\mathrm{ts\\_mean}(\\mathrm{volume}, 60) / \\mathrm{volume}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vstd10.py b/agent/src/factors/zoo/qlib158/vstd10.pyindex 2d544b874..322d7fccd 100644--- a/agent/src/factors/zoo/qlib158/vstd10.py+++ b/agent/src/factors/zoo/qlib158/vstd10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量标准差比 10日+# 简要说明: ts_std(volume, 10) / volume,10日成交量变异系数。+# 典型用途: 衡量10日成交量的波动稳定性,值低表示成交量稳定。+# ============================================================"""qlib158 VSTD10: formula = \\mathrm{ts\\_std}(\\mathrm{volume}, 10) / \\mathrm{volume}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vstd20.py b/agent/src/factors/zoo/qlib158/vstd20.pyindex cf2b11ccf..793b49f9a 100644--- a/agent/src/factors/zoo/qlib158/vstd20.py+++ b/agent/src/factors/zoo/qlib158/vstd20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量标准差比 20日+# 简要说明: ts_std(volume, 20) / volume,20日成交量变异系数。+# 典型用途: 衡量20日成交量的波动稳定性,值低表示成交量稳定。+# ============================================================"""qlib158 VSTD20: formula = \\mathrm{ts\\_std}(\\mathrm{volume}, 20) / \\mathrm{volume}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vstd30.py b/agent/src/factors/zoo/qlib158/vstd30.pyindex 7b35d0d75..3ccc959bb 100644--- a/agent/src/factors/zoo/qlib158/vstd30.py+++ b/agent/src/factors/zoo/qlib158/vstd30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量标准差比 30日+# 简要说明: ts_std(volume, 30) / volume,30日成交量变异系数。+# 典型用途: 衡量30日成交量的波动稳定性,值低表示成交量稳定。+# ============================================================"""qlib158 VSTD30: formula = \\mathrm{ts\\_std}(\\mathrm{volume}, 30) / \\mathrm{volume}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vstd5.py b/agent/src/factors/zoo/qlib158/vstd5.pyindex d64c406ec..05c84553e 100644--- a/agent/src/factors/zoo/qlib158/vstd5.py+++ b/agent/src/factors/zoo/qlib158/vstd5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量标准差比 5日+# 简要说明: ts_std(volume, 5) / volume,5日成交量变异系数。+# 典型用途: 衡量5日成交量的波动稳定性,值低表示成交量稳定。+# ============================================================"""qlib158 VSTD5: formula = \\mathrm{ts\\_std}(\\mathrm{volume}, 5) / \\mathrm{volume}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vstd60.py b/agent/src/factors/zoo/qlib158/vstd60.pyindex a87bf1744..bec788db2 100644--- a/agent/src/factors/zoo/qlib158/vstd60.py+++ b/agent/src/factors/zoo/qlib158/vstd60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量标准差比 60日+# 简要说明: ts_std(volume, 60) / volume,60日成交量变异系数。+# 典型用途: 衡量60日成交量的波动稳定性,值低表示成交量稳定。+# ============================================================"""qlib158 VSTD60: formula = \\mathrm{ts\\_std}(\\mathrm{volume}, 60) / \\mathrm{volume}."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsumd10.py b/agent/src/factors/zoo/qlib158/vsumd10.pyindex 2f4b38254..69ee07faa 100644--- a/agent/src/factors/zoo/qlib158/vsumd10.py+++ b/agent/src/factors/zoo/qlib158/vsumd10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量涨跌差 10日+# 简要说明: VSUMP_10 - VSUMN_10,10日内成交量加权的上涨与下跌强度差。+# 典型用途: 结合成交量判断10日内的趋势可信度,量价配合时信号更强。+# ============================================================"""qlib158 VSUMD10: formula = \\mathrm{VSUMP}_w - \\mathrm{VSUMN}_w."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsumd20.py b/agent/src/factors/zoo/qlib158/vsumd20.pyindex f63e28217..92a2ec2e7 100644--- a/agent/src/factors/zoo/qlib158/vsumd20.py+++ b/agent/src/factors/zoo/qlib158/vsumd20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量涨跌差 20日+# 简要说明: VSUMP_20 - VSUMN_20,20日内成交量加权的上涨与下跌强度差。+# 典型用途: 结合成交量判断20日内的趋势可信度,量价配合时信号更强。+# ============================================================"""qlib158 VSUMD20: formula = \\mathrm{VSUMP}_w - \\mathrm{VSUMN}_w."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsumd30.py b/agent/src/factors/zoo/qlib158/vsumd30.pyindex 4e3bec6ed..f2600ae29 100644--- a/agent/src/factors/zoo/qlib158/vsumd30.py+++ b/agent/src/factors/zoo/qlib158/vsumd30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量涨跌差 30日+# 简要说明: VSUMP_30 - VSUMN_30,30日内成交量加权的上涨与下跌强度差。+# 典型用途: 结合成交量判断30日内的趋势可信度,量价配合时信号更强。+# ============================================================"""qlib158 VSUMD30: formula = \\mathrm{VSUMP}_w - \\mathrm{VSUMN}_w."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsumd5.py b/agent/src/factors/zoo/qlib158/vsumd5.pyindex 67d6fd797..a9753e289 100644--- a/agent/src/factors/zoo/qlib158/vsumd5.py+++ b/agent/src/factors/zoo/qlib158/vsumd5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量涨跌差 5日+# 简要说明: VSUMP_5 - VSUMN_5,5日内成交量加权的上涨与下跌强度差。+# 典型用途: 结合成交量判断5日内的趋势可信度,量价配合时信号更强。+# ============================================================"""qlib158 VSUMD5: formula = \\mathrm{VSUMP}_w - \\mathrm{VSUMN}_w."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsumd60.py b/agent/src/factors/zoo/qlib158/vsumd60.pyindex efd6d5842..54b51b207 100644--- a/agent/src/factors/zoo/qlib158/vsumd60.py+++ b/agent/src/factors/zoo/qlib158/vsumd60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量涨跌差 60日+# 简要说明: VSUMP_60 - VSUMN_60,60日内成交量加权的上涨与下跌强度差。+# 典型用途: 结合成交量判断60日内的趋势可信度,量价配合时信号更强。+# ============================================================"""qlib158 VSUMD60: formula = \\mathrm{VSUMP}_w - \\mathrm{VSUMN}_w."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsumn10.py b/agent/src/factors/zoo/qlib158/vsumn10.pyindex 89eaafaeb..1a7680442 100644--- a/agent/src/factors/zoo/qlib158/vsumn10.py+++ b/agent/src/factors/zoo/qlib158/vsumn10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量下跌强度 10日+# 简要说明: sum(max(-delta_v, 0)) / sum(|delta_v|),10日内负成交量变化占比。+# 典型用途: 衡量10日内成交量缩小日的比例,反映卖盘衰竭程度。+# ============================================================"""qlib158 VSUMN10: formula = \\sum \\max(-\\Delta v, 0) / \\sum |\\Delta v|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsumn20.py b/agent/src/factors/zoo/qlib158/vsumn20.pyindex 0b168dd43..7efab8cea 100644--- a/agent/src/factors/zoo/qlib158/vsumn20.py+++ b/agent/src/factors/zoo/qlib158/vsumn20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量下跌强度 20日+# 简要说明: sum(max(-delta_v, 0)) / sum(|delta_v|),20日内负成交量变化占比。+# 典型用途: 衡量20日内成交量缩小日的比例,反映卖盘衰竭程度。+# ============================================================"""qlib158 VSUMN20: formula = \\sum \\max(-\\Delta v, 0) / \\sum |\\Delta v|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsumn30.py b/agent/src/factors/zoo/qlib158/vsumn30.pyindex d38c4d6cf..a830cfd18 100644--- a/agent/src/factors/zoo/qlib158/vsumn30.py+++ b/agent/src/factors/zoo/qlib158/vsumn30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量下跌强度 30日+# 简要说明: sum(max(-delta_v, 0)) / sum(|delta_v|),30日内负成交量变化占比。+# 典型用途: 衡量30日内成交量缩小日的比例,反映卖盘衰竭程度。+# ============================================================"""qlib158 VSUMN30: formula = \\sum \\max(-\\Delta v, 0) / \\sum |\\Delta v|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsumn5.py b/agent/src/factors/zoo/qlib158/vsumn5.pyindex 33bbaab2f..1ef2b8b3e 100644--- a/agent/src/factors/zoo/qlib158/vsumn5.py+++ b/agent/src/factors/zoo/qlib158/vsumn5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量下跌强度 5日+# 简要说明: sum(max(-delta_v, 0)) / sum(|delta_v|),5日内负成交量变化占比。+# 典型用途: 衡量5日内成交量缩小日的比例,反映卖盘衰竭程度。+# ============================================================"""qlib158 VSUMN5: formula = \\sum \\max(-\\Delta v, 0) / \\sum |\\Delta v|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsumn60.py b/agent/src/factors/zoo/qlib158/vsumn60.pyindex ae64c8935..10197ce2a 100644--- a/agent/src/factors/zoo/qlib158/vsumn60.py+++ b/agent/src/factors/zoo/qlib158/vsumn60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量下跌强度 60日+# 简要说明: sum(max(-delta_v, 0)) / sum(|delta_v|),60日内负成交量变化占比。+# 典型用途: 衡量60日内成交量缩小日的比例,反映卖盘衰竭程度。+# ============================================================"""qlib158 VSUMN60: formula = \\sum \\max(-\\Delta v, 0) / \\sum |\\Delta v|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsump10.py b/agent/src/factors/zoo/qlib158/vsump10.pyindex 945e94638..fc8338097 100644--- a/agent/src/factors/zoo/qlib158/vsump10.py+++ b/agent/src/factors/zoo/qlib158/vsump10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量上涨强度 10日+# 简要说明: sum(max(delta_v, 0)) / sum(|delta_v|),10日内正成交量变化占比。+# 典型用途: 衡量10日内成交量放大日的比例,反映买盘活跃程度。+# ============================================================"""qlib158 VSUMP10: formula = \\sum \\max(\\Delta v, 0) / \\sum |\\Delta v|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsump20.py b/agent/src/factors/zoo/qlib158/vsump20.pyindex c95923ca0..2e08802de 100644--- a/agent/src/factors/zoo/qlib158/vsump20.py+++ b/agent/src/factors/zoo/qlib158/vsump20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量上涨强度 20日+# 简要说明: sum(max(delta_v, 0)) / sum(|delta_v|),20日内正成交量变化占比。+# 典型用途: 衡量20日内成交量放大日的比例,反映买盘活跃程度。+# ============================================================"""qlib158 VSUMP20: formula = \\sum \\max(\\Delta v, 0) / \\sum |\\Delta v|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsump30.py b/agent/src/factors/zoo/qlib158/vsump30.pyindex 86b49bb93..d67dba17a 100644--- a/agent/src/factors/zoo/qlib158/vsump30.py+++ b/agent/src/factors/zoo/qlib158/vsump30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量上涨强度 30日+# 简要说明: sum(max(delta_v, 0)) / sum(|delta_v|),30日内正成交量变化占比。+# 典型用途: 衡量30日内成交量放大日的比例,反映买盘活跃程度。+# ============================================================"""qlib158 VSUMP30: formula = \\sum \\max(\\Delta v, 0) / \\sum |\\Delta v|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsump5.py b/agent/src/factors/zoo/qlib158/vsump5.pyindex 07210c193..d05cf0397 100644--- a/agent/src/factors/zoo/qlib158/vsump5.py+++ b/agent/src/factors/zoo/qlib158/vsump5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量上涨强度 5日+# 简要说明: sum(max(delta_v, 0)) / sum(|delta_v|),5日内正成交量变化占比。+# 典型用途: 衡量5日内成交量放大日的比例,反映买盘活跃程度。+# ============================================================"""qlib158 VSUMP5: formula = \\sum \\max(\\Delta v, 0) / \\sum |\\Delta v|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/vsump60.py b/agent/src/factors/zoo/qlib158/vsump60.pyindex b2ad6a012..7dff173f7 100644--- a/agent/src/factors/zoo/qlib158/vsump60.py+++ b/agent/src/factors/zoo/qlib158/vsump60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量上涨强度 60日+# 简要说明: sum(max(delta_v, 0)) / sum(|delta_v|),60日内正成交量变化占比。+# 典型用途: 衡量60日内成交量放大日的比例,反映买盘活跃程度。+# ============================================================"""qlib158 VSUMP60: formula = \\sum \\max(\\Delta v, 0) / \\sum |\\Delta v|."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/wvma10.py b/agent/src/factors/zoo/qlib158/wvma10.pyindex 1a68720b0..a33ee149a 100644--- a/agent/src/factors/zoo/qlib158/wvma10.py+++ b/agent/src/factors/zoo/qlib158/wvma10.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量加权波动 10日+# 简要说明: ts_std(ret*v, 10) / ts_mean(|ret|*v, 10),成交量加权的价格波动归一化指标。+# 典型用途: 衡量成交量调整后的价格波动性,值越高表示相对于成交量的价格波动越大。+# ============================================================"""qlib158 WVMA10: formula = \\mathrm{ts\\_std}(\\mathrm{ret}\\cdot v, 10) / \\mathrm{ts\\_mean}(|\\mathrm{ret}|\\cdot v, 10)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/wvma20.py b/agent/src/factors/zoo/qlib158/wvma20.pyindex fa3d4371d..80080997a 100644--- a/agent/src/factors/zoo/qlib158/wvma20.py+++ b/agent/src/factors/zoo/qlib158/wvma20.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量加权波动 20日+# 简要说明: ts_std(ret*v, 20) / ts_mean(|ret|*v, 20),成交量加权的价格波动归一化指标。+# 典型用途: 衡量成交量调整后的价格波动性,值越高表示相对于成交量的价格波动越大。+# ============================================================"""qlib158 WVMA20: formula = \\mathrm{ts\\_std}(\\mathrm{ret}\\cdot v, 20) / \\mathrm{ts\\_mean}(|\\mathrm{ret}|\\cdot v, 20)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/wvma30.py b/agent/src/factors/zoo/qlib158/wvma30.pyindex e90bc353d..1a54efc0b 100644--- a/agent/src/factors/zoo/qlib158/wvma30.py+++ b/agent/src/factors/zoo/qlib158/wvma30.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量加权波动 30日+# 简要说明: ts_std(ret*v, 30) / ts_mean(|ret|*v, 30),成交量加权的价格波动归一化指标。+# 典型用途: 衡量成交量调整后的价格波动性,值越高表示相对于成交量的价格波动越大。+# ============================================================"""qlib158 WVMA30: formula = \\mathrm{ts\\_std}(\\mathrm{ret}\\cdot v, 30) / \\mathrm{ts\\_mean}(|\\mathrm{ret}|\\cdot v, 30)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/wvma5.py b/agent/src/factors/zoo/qlib158/wvma5.pyindex e679e87f0..dfc40e090 100644--- a/agent/src/factors/zoo/qlib158/wvma5.py+++ b/agent/src/factors/zoo/qlib158/wvma5.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量加权波动 5日+# 简要说明: ts_std(ret*v, 5) / ts_mean(|ret|*v, 5),成交量加权的价格波动归一化指标。+# 典型用途: 衡量成交量调整后的价格波动性,值越高表示相对于成交量的价格波动越大。+# ============================================================"""qlib158 WVMA5: formula = \\mathrm{ts\\_std}(\\mathrm{ret}\\cdot v, 5) / \\mathrm{ts\\_mean}(|\\mathrm{ret}|\\cdot v, 5)."""from __future__ import annotationsdiff --git a/agent/src/factors/zoo/qlib158/wvma60.py b/agent/src/factors/zoo/qlib158/wvma60.pyindex 589a8d5ad..fa17bdede 100644--- a/agent/src/factors/zoo/qlib158/wvma60.py+++ b/agent/src/factors/zoo/qlib158/wvma60.py@@ -1,5 +1,10 @@# Adapted from microsoft/qlib@d5379c520f66a39953bad76234a7019a72796fd0:qlib/contrib/data/handler.py# (Apache-2.0). Copyright (c) Microsoft Corporation.+# ============================================================+# 中文名称: 成交量加权波动 60日+# 简要说明: ts_std(ret*v, 60) / ts_mean(|ret|*v, 60),成交量加权的价格波动归一化指标。+# 典型用途: 衡量成交量调整后的价格波动性,值越高表示相对于成交量的价格波动越大。+# ============================================================"""qlib158 WVMA60: formula = \\mathrm{ts\\_std}(\\mathrm{ret}\\cdot v, 60) / \\mathrm{ts\\_mean}(|\\mathrm{ret}|\\cdot v, 60)."""from __future__ import annotations