# panic dip btc bot

> A deterministic Python trading bot targeting panic dips and mean-reversion bounces for cbBTC/USDC.

panic dip btc bot is a paid AI agent skill on Agensi by SUBHAN ABQORI, in Trading & Investing. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $10 (one-time purchase)
- Creator: [SUBHAN ABQORI](https://www.agensi.io/creators/subhan-abqori)
- Category: [Trading & Investing](https://www.agensi.io/skills/trading-investing)
- Version: 1.0
- Last updated: 2026-11-18
- Security: scan passed (2026-11-18); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/panic-dip-btc-bot
- Tags: trading, python, algorithmic-trading, bitcoin, cbbtc, mean-reversion, bot

## About this skill

Trading 1-minute BTC bars often results in bleeding fees and slippage. This skill provides a deterministic Python bot that ignores market noise to target only high-probability panic dips and mean-reversion bounces on cbBTC/USDC.

### What it does
- **Detects panic dips** by identifying sharp 300 bps washouts below the 360-bar rolling average.
- **Identifies recovery bounces** when prices move 40 bps off local lows while remaining below long-term averages.
- **Enforces risk management** via hardcoded take-profit, stop-loss, and trailing-stop logic for every trade.
- **Prevents open-ended exposure** by implementing maximum hold times of 240 to 480 bars.
- **Prioritizes setups** by automatically closing smaller "Tier B" positions to capture "Tier A" panic events.

### How it works
1. Fetch live 1-minute cbBTC/USDC bars using your preferred market data tool.
2. Format the bars as newline-delimited JSON according to the included protocol shim.
3. Pipe the bars into `main.py` using a standard Python 3.13 process.
4. Review the JSON order output and execute the trade through your exchange agent.

### Frameworks & tools
Built with the Python 3.13 standard library. No external dependencies or packages are required. Designed for the cbBTC/USDC pair on 1-minute intervals.

### Why this beats prompting it yourself
Writing a trading bot via chat often leads to hallucinated logic or inconsistent state management. This bot is fully deterministic and uses a hardened protocol shim to ensure the same bar data always produces the exact same trade signal.

### Use cases
- Automating a mean-reversion strategy for Coinbase Wrapped BTC.
- Building a long-only trading agent that stays in cash during flat markets.
- Deploying a self-contained trading logic block that requires no network access.

### Known limitations
The bot is long-only and does not support shorting. It requires Python 3.13 and external market data fetching as it has no native network capabilities.

## Requires

- Python

## 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 panic dip btc bot 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

### How does this bot handle market volatility compared to a standard 'buy the dip' prompt?

This bot solves the issue of over-trading and fee erosion by ignoring market noise and only executing trades when it detects significant 300 bps washouts or specific mean-reversion recovery patterns.

### What exactly is included in the purchase of the 'panic dip btc bot' skill?

The skill includes the core 'main.py' deterministic logic, a protocol shim for data formatting, and documentation on how to pipe JSON bar data into the bot.

### Do I need to install any third-party Python libraries or APIs to run this?

No, the bot is designed with zero external dependencies and uses the Python 3.13 standard library; however, you will need an external tool or agent to fetch live cbBTC/USDC market data and execute the resulting orders.

### Can I use this bot to trade other cryptocurrencies or short the market?

This bot is long-only and specifically optimized for the cbBTC/USDC pair on 1-minute intervals; using it for other pairs or timeframes without modification may result in sub-optimal performance.

### Is this bot safe to run alongside my existing AI trading agent?

By design, the bot has no native network access to ensure security and determinism; it operates entirely through standard input/output (STDIN/STDOUT), making it compatible with any AI agent or system capable of running Python 3.13.

### What happens if a trade is entered but the price continues to drop?

The bot uses hardcoded risk management, including stop-losses and maximum hold times (up to 480 bars), to ensure positions are automatically closed even if a price recovery doesn't happen immediately.

---

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.
