BTC
ETH
SOL
BNB
XRP

Factor library

15 crypto research factors. Compose them into strategies in the AI builder.

Price · 价格

7 factors
Momentum 1-bar
动量 1d
momentum_1d

Percentage price change over the last 1 bars.

过去 1 根 K 线的价格涨跌幅。

Formulaclose[t] / close[t-N] - 1
Paramslookback=1
Momentum 7-bar
动量 7d
momentum_7d

Percentage price change over the last 7 bars.

过去 7 根 K 线的价格涨跌幅。

Formulaclose[t] / close[t-N] - 1
Paramslookback=7
Momentum 30-bar
动量 30d
momentum_30d

Percentage price change over the last 30 bars.

过去 30 根 K 线的价格涨跌幅。

Formulaclose[t] / close[t-N] - 1
Paramslookback=30
Momentum 90-bar
动量 90d
momentum_90d

Percentage price change over the last 90 bars.

过去 90 根 K 线的价格涨跌幅。

Formulaclose[t] / close[t-N] - 1
Paramslookback=90
Volatility breakout
波动突破
volatility_breakout

Distance of price above its Bollinger upper band in band-units. >1 means a breakout above mean + k·σ.

价格相对布林上轨的距离(以带宽为单位),>1 表示突破上轨。

Formula(close - SMA(period)) / (k * STD(period))
Paramsperiod=20 · k=2
Mean reversion (z-score)
均值回归
mean_reversion

Z-score of price vs its rolling mean. Strongly negative = oversold (reversion-up candidate).

价格相对滚动均值的 Z 分数,极负=超卖(潜在反弹)。

Formula(close - SMA(lookback)) / STD(lookback)
Paramslookback=20
RSI divergence
RSI 背离
rsi_divergence

Gap between RSI momentum and price momentum over a window. Strongly negative = bearish divergence (price up, RSI down).

窗口内 RSI 动量与价格动量之差,极负=顶背离(价涨 RSI 跌)。

FormulaΔRSI(window) - 100 * pctChange(close, window)
ParamsrsiPeriod=14 · window=14

Derivative · 衍生品

8 factors
Funding rate z-score
资金费率 Z 分数
funding_rate_zscore

Z-score of the perp funding rate over a lookback. Extreme +z = crowded longs (fade candidate).

永续资金费率的滚动 Z 分数,极正=多头拥挤(反向候选)。

Formula(funding[t] - mean) / std over lookback
Paramslookback=168
InputsfundingRates
Funding rate 7d mean
资金费率 7 日均值
funding_rate_7d_mean

Rolling mean of the funding rate over the lookback (default ≈ 7 days of 1h bars).

资金费率在回看窗口内的滚动均值(默认约 7 天)。

Formulamean(funding) over lookback
Paramslookback=168
InputsfundingRates
Basis spread (perp vs spot)
基差(永续 vs 现货)
basis_spread

Perp premium/discount to spot: positive = perp rich (contango), negative = backwardation.

永续相对现货的溢价:正=升水,负=贴水。

Formula(perpClose - spotClose) / spotClose
InputsspotCandles
Open interest change
持仓量变化
open_interest_change

Percentage change in open interest. Rising OI + rising price = trend conviction.

未平仓合约的变化率;OI 与价格同涨=趋势确认。

FormulaOI[t] / OI[t-lag] - 1
Paramslookback=1
InputsopenInterest
Long/short account ratio
多空账户比
long_short_ratio

Top-trader long/short account ratio. >1 = net long crowd; useful as a contrarian gauge at extremes.

大户多空账户比,>1=偏多;极值可作反向参考。

FormulalongAccounts / shortAccounts
InputslongShortRatio
Taker buy/sell ratio
主动买卖比
taker_buy_sell_ratio

Ratio of taker buy volume to taker sell volume. >1 = aggressive buying pressure.

主动买入量 / 主动卖出量,>1=买盘主动。

FormulatakerBuyVol / takerSellVol
InputstakerBuySellRatio
Liquidation cluster (proxy)
爆仓簇(代理)
liquidation_cluster

Proxy for forced-liquidation intensity: z-score of (bar range × volume). High = a volume-heavy violent move (cluster). Uses OHLCV when a live liquidation feed is unavailable.

爆仓强度代理:(振幅×成交量)的 Z 分数,高=放量剧烈波动(爆仓簇)。无实时爆仓流时用 OHLCV 近似。

Formulazscore( (high-low)/close * volume , lookback )
Paramslookback=30
Basis term structure (proxy)
基差期限结构(代理)
basis_term_structure

Funding-implied annualized carry as a term-structure proxy: positive = contango carry. Approximates the curve when dated futures aren't loaded.

用资金费率年化的持有成本作为期限结构代理,正=升水套利。无季度合约时近似曲线。

Formulafunding[t] * 3 * 365 (8h funding → annualized)
InputsfundingRates

Factors are research signals — they describe market structure (e.g. funding pressure, mean-reversion conditions). They are not investment advice and never constitute buy/sell recommendations.