源文件:research/quant_digests/2026-04-10_0205_funding-extreme-bandfade-meanreversion-alpha.md
5m/15m portability probeextreme funding crowding × price stretch snapback(极端 funding 代表拥挤持仓,若同时出现价格带外伸展,更容易短线回归)这次主看 enuno (2026) 的 GitHub 仓库 hyperliquid-trading-firm 里 skills/AIcoin-CoinOS/aicoin-freqtrade/strategies/FundingRateStrategy.py。它不是把 funding 当“慢频 carry 收益”去拿,而是把 极端 funding 读成 拥挤持仓过热/过冷的 crowding proxy:当 funding 已经极端、价格又同时冲出 BB(20,2)、RSI(14) 也到极值,就去做一笔 反身性 fade。
源码给的是完整壳:1h 级别、可做多可做空、BB20/2 + RSI14 + funding_threshold=0.013(即约 1.3bps 的 funding 极值门槛),price < lower band & RSI<35 & funding<-thr 做多,反向条件做空;出场是回到 bb_mid 或 RSI 回到中性,另带 minimal_roi 与 -12% stoploss。高价值点不是它那张偏 swing 的 hyperopt ROI 表,而是:把 funding 从“收 carry”改读成“做 crowding fade 的 regime-aware raw alpha”。
funding 极端 + 价格带外伸展 比裸 BB+RSI 反转更像能活下来的 5m crowding-fade raw alpha。BB+RSI 基线 vs + funding extreme gate 的同壳对照。15m 六个 liquid majors(BTC/ETH/SOL/XRP/ADA/DOGE,近约 120d)里,裸 BB+RSI 壳约 1756 笔、gross 约 -8969bps;加 funding extreme gate 后只剩 155 笔、gross 转成约 +579bps,但粗扣每笔 8bps round-trip 后仍约 -661bps。结论:15m 上 gate 能去噪,但还不够让这条线稳过成本。5m(近约 90d)更像 fast lane:裸 BB+RSI 壳约 4072 笔、gross 约 +6619bps,但扣 8bps/笔后约 -25957bps;加 funding gate 后只剩 285 笔、gross 约 +4606bps,扣成本后约 +2326bps,平均约 +16.2bps/笔 gross。结论:对我们 desk,更像先上 5m,不要先上 15m。5m 正贡献主要集中在 ETH / ADA / DOGE:粗扣 8bps 后约分别剩 +1353 / +1076 / +720bps;BTC / XRP 仍偏弱,说明这条线更像 alt-perp crowding fade,不是全市场统一模板。0.7~1.0bps,比 repo 默认 1.3bps 更温和;也就是说 AiCoin 跨所加权 funding 可能比单所 funding 更极端、更有信号密度。当前 portability probe 是保守口径,不是满配复刻。这条线对 momentum 当前阶段有直接价值,因为它补的是 raw alpha 素材池里的“crowding-conditioned mean reversion”,而不是又一个泛 filter:
1m/3m/5m/15m 节奏:funding 是慢锚,BB/RSI/stretch 是快触发。base alpha = stretch fade,funding = crowding admission gate;这比直接抄一整套黑盒更利于后续复现与组合。极端 funding 下的价格过冲更容易短线回归BB(20,2) 带外 + RSI(14) 极值;后续可再加“只做 alt、排除 BTC/XRP”或“只做 funding 绝对值前 decile”bb_mid 或 RSI≈50 出场;先按 8bps round-trip 成本验活;若要实盘再加 funding 结算时点、持仓上限、单币 kill-switchBB+RSI 裸反转太容易被趋势碾;若只在 funding 极端时做,会把“普通回调”筛掉,留下“拥挤过冲后的 snapback”。stretch_long = close < BB20_lower and RSI14 < 35stretch_short = close > BB20_upper and RSI14 > 65funding_extreme_long = funding <= rolling_q05,funding_extreme_short = funding >= rolling_q95stretch ∩ funding_extreme 后下一根开盘SMA20 / bb_mid 或 RSI 回到 50,否则 12 根 bar time-stopBTC/ETH/SOL/XRP/ADA/DOGE,先跑 5m 近 90d,再跑 15m 近 120d;先用单 venue funding,后续再替换成跨所加权 funding。post-cost bps/trade(别只看 gross)trade_count retention(gate 把多少噪音交易砍掉)minimal_roi 很 swing,不建议原样搬到 short-cycle desk;当前更该复用的是 entry logic 与 mean-revert exit 逻辑。BTC / XRP 转移效果偏弱,说明这条线不该无脑全市场铺开,最好先做 alt-heavy universe 或按 symbol 分层阈值。https://github.com/enuno/hyperliquid-trading-firmhttps://raw.githubusercontent.com/enuno/hyperliquid-trading-firm/main/skills/AIcoin-CoinOS/aicoin-freqtrade/strategies/FundingRateStrategy.pyhttps://raw.githubusercontent.com/enuno/hyperliquid-trading-firm/main/skills/AIcoin-CoinOS/README.mdhttps://fapi.binance.com/fapi/v1/fundingRatehttps://fapi.binance.com/fapi/v1/klinesreports/artifacts/literature/funding_meanreversion_gate_portability_2026-04-10.csv