Factor Research

因子研究

单因子 Spearman IC 与五分位分层。因子 shift(1) 后对未来收益,杜绝前视。

Ask one clear question of a factor

The study tests a historical relationship after hiding future data. It is research evidence, not a forecast.

Ready to study
  1. Read the same market history

    XAUUSD H1 · 2,000 bars

  2. Hide future data

    Shift the factor, then observe 1 future bar

  3. Measure historical link

    rsi · Spearman IC

  4. Compare five groups

    Read the layer spread, not one headline number

参数

结果

配置参数后点击运行

因子挖掘

把平台全部可复现因子一次性扫完,按 |IC| 排行。扫描 N 个因子再取最好本身就是数据挖掘,所以同时给出 Bonferroni 与 BH-FDR 校正后的显著个数——未过校正的名次只代表「在这段样本里好看」。

自定义因子

写一个跨品种因子表达式,立即做 IC / 分层 / 多空检验(AST 白名单,安全执行)。

可用变量: close · open · high · low · volume
可用函数: sma(x,n) · ema(x,n) · rsi(x,n) · momentum(x,n) · std(x,n) · rank_z(x,n) · abs(x) · log(x) · sqrt(x) · max(x,n) · min(x,n)
示例: momentum(close, 10) - sma(close, 20)/close · rsi(close, 14) - 50 · rank_z(close, 60)