Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    execution quality paper live

    1

    Analyze execution quality by attributing costs and price gaps between paper and live trading records.

    $17

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned
    execution quality paper live

    execution quality paper live

    Example session with this skill installed

    Analyze these paired fills for BTC-USDT. Benchmarked against Mid-Price. Live: Buy 0.5 at 64050, Sell 0.5 at 64100. Paper: Buy 0.5 at 64040, Sell 0.5 at 64115. Fees: 5 USDT per side.

    • Read your context and instructions
    • Compiled the execution quality paper

    The execution quality analysis is complete. The data shows a consistent adverse gap between paper fills and live execution, totaling 25 USDT in price slippage across the round trip, excluding fixed fees.

    Execution Quality & Gap Analysis

    MetricSideQuantityBenchmark (Mid)Paper PriceLive PriceExecution CostPaper-Live Gap
    Fill 001BUY0.564035.0064040.0064050.00+15.00+10.00
    Fill 002SELL0.564120.0064115.0064100.00+20.00+15.00
    Total-1.0---+35.00+25.00

    Cost Attribution Notes

    Side-Aware Cost: Both fills resulted in positive cost (adverse execution). The Buy fill executed 15 USDT above mid-price; the Sell fill executed 20 USDT below mid-price.

    Slippage vs. Fees: The total realized cost of 45 USDT includes 10 USDT in flat fees and 35 USDT in market impact/slippage.

    Gap Analysis: The 25 USDT paper-to-live gap suggests that the backtest engine is underestimating slippage by approximately 2.5 basis points per side at this liquidity level.

    Next steps

    1. Update backtest slippage parameters to include a 2.5 bps minimum buffer.
    2. Review order-book depth logs for Fill 002 to check for large sweeps.
    3. Verify if the 5 USDT flat fee is optimal for this volume or if a percentage-based tier applies.

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

    About this skill

    The problem

    Traders often struggle to quantify why live execution prices deviate from backtest results. Without side-aware cost attribution, it is difficult to distinguish between simple slippage, exchange fees, and systematic paper-to-live gaps.

    What it does

    • Attributes side-aware execution costs for both buy and sell orders.
    • Calculates the price gap between paper fills and observed live fills.
    • Identifies and reports unmatched records where quantity or context differs.
    • Normalizes partial fills while maintaining parent-order ID mapping.
    • Generates human-readable execution plans based on slippage scenarios.

    Frameworks & tools

    Python 3 for analysis scripts, JSON for data exchange, and standardized trading record schemas.

    Why this beats prompting it yourself

    Standard LLMs often struggle with the directional logic of execution costs, frequently flipping signs on sell-side slippage. This skill enforces strict side-aware attribution and ensures fees are handled as distinct variables, preventing the "double-counting" errors common in DIY prompts.

    Use cases

    • Quantifying the alpha decay caused by execution slippage.
    • Auditing a new broker's fill quality against historical backtest benchmarks.
    • Pre-trade planning using manual slippage scenario analysis.

    Known limitations

    Does not include broker adapters, live order routing, or order-book queue simulation. Requires pre-mapped data following a specific input contract.

    Requires manual data mapping to the input contract. No live broker connectivity, queue simulation, or calibrated impact models included.

    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 any payment.

    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 1 month ago

    Requires

    Python

    Permissions

    Terminal / Shell
    Listed1 month ago

    What's inside

    Frequently Asked Questions

    It calculates side-aware execution costs and paper-to-observed price differences from supplied paired records. It can include supplied fees and slippage scenarios, but it does not fetch live fills, pair records automatically, or identify the exact cause of performance loss.

    The skill requires trading records in a standardized JSON format. It includes a specific input contract schema that your data must follow to ensure accurate side-aware attribution and cost calculation.

    Unlike general prompts, this skill uses specific directional logic to ensure sell-side slippage and buy-side costs are calculated correctly without flipping signs or double-counting fees, which are common errors in standard LLM outputs.

    You will receive the core analysis logic, the standardized data schema for inputs, and documentation on how to interpret the generated execution plans and slippage reports.

    This skill is designed as a post-trade analysis tool; it does not connect directly to brokers or simulate real-time order-book queues. It is intended for auditing and pre-trade planning based on historical data.

    New in Trading & Investing