BTC Trading Bot with Backtest and Paper Mode

    by Okikiola Wilson

    1

    Python BTC bot (SMA crossover + stop-loss) with backtesting, paper trading and a guarded live mode, using ccxt.

    $30

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    About this skill

    A ready-to-run single-file Python bot that trades BTC with a moving-average crossover strategy and a stop-loss, built on the ccxt library so it works with Kraken, Coinbase, Binance US and many other exchanges.

    What you get

    • Three modes: backtest on history or your own CSV, paper trading with fake money on live prices (the default), and live trading that refuses to start without an explicit confirmation flag
    • Backtest report: bot result vs buy-and-hold, trade count and max drawdown
    • Stop-loss that stays active even after a restart while holding BTC
    • Separate state files for paper and live, so they never mix
    • A guided workflow: backtest first, paper trade for weeks, go live only with a small amount you can afford to lose
    • Safety rules for the AI agent: it never runs live mode itself, never asks for API keys in chat, and recommends trade-only, withdrawal-disabled exchange keys

    Customize it Change the exchange, trading pair, candle timeframe, moving-average lengths, stop-loss percentage, position size and fee in one config block.

    Important This is not financial advice. A simple strategy like this can and often does lose money, including underperforming buy-and-hold. Nothing here promises profit.

    Long-only, one position at a time, market orders only. Stop-loss is checked by polling, not placed on the exchange, and is inactive when the script is not running. Backtests are optimistic (no slippage, stops fill at the exact price). Live mode does not confirm fills or enforce minimum order sizes. Not financial advice.

    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 5 days ago

    Accounts
    KrakenCoinbaseBinanceExchange account (live mode only)Exchange API key (live mode only)
    Software
    Python 3.9+ccxt (pip install ccxt)

    Permissions

    Terminal / Shell
    Read Files
    Write Files
    Network Access
    Environment Variables

    Allowed Hosts

    api.kraken.com
    api.exchange.coinbase.com
    api.binance.us

    File Scopes

    bot_state_paper.json
    bot_state_live.json
    optional
    backtest
    CSV
    file

    Uses ccxt to reach the exchange set in the config (Kraken by default; other exchanges contact their own hosts). Live mode reads EXCHANGE_API_KEY and EXCHANGE_API_SECRET from environment variables and places real market orders, only when run with the --yes flag. Paper and backtest modes need no keys.

    Listed5 days ago

    What's inside

    Frequently Asked Questions

    Python BTC bot (SMA crossover + stop-loss) with backtesting, paper trading and a guarded live mode, using ccxt.

    This skill uses the open SKILL.md standard. Use it through an MCP-compatible agent connected to Agensi, and check the compatibility information on this page for confirmed agents and required capabilities.

    Connect your AI agent to Agensi through MCP, then ask it to use BTC Trading Bot with Backtest and Paper Mode on your task. Your agent loads the latest approved version each time. Paid skills require a purchase or active subscription. Skill files are not available for download; your licence does not allow you to save, copy or export any part of a skill.

    New in Workflow Automation

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Workflow Automation.