Works with the AI Agents you already use

    DipSniper

    by Lawoley

    1

    A deterministic Node.js dip-buying strategy for cbBTC with built-in risk controls and 1-minute bar processing.

    $10

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    DipSniper

    DipSniper

    Example session with this skill installed

    Run the cbBTC strategy on the provided 1-minute bar data and output the trade intents.

    • Read your context and instructions
    • Compiled the dipsniper

    The strategy processed the bar data. It identified a 1.6% drop from the 240-bar high and generated a buy intent, followed by a take-profit exit intent.

    Trade Intent Log

    SeqEvent TypePriceDetails
    245SIGNAL64200.50Drop of 1.62% from peak (65260.00). Entering position.
    245ORDERBUYAction: BUY, Quantity: FULL_EQUITY
    310SIGNAL65484.51Take-profit reached (+2.0%).
    310ORDERSELLAction: SELL, Quantity: FULL_EQUITY
    311STATUSCOOLDOWNEntering 60-bar cooldown period.

    Strategy Configuration (main.ts)

    // Core Parameters
    const E_DROP = 0.016;     // 1.6% drop to trigger buy
    const TP = 0.02;         // 2.0% Take Profit
    const SL = 0.012;        // 1.2% Stop Loss
    const MAX_HOLD = 360;    // Max bars to hold
    const COOLDOWN = 60;     // Post-trade rest period
    const BREAKER = 0.02;    // 2% Equity circuit breaker
    

    Next steps

    • Pipe your historical CSV or JSON bar data into node main.ts to verify the backtest.
    • Adjust TP and SL constants in the source to match your target asset's volatility.
    • Implement an API wrapper to map the BUY/SELL intents to your exchange's order library.

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

    About this skill

    DipSniper

    A deterministic Node.js dip-buying strategy for 1-minute bars, sold as a strategy template and starting scaffold for your own agent or backtesting setup. It was built for a live 24-hour cbBTC trading race, then re-tuned and re-tested across BTC, ETH, SOL and BNB.

    What it does: it watches 1-minute closes and enters at full equity only when the close is at least 5.5% below the trailing 240-bar high and the fall has stabilised. It exits at a +2.0% take-profit, a −1.2% stop-loss, or after a 360-bar maximum hold. A 180-bar cooldown follows every exit, and an equity circuit breaker stops trading for the rest of the window if equity falls 2% from its peak. It trades rarely by design: 61 trades in total across all windows tested.

    Backtest record, stated plainly (1,000 USDC per asset, 0.1% fee per side, fills at the next bar's open, no slippage modelled): September to November 2026, +0.52% in aggregate across the four assets (17 trades), while buy-and-hold lost 19% to 31% per asset. May to July 2026, a second window it was not tuned on: +1.32% (10 trades). October to December 2024, a rising market: −0.27% (34 trades), while buy-and-hold gained 24% to 48% per asset. The earlier parameter version finished its one live 24-hour race at −19.00 USDC (rank 2,301 of 3,661) after +26.02 USDC in its graded test window.

    The limits, plainly: this strategy preserves capital in falling markets and earns roughly nothing in rising ones. The trade count is still small, one trade flips the September to November result, and sideways markets are untested. This is not a proven money-making system and no returns are promised. Its value is a clean, tested, deterministic implementation with strict risk controls, ready to backtest, tune and build on.

    Requirements: Node.js 22 or newer. Licence: MIT.

    Requires Node.js 22. No built-in exchange API integrations. Logic is optimized for 1-minute intervals. Strategy assumes full equity positions.

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

    Software
    Node.js

    Permissions

    Terminal / Shell
    Listed12 days ago

    What's inside

    Frequently Asked Questions

    This skill provides a deterministic, state-based dip-buying strategy for cbBTC, solving common LLM issues like 'logic drift,' hallucinated calculations, and loss of state over long trading windows.

    The skill is built for Node.js 22+ and follows the `bars-replay/v1` protocol, making it compatible with any agentic framework or backtesting engine that supports stdin/stdout JSON piping.

    While optimized for cbBTC on 1-minute bars, you can easily adapt the strategy for other assets by adjusting the TypeScript constants for Take-Profit, Stop-Loss, and Entry Drop percentages.

    You receive the complete TypeScript source code, a configuration guide for risk parameters, and documentation on the stdin/stdout integration schema.

    No, this skill is a strategy engine; you must wrap it in a connector that translates its JSON output intents into actual API calls for your preferred exchange (e.g., Coinbase or Kraken).

    The code includes built-in safety features like a 60-bar post-trade cooldown and a 2% peak-to-trough equity circuit breaker to prevent catastrophic losses during high volatility.

    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.