← 返回 Quant Digests · 站点首页

别把这份 2026 Kraken bot 只读成多指标堆叠:对 short-cycle desk,更该先测的是「HTF EMA gate × 15m RSI pullback continuation」

更新时间:2026-04-08 04:06 UTC 研究时间:2026-04-08 04:05 UTC 类型:GitHub / source audit 主题标签:trend / momentum / pullback / multi-timeframe / EMA / RSI / ATR / execution / risk 证据类型:工程经验 / 源码证据

源文件:research/quant_digests/2026-04-08_0405_htf-ema-rsi-pullback-trend-shell.md

1. 这次看了什么

这次主看一个刚更新的 repo:Boschkoo (2026), _Kraken Trading Bot_。我没把它当“又一个 EMA+RSI 教学 bot”,而是直接按 desk 语言拆:base alpha 不是 MACD、也不是 Fear & Greed,而是“1h/4h 已经向上时,15m 出现轻微回踩但短均线结构未坏,随后继续顺势”。源码里这条线已经被写成完整交易壳:15m 扫描、1h+4h 趋势门控、入场过滤、ATR 定仓、止损止盈、break-even、trailing、全局熔断,一条链是闭合的。

2. 核心结论

3. 为什么和当前项目有关

这条线和我们现在最匹配的,不是“指标新颖”,而是它直接补一个可落地的完整趋势壳

3.5 策略拆解(必填)

4. 可复刻的最小实验

研究假设: 在 crypto 短周期里,真正值钱的不是追突破,而是 高周期已顺风时,低周期的小回踩恢复

最小定义:

  1. 标的:BTC/ETH/SOL/BNB 四个高流动 perp;
  2. 周期:主实验 15m,附加一个更快版 5m entry + 1h gate
  3. gate:1h close > EMA200
  4. entry:15m EMA9 > EMA21,且 RSI(14) 落在 40~65,同时 close < BB mid
  5. 可选确认:MACD line > signal
  6. 出场:SL=2 ATRTP=3 ATR,或先测一个更简单的 time stop = 12 bars
  7. 成本:先打 8~10 bps round-trip,再看是否还能活。

先看两件事:

5. 风险与保留意见

6. 来源

  1. Boschkoo. (2026). _Kraken Trading Bot_. GitHub repository.
  2. Repo URL: https://github.com/Boschkoo/kraken-bot

  3. 核心源码: KrakenBot.py
  4. Raw URL: https://raw.githubusercontent.com/Boschkoo/kraken-bot/main/KrakenBot.py

  5. 配置样例: .env.example
  6. Raw URL: https://raw.githubusercontent.com/Boschkoo/kraken-bot/main/.env.example