# cbBTC SMA-90 Mean-Reversion Trader

> 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.

cbBTC SMA-90 Mean-Reversion Trader is a paid AI agent skill on Agensi by Lahh Anjenk, in Trading & Investing. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $19 (one-time purchase)
- Creator: [Lahh Anjenk](https://www.agensi.io/creators/nindafahila)
- Category: [Trading & Investing](https://www.agensi.io/skills/trading-investing)
- Version: 1.0
- Last updated: 2026-11-20
- Security: scan passed (2026-11-20); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/cbbtc-sma-90-mean-reversion-trader
- Tags: trading, finance, web3

## 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
- Coinbase public API (no key needed)

## Known limitations

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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the cbBTC SMA-90 Mean-Reversion Trader skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What specific problem does this skill solve for crypto traders?

This skill provides a high-fidelity TypeScript environment for testing cbBTC strategies. It solves common backtesting pitfalls like floating-point errors and unrealistic fill modeling by using integer-exact math and fee-aware simulations.

### What exactly is included in the purchase?

The package includes the core strategy logic, a live paper-trading runner, historical datasets in ndjson format, and replay scripts to verify the documented +$14.36 net return baseline.

### Is this skill compatible with existing AI agent frameworks?

This skill is a standalone TypeScript project designed for Node.js 22+. While it is not a 'plugin' for a specific bot, its modular core is built to be easily integrated into any TypeScript-based AI agent or custom trading framework.

### Can I use this skill to automatically execute live trades on Coinbase?

No, the live runner is for paper-trading only and does not include wallet connectivity or order execution. It is designed for signal validation and strategy tuning before you move to a production execution environment.

### Why does the live paper-trading script use BTC-USD data instead of cbBTC?

The live runner uses BTC-USD spot data as a proxy to generate signals for cbBTC. This allows for higher liquidity tracking while applying the specific fee and slippage models relevant to cbBTC pools.

### How difficult is it to customize the strategy parameters?

You can easily adjust the SMA period and entry bands by modifying the parameters in the core script. Once changed, you can immediately re-run the provided replay scripts to see how your changes would have affected past performance.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
