bb-scalper
BB 双向套利策略:加密合约 10x 杠杆布林带均值回归。布林带收窄=横盘→在下轨买、上轨卖;三重过滤器(1h趋势/RSI/BB甜区)确认碗平放,轨对轨止盈(RR 2:1~4:1)。含实时WebSocket模拟盘(paper)、历史回测(simulate/backtest_daily)、币安永续实盘CLI(trade…
Skill by aAAaqwq
Chalk Labs
Need help deploying bb-scalper?
Chalk Labs sets up agents like this inside real teams: connected to your tools, tested on your data, with a human in the loop where it matters.
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/aaaaqwq-bb-scalper
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: research, finance
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
- Runs as
- Python package
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/bb-scalper
What's inside
- Skill name
bb-scalper- Description
- BB 双向套利策略:加密合约 10x 杠杆布林带均值回归。布林带收窄=横盘→在下轨买、上轨卖;三重过滤器(1h趋势/RSI/BB甜区)确认碗平放,轨对轨止盈(RR 2:1~4:1)。含实时WebSocket模拟盘(paper)、历史回测(simulate/backtest_daily)、币安永续实盘CLI(trade_exec)。触发:'bb套利'、'布林带'、'bollinger'、'横盘策略'、'NEAR'、'回测'、'模拟盘'、'paper trading'。
- License
- MIT
- Instructions
- 304 lines in SKILL.md · view on GitHub
Before installing
- Ships executable scripts
Files (25)
- SKILL.md
- __init__.py · cli/
- backtest_daily.py · cli/
- kline_fetch.py · cli/
- paper.py · cli/
- paper_testnet.py · cli/
- simulate.py · cli/
- test_trade_exec.py · cli/
- testnet_exec.py · cli/
- trade_exec.py · cli/
- trade_log.py · cli/
- config.yaml
- __init__.py · core/
- binance_client.py · core/
- filters.py · core/
- logger.py · core/
- strategy.py · core/
- test_binance_client.py · core/
- backtest-records.md · docs/
- paper-reviews.md · docs/
- paper-trading-record.md · docs/
- telegram-push-report.md · docs/
- bb_report.py · scripts/
- fix_testnet_exit_prices.py · scripts/
- telegram_push.py · scripts/
SKILL.md (first lines)
# 🎯 BB 双向套利策略 — 完整策略文档
> **版本**: v2.0 三重过滤 | **更新**: 2026-08-11
> **定位**: 加密合约 10x 杠杆双向套利 Skill
> **适配币种**: USDT 永续合约(主流优先)
---
## 零、一句话说清楚
> **布林带收窄 = 横盘震荡 → 在下轨买、上轨卖;在上轨卖、下轨买。
> 不赌方向,只吃区间振荡的统计优势。**
---
## 一、策略直觉:硬币在碗里滚
想象一个碗——左边是下轨、右边是上轨。硬币在里面滚来滚去:
```
上轨 ═══════════ 🔴 做空入场 ────
│ │
│ 价格在碗里来回弹 │
│ │
下轨 ═══════════ 🟢 做多入场 ─────
```
**做多逻辑**:硬币滚到碗左边(%B < 0.15)→ 大概率弹回去 → 买入,等它滚到右边再卖
**做空逻辑**:硬币滚到碗右边(%B > 0.85)→ 大概率弹回去 → 卖出,等它滚到左边再买
但市场的碗会变形——有时变窄(没空间赚)、有时倾斜(趋势中不能做)。所以需要**三重过滤器**确认碗是稳定平的。
---
## 二、核心数学:为什么「轨对轨」是唯一解
### ❌ 错误方案:止盈放中轨(我们踩的第一个坑)
```
做多: 入场=下轨 → 止盈=中轨 → 收益=1σ
止损=下轨下面 → 风险=1σ + 缓冲
RR = 1σ / (1σ + 0.15%) < 1 ← 永远亏多赚少!
```
**扫了 20 个币,15 个在震荡,RR 没一个超过 1.1。** 数学死结,不是参数问题。
### ✅ 正确方案:轨对轨(解法一)
```
做多: 入场=下轨 → 止盈=上轨 → 收益=2σ
止损=下轨外 0.15% → 风险 ≈ 1σ + 0.15%
RR = 2σ / (1σ + 0.15%) ≈ 2:1 到 4:1 ✅
```
**一句话**:止盈必须放到对侧轨道——吃整个区间,而不是只吃到中轨。
---
## 三、三重过滤器(v2.0 核心)
### 🔴 过滤器一:趋势过滤
**检查**:1h K 线的布林带中轨斜率
```
做多: 1h 中轨不能明显下行(斜率 > -0.06%)
做空: 1h 中轨不能明显上行(斜率 < +0.06%)
斜率 < 0.03% = 走平 ✅ 最优
斜率 0.03%-0.06% = 弱趋势,顺方向可以做
斜率 > 0.06% = 明确趋势,禁止逆势
```
**为什么**:碗底在下陷 → 硬币碰到底不会弹 → 假突破扫止损。趋势过滤就是确认碗是平放的。
**实际效果**:刚才扫码,ETH/SOL/BTC/INJ 四个币做空信号全被「1h 中轨上行」拦下——这些恰好是 v1.0 里连续止损 6-8 根的元凶。
---
### 🟡 过滤器二:RSI 确认
**检查**:价格是否已经超买/超卖
```
做多: RSI < 55 才做(不在高位接盘)
RSI 30-45 加分(超卖反弹概率大)
做空: RSI > 45 才做(不在低位砸盘)
RSI 55-70 加分(超买回落概率大)
```
**直觉**:下轨 + RSI 70 = 趋势刚启动、还会继续跌,买就是接飞刀。
---
### 🟢 过滤器三:BB 甜区
**检查**:布林带宽度是否合适
```
< 0.8%: 太窄 → 10x 利润不够覆盖滑点+手续费 → 跳过
0.8-2.5%: 甜区 → 可以做
> 2.5%: 太宽 → 不是真横盘,是波动行情 → 跳过
```
**各币宽度速查**:
| 宽度 | 币种例子 | 判断 |
|------|---------|------|
| 0.71% | XRP | ❌ 太窄 |
| 0.87% | BTC | ⚠️ 刚够线 |
| 0.88% | AVAX | ✅ 甜区 |
| 1.13% | NEAR | ✅ 甜区中心 |
| 2.75% | ATOM | ❌ 太宽 |
| 47.5% | TUT | ❌ 崩溃行情 |
---From aAAaqwq/AGI-Super-Team, MIT.
More from aAAaqwq/AGI-Super-Team
- 0.734score
aigc-director
Lychee
AI 视频生成全流程:通过 6 个阶段(剧本→角色/场景设计→分镜→参考图→视频生成→后期剪辑)将用户想法转化为完整视频。支持临时工作台(单独调用 LLM、VLM、文生图、图生图、视频生成)。触发词:视频生成、AI视频、AIGC、创作视频、制作视频、AI画图。
SkillBFreshness: B★ 111Claude Code +9 - 0.734score
code-material-gen
CCO Ives
代码生成配图素材。用 HTML/CSS + Playwright 渲染高质量中文配图。 不依赖任何AI图片API,100%代码生成,字体可控、像素精确、零成本。 Trigger: "代码生成素材", "配图生成", "素材生成", "code material", "render material".
SkillBFreshness: B★ 111Claude Code +9 - 0.729score
bazi-fortune
eamanc
八字四柱命理分析工具,属于 fortune-telling-skills 运势测算套件。基于子平真诠体系, 通过出生年月日时推算四柱八字、十神关系、五行旺衰、大运流年,揭示命局格局和人生走向。 排盘为确定性计算 + LLM 综合解读,无外部 API 依赖。…
SkillBFreshness: B★ 111Claude Code +9 - 0.728score
architecture-decision
jwynia
Evaluate architecture options, document trade-offs, and write decision records.
SkillBFreshness: B★ 111Claude Code +9 - 0.721score
daily-gzh-content
CCO Ives
公众号每日内容生产:选题→创作→素材生成→质量检查→保存→发布草稿
SkillBFreshness: B★ 111Claude Code +9 - 0.720score
douyin-publisher
Daniel Li
抖音图文/视频发布(OpenClaw Browser 自动化):登录检测→内容校验→上传页导航→填标题/正文→上传封面+素材→暂存离开。
SkillBFreshness: B★ 111Claude Code +9 - 0.694score
content-creator
Alireza Rezvani
Create SEO-optimized marketing content with consistent brand voice.
SkillBFreshness: B★ 111Claude Code +9 - 0.583score
daniel-auto-publish
aAAaqwq
通过用户自有的真实浏览器和 Computer Use,安全辅助抖音、小红书、快手、微信视频号、哔哩哔哩、YouTube、TikTok 与百家号的视频、图文或公众号文章发布。用于选择图文排版模板、生成并预览图片卡片或微信…
SkillAFreshness: A★ 111Claude Code +9 - 0.583score
binance-square
aAAaqwq
币安广场合约投机雷达 v5:以最近24小时专业交易帖为主要证据,回源核验帖子, 联合币安公共合约行情、4周期K线、布林带、ATR、量能和RR,生成可审计的本地影子报告。 触发词:币安广场、扫描币安、binance square、合约机会、交易信号雷达、4小时雷达
SkillAFreshness: A★ 111Claude Code +9 - 0.583score
5minbtc
aAAaqwq
BTC 5分钟K线实时方向预测 + 币安预测市场错价套利(paper)。v6.0 真OFI驱动: 方向由当前K线原生 in-candle OFI 净流一票决定(ofi_n=2*(tb/v)-1, REST klines[9] 聚合, 零WS依赖; WS ofi.json 做新鲜度反转保护与交叉校准)…
SkillAFreshness: A★ 111Claude Code +9 - 0.580score
daniel-writer
aAAaqwq
Daniel 的统一创作入口:按品牌、证据、声音和人机分工合同,完成选题、母故事、项目内容工作包、微信公众号、X、小红书、B站、知乎、抖音的起草改写与平台适配,并生成获批短视频脚本的本地制作交接和技术候选。适用于 AI、Agent、工具实测、教程、失败复盘、创作反思、图文卡片、口播分镜与跨平台内容生产。正式…
SkillAFreshness: A★ 111Claude Code +9 - 0.579score
daniel-self-media-top-mindset
aAAaqwq
将 Daniel 的利他、真实藏露、情绪纪律、需求聚焦与商业闭环心法应用到自媒体决策。凡涉及 Daniel 个人 IP 的定位、选题、写稿、脚本、封面、跨平台改编、发布规划、增长、变现或复盘时必须先使用;不用于保证爆款、虚构经历、泄露隐私或自动发布。
SkillAFreshness: A★ 111Claude Code +9
Signals
- Stars
- 111
- Forks
- 25
- Open issues
- 1
- Last commit (this folder)
- Aug 14, 2026 (2 months ago)
- Last release
- Sep 20, 2026 (1 month ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/aAAaqwq/AGI-Super-Team
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
Done for you
Rather not set it up yourself?
Chalk Labs scopes, builds and runs agents for your team: the task audit, the eval harness, the integrations and the weekly ops report. Fixed scope, priced before we start.
See how we build AI agents →Read the case studies
Chalk Labs is a two-founder AI and growth studio. We build AI agents, CRMs and MVPs for Web3 and AI companies, and have shipped 50+ product and token launches.
- launches shipped
- 50+
- launches shipped
- media placements
- 500+
- media placements
- founders on every account
- 2
- founders on every account
Press we've placed: Forbes · CoinDesk · Decrypt · Cointelegraph · The Block
Rahil Jain, Co-founder, Chalk Labs. Ex-Goldman Sachs engineer. You talk to the person who builds it.
Get bb-scalper running in your business
Tell us what you want to automate. A founder replies within one working day with a plan, not a pitch deck.
Cite this page
bb-scalper skill. Agent Mart. https://agentmart.dev/skills/aaaaqwq-bb-scalper (last updated 2026-10-24)