BS

    Black Swan Liquidity & Slippage Stress Tester

    by AllAccessData

    1

    Replays 1987, 2008 and March 2020 liquidity conditions against a portfolio to find where margin calls land, what the exit would actually cost, and which positions cannot be sold at all.

    $5

    /mo

    Subscription · cancel anytime

    Secure checkout via Stripe

    • Always the latest version
    • Delivered live to your agent via MCP
    • Cancel anytime, access ends at period end
    Security scanned

    Works with the AI Agents you already use

    About this skill

    Black Swan Liquidity & Slippage Stress Tester Risk models mostly answer how much a portfolio falls. The question that ends accounts is different: can you get out, at what price, and does the broker call you before you decide to.

    Built for portfolio managers and traders who want to know where their book breaks before the market shows them. Runs on Claude, Codex, Hermes, Gemini, and GPT-4 and any framework that loads a SKILL.md.

    What's included:

    • Historical crisis replay: positions put through the 1987, 2008 and March 2020 liquidity environments - not just the price moves, but the bid-ask widening and depth collapse that came with them.
    • Slippage modelling: what exiting the position would actually realise, as opposed to the last printed mark.
    • Margin call mapping: the price levels at which calls arrive, and in what order across the book.
    • Macro context: rate, spread and volatility series from FRED to anchor the scenarios in real conditions.
    • Local computation: SciPy and pandas do the work on your machine; the model call is for interpretation.

    What a historical replay gives you is a map of fragility, not a probability. The next crisis will have a different correlation structure and a different trigger, and the value here is discovering which positions are the problem under stress - not assigning odds to an event.

    Three modelling points that change the answer materially. Correlations converge in a crisis: diversification measured in calm markets disappears exactly when it is needed, so a scenario that shocks positions independently will tell you a comforting lie. Liquidity is worse than your inputs suggest: position size as a fraction of average daily volume is the key driver of slippage, and in a dry-up the volume itself collapses - modelling crisis exits against normal-market ADV understates the cost badly. And the mechanism that actually destroys accounts is path-dependent: a mark down triggers a margin call, the forced sale moves the price, which triggers the next call. A static one-shot stress test cannot see that spiral, so look at the ordering of your margin levels as well as their existence.

    Positions you cannot exit at any reasonable price deserve their own line in the output. They are not a slippage problem; they are a different kind of exposure.

    This is risk analysis, not investment 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

    Free to use

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 6 days ago

    Accounts
    OpenAIStlouisfed

    Permissions

    Network Access
    Environment Variables
    Read Files
    Terminal / Shell

    Allowed Hosts

    api.openai.com
    api.stlouisfed.org

    This skill calls OpenAI GPT-4o-mini (paid), FRED Economic Data Public API (free of charge, but it still needs a free FRED API key you register for). 1 of these is billed by its provider, not by us; you supply the account. It reads OPENAI_API_KEY and FRED_API_KEY from your environment; credentials are never hardcoded, stored, logged or echoed. It also expects these installed locally: Local SciPy/Pandas. Please note: the description on this listing states that no API keys or paid services are needed. That is incorrect - the services above are required. Listing text cannot be edited after approval, so treat this permissions block as the authoritative statement of what the skill needs.

    Listed14 days ago
    Updated6 days ago

    What's inside

    Frequently Asked Questions

    Replays 1987, 2008 and March 2020 liquidity conditions against a portfolio to find where margin calls land, what the exit would actually cost, and which positions cannot be sold at all.

    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 Black Swan Liquidity & Slippage Stress Tester 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.

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