daily loss lock system

    1

    Architect and deploy automated risk controls, daily loss limits, and shutdown triggers for trading bots.

    $5

    Secure checkout via Stripe

    30-day refund guarantee

    Converts to your local currency at checkout

    0 installsSecurity scanned

    Works with the AI tools you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIGitHub CopilotGitHub CopilotGemini CLIGemini CLI+20 more

    daily loss lock system

    Example session with this skill installed

    Design a risk management system for a Python crypto bot with a $500 daily loss limit and a 3-trade max per session. Include a 30-minute cooldown after 2 consecutive losses.

    • Read your context and instructions
    • Compiled the daily loss lock

    I will generate a daily-loss-lock-system configuration.

    Risk Engine Logic

    • Hard Stop: $500 (Liquidate all + Lock)
    • Trade Limit: 3 round-trips
    • Cooldown: 30m after 2 losses
    • State Store: persistent_risk_state.json

    Validation flow: check lock_active -> check cooldown -> check count -> execute.

    persistent_risk_state.json

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

    What you get

    Limit daily drawdown to a fixed percentage of account equity.Force cooling-off periods after a series of losing trades.Automate emergency liquidation when hard loss thresholds are breached.Track session-based trade counts to prevent over-trading.

    About this skill

    The problem

    Emotional trading and revenge entries often lead to account-level catastrophes. Developers building trading bots frequently lack deterministic, persistent risk controls that can forcefully stop a strategy before a single bad session wipes out months of gains.

    What it does

    • Enforces hard and soft loss stops based on combined realized and unrealized PnL.
    • Implements trade-count caps and consecutive loss limits to prevent over-trading.
    • Manages mandatory cooldown periods and automated strategy shutdown triggers.
    • Tracks risk state across restarts using persistent JSON storage.
    • Provides a structured execution flow that validates every entry against current risk exposure.

    Frameworks & tools

    Designed for integration with trading bot frameworks using REST/WebSocket APIs. Uses JSON for state persistence and YAML for risk configuration.

    Why this beats prompting it yourself

    Standard prompts often overlook edge cases like partial fills, state persistence across crashes, and unrealized PnL calculation. This skill provides a complete architectural blueprint for a failsafe risk engine, ensuring your bot cannot bypass its own rules during high volatility.

    Use cases

    • Preventing runaway losses during high market volatility.
    • Enforcing discipline for high-frequency trading strategies.
    • Protecting prop firm accounts from violating daily drawdown rules.
    • Automating emergency liquidations during API or data feed failures.

    Known limitations

    Requires a persistent storage layer to track state across session restarts. Does not predict market moves or guarantee profitability.

    How to install

    Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.

    ~30 seconds
    1. 1

      Download the ZIP

      Free skills download straight away. Paid skills unlock right after purchase.

    2. 2

      Unzip into your skills folder

      Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.

    3. 3

      Ask your agent to use it

      Restart the agent if it was already running. It picks the skill up automatically - no config needed.

    Skills folder by agent

    Click the path to copy it. Create the folder if it does not exist yet.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill passes our trust checks below.

    Security scanned

    Passed our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    30-day refund

    Not a fit? Get your money back

    Trust & safety

    Security scanned

    Verified clean 17 days ago

    • Passed all security checks, Safe to install

    Listed17 days ago

    Frequently Asked Questions