源文件:research/quant_digests/2026-04-11_2010_stacked-orderflow-vote-shell.md
1m/3m K 线产生方向性漂移;delta divergence / absorption 更像 state-flip admission 与 exit,而不是 alpha 本体。看了 mefai-dev/mefai-autotrade 这个 2026 新仓库,重点不是它 README 里“20+ strategies”的大而全,而是其中 src/strategies/order_flow.py 已经把一条 可直接拆成 raw alpha + reversal admission/exit 的订单流策略壳 写得很清楚:CVD trend / delta divergence / absorption / recent bar delta / large-trade bias 五路打分,分数过线才开仓,仓位和止损则交给统一风险层。
divergence / absorption 更适合当反转 admission 与 exit,不该和主 alpha 混成一句“order flow 有效”。CVD trend 0.30、delta divergence 0.30、absorption 0.25、recent bar delta 0.20、large-trade bias 0.15;默认入场阈值 0.50,说明它本质上是 stacked vote,不是单一指标策略。risk_pct=1%、ATR stop=2x、TP=2R,并在持仓中用 cvd_reversal 与 exhaustion 做提前出场;这比很多只给 entry、不给 exit 的 repo 更接近可复现实验对象。1m K 线里的 taker-buy volume 做了一个很粗的 continuation core 代理快检(delta_ratio>0.3 & cvd_trend,最近 1000 根,BTC/ETH/SOL):合计 762 个信号,后 1m 平均仅 +0.26bps、后 3m 仅 +0.41bps,方向胜率分别 42.8% / 47.8%。这说明只拿最粗的 bar-level pressure continuation 单飞,并不够强。ETH 代理信号后 3m 平均 +2.31bps,但 BTC 只有 +0.03bps,SOL 反而 -0.15bps。所以这条线更像 asset-specific + tape-quality-sensitive 的快策略,不像一条一套参数全市场通吃的干净 alpha。当前 momentum 池里已经有不少 pairs / basis / cross-sectional / breakout 素材,但“如何把 microstructure raw alpha 写成可回测、可风控、可退出的完整壳” 这层还不够统一。这份 repo 的价值正好在这里:
divergence / absorption 放进反转 admission / exit,提醒我们别把所有订单流特征都塞进同一个方向假设里;1m/3m 快策略素材池。CVD trend + recent bar delta + large-trade bias -> next-few-bar driftdelta divergence、absorption、exhaustion;它们更像 reversal admission / early-exit,而不是主信号本体1% 风险仓位、2x ATR 止损、2R 止盈、cvd reversal / exhaustion 提前出;但真实成交成本、撮合延迟、逐笔分类精度仍需外接1m/3m crypto perp 上,真正可迁移的不是“某个 footprint 图形”,而是 净主动流同向推进是否能给出短窗 continuation;而 divergence / absorption 是否能把坏 continuation 挡掉或提前出清。delta_ratio > q、cvd > ma(cvd)、large_trade_buy > sell * k 做多;空头镜像CVD 不创新高,或高成交低位移(absorption)时,不追 continuation,改做减仓/退出/反向候选1m K 线自带 taker_buy_base_volume 做第一版;通过后再升级到 aggTrades / 逐笔成交重建真正 CVD 与 large-trade bias。next 1/3/5 bar expectancy (bps),再跑 0/2/4/6/8 bps friction ladder,最后看 BTC/ETH/SOL 分币与欧美时段分层。continuation core 与 reversal/exit helpersCVD trend + bar delta,再逐项加入 large_trade_bias、divergence、absorption1m 进场、3m/5m 出场做 horizon sweep,检查 edge 是秒级、分钟级还是已经衰减ETH 类出现,就别把它包装成 market-wide alphafootprint 在无逐笔数据时回退成 由蜡烛结构估算买卖量,这对真实 order flow 研究是明显降级;不能把回测结果当成 tape-level 证据。CVD trend 在源码里用的是相对 MA 的简单阈值判断,不是更稳定的 event-time / volume-time 标准化版本,容易受币种活跃度影响。https://github.com/mefai-dev/mefai-autotradehttps://github.com/mefai-dev/mefai-autotrade/blob/master/README.mdhttps://github.com/mefai-dev/mefai-autotrade/blob/master/src/strategies/order_flow.pyhttps://github.com/mefai-dev/mefai-autotrade/blob/master/src/strategies/base.py2026-03-25, pushed 2026-04-081m klines(字段含 taker buy base volume),BTCUSDT/ETHUSDT/SOLUSDT 最近 1000 根,用于 continuation core 粗代理,不代表完整 order-flow 还原