- Home
- Skills
- Trading & Investing
- cbBTC SMA-90 Mean-Reversion Trader
cbBTC SMA-90 Mean-Reversion Trader
by Lahh Anjenk
A mean-reversion trading skill for cbBTC: buys dips 0.8% below the 90-minute SMA, exits on a two-leg rule, with a -0.8% stop. Paper trading only.
$19
cbBTC SMA-90 Mean-Reversion Trader
Example session with this skill installed
Run the backtest replay on the provided cbBTC dev bars and tell me the final equity and total trade count.
- Read your context and instructions
- Compiled the cbbtc sma-90 mean-reversion
I have executed the strategy replay using the scripts/replay.ts tool against the reference/dev-bars-cbbtc.ndjson.gz dataset. The simulation used exact integer arithmetic for the SMA-90 calculations and included the full fee, slippage, and pool-impact model.
Replay Result: cbBTC Dev Window
| Metric | Value |
|---|---|
| Status | REPLAY MATCH |
| Starting Equity | $1,000.00 |
| Final Equity | $1,014.36 |
| Net PnL | +$14.36 |
| Total Trades | 2 |
| Max Drawdown | 0.70% |
| Win Rate | 100% |
| Fee Impact | -26 bps per round trip |
The strategy triggered a buy at bar 412 when the price dropped 82 bps below the SMA-90. The exit was armed at bar 450 and closed at bar 488 on a fade back to the SMA. A second successful scalp occurred during the mid-session volatility spike.
Next steps
- Run
node scripts/third-window.tsto see how these parameters hold up on a choppy BTC-USD downtrend. - Modify
buyBandBpsinscripts/strategy-core.tsto 100 to see if a wider entry improves the drawdown. - Execute the live paper runner using
node scripts/paper.ts --minutes 60to observe current market signals.
Connects securely to your tools. The creator never sees your data.
About this skill
A mean-reversion trading skill for cbBTC: buys dips 0.8% below the 90-minute SMA, exits on a two-leg rule (cap +1.5% or fade back to the SMA), with a -0.8% stop. Backtested +$14.36 on a 24h dev window (2 trades). Paper trading only — no real orders, no guaranteed returns, not financial advice.
Requires Node.js 22+. Live runner uses BTC-USD spot as a proxy for cbBTC. Does not support order execution, API keys, or wallet connectivity.
How to use
- 1
Connect your agent to the Agensi MCP
Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup
- 2
Sign in to Agensi
Your agent shows a sign-in link. Sign in and click Allow.
- 3
Ask for what you need
Your agent loads this skill and uses it on your task. It always asks before buying a skill.
Reviews
No reviews yet
Be one of the first to try it. Every listed skill goes through the trust checks below.
Security scanned
Checked by our 8-point scan before listing
Fresh listing
Recently published to Agensi
Money-back guarantee
Doesn't do what its page promises? You get your money back.
Trust & safety
Security scan
Security scan passed 15 days ago
- Software
Node.jsCoinbase public API (no key needed)
Permissions
What's inside
Frequently Asked Questions
New in Trading & Investing
Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Trading & Investing.