Three Arm Cbbtc Trading Bot

    by OSO-161

    1

    A long-only, three-arm cbBTC/USDC trading bot in TypeScript (Node 22, standard library only) that trades 1-minute on-chain bars: catches washouts, buys pullbacks in uptrends, and trades grind-down days.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    three-arm-cbbtc-trading-bot

    Example session with this skill installed

    Show me the implementation of the FALL arm washout logic and the exit parameters used for deep sell-offs.

    • Read your context and instructions
    • Compiled the three-arm-cbbtc-trading-bot

    The FALL arm is designed to catch deep washouts by waiting for a price floor to form. It triggers when the close is at least 280 bps below the 240-bar high and has recovered at least 60 bps from the 15-bar low.

    FALL Arm Implementation

    // Washout (FALL) Arm Logic
    if (isFlat && close <= high240 - 280 && close >= low15 + 60) {
      const entryPrice = close;
      const takeProfit = entryPrice + 400; // +400 bps
      const stopLoss = entryPrice - 150;    // -150 bps
      const trailingStop = 150;            // 150 bps trail
      const maxHoldBars = 360;             // 6 hour timeout
      
      return {
        action: 'BUY',
        arm: 'FALL',
        size: 'FULL',
        params: { takeProfit, stopLoss, trailingStop, maxHoldBars }
      };
    }
    

    Next steps

    1. Verify the high240 and low15 rolling window calculations in the updateWindows function.
    2. Adjust the 280 bps threshold if targeting lower volatility pairs than cbBTC.
    3. Run a local simulation using the provided 2026-11-15 sample data to confirm trigger timing.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    A long-only, three-arm cbBTC/USDC trading bot in TypeScript (Node 22, standard library only) that trades 1-minute on-chain bars: it catches deep washouts, buys shallow pullbacks inside confirmed uptrends, and keeps trading on grind-down days with a small bounce-free arm. Deterministic integer-math decisions, no clock, no environment, no randomness. Built for a 24-hour live-trading race on make.fun.

    Requires Node 22. Long-only strategy. Designed for 1-minute bars. No built-in exchange auth; requires wiring to a bar feed or the make.fun harness.

    How to use

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

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 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 9 days ago

    Permissions

    Terminal / Shell
    Read Files
    Listed9 days ago

    What's inside

    Creator

    OSO-161

    OSO-161

    Frequently Asked Questions

    This skill solves the 'idle bot' problem by using three distinct logic arms—Washout, Grind, and Uptrend—ensuring the bot remains active during slow markets while protecting capital during flash sell-offs.

    The skill is written in TypeScript for Node 22 and is designed to be framework-agnostic; it integrates with any AI agent or system that can stream 1-minute bars via JSON line wire protocol.

    You receive the complete TypeScript source code, a pre-configured `main.ts` entry point, and a vendored SDK shim for the `bars-replay/v1` protocol for immediate backtesting.

    Unlike LLM-generated code that may use unstable floating-point math, this skill uses integer-basis-point math to ensure that backtest results are byte-identical to live execution.

    While optimized for cbBTC/USDC, the core logic is portable; you can adapt it to other pairs by swapping the exchange shim in the `vendor/` directory and adjusting the basis-point triggers.

    The bot requires a stable 1-minute bar feed (provided via stdin) and a Node 22 environment; it is long-only and does not support shorting or leveraged positions.

    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.