Trade Execution Data Quality Checks

    by Theodosios Dimitrasopoulos (Theo)

    1

    Find errors in trading data like clock drifts and wrong prices before they bias your cost analysis.

    $12

    Secure checkout via Stripe

    Money-back guarantee

    Converts to your local currency at checkout

    Security scanned

    Works with the AI Agents you already use

    What it does

    • Matches fill timestamps against market quotes to find clock timing errors
    • Calculates the bias in reported costs caused by wrong benchmark prices
    • Identifies duplicate trade entries that could lead to double counting costs
    • Flags trades that happened outside the best market prices per venue
    • Verifies if algorithms are following their assigned participation targets over time
    • Flags prints at auction times that carry the wrong session label

    Who it's for

    Hedge fund analysts checking trade data

    Find hidden data errors that make your trading cost reports look better or worse than they really are.

    Try asking: “Check my trading data for clock issues and bad benchmark prices.”

    Compliance officers monitoring algorithms

    Verify if your trading bots are actually following the instructions you gave them.

    Try asking: “Are our algos following their participation targets?”

    Quantitative researchers building models

    Clean your historical trade data so your models are not biased by duplicates or wrong timestamps.

    Try asking: “Look for duplicate fills and auction labels that might be wrong.”

    Trade Execution Data Quality Checks

    Example session with this skill installed

    Check our desk data for clock problems and bad session labels before we run TCA.

    • Read your context and instructions
    • Compiled the trade execution data

    Real output on a synthetic test desk.

    Clock alignment (share of passive fills not at their quote):

    venuenoff at 0 msbest lagoff at best lag
    V131,8440.0000 ms0.000
    V331,7160.0000 ms0.000
    V531,8130.998-1,800 ms0.046

    Auction prints

    venueprints in auction secondslabelled continuous
    V11170
    V3143143
    • V5's fill clock is about 1.8 s off: almost none of its passive fills match a quote as stamped, and 95% match after shifting by -1,800 ms. Every markout or impact number for V5 is wrong until this is fixed.
    • All 143 of V3's auction prints are labelled continuous. tcakit treats them as auctions anyway, but any tool that trusts the label will mix auction prints into continuous trading.
    • The other venues pass both checks.

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

    About this skill

    When you look at how much your trades cost, a tiny mistake in your data can make a huge difference. This skill looks through your trading records to find these hidden errors before they ruin your reports. It checks if your timestamps match the market quotes, if your benchmark prices are honest, and if your trading bots are doing what they were told.

    How it works

    1. Provide your data. You give your AI agent access to your trading files, including parent orders, fills, and market quotes.
    2. The skill runs checks. It automatically tests for six major data problems, such as mismatched clocks, duplicate entries, and incorrect session labels.
    3. Analyze the bias. The skill calculates exactly how much these errors are lying to you about your costs.
    4. Get a report. You receive a list of confirmed findings, which venues or clients have the most issues, and the script used to find them.

    Frameworks & tools

    This skill uses Python and a specialized toolkit to read DuckDB database files. It compares your private trade data against public market quotes and trade volumes.

    Why this beats prompting it yourself

    A normal AI agent doesn't know the specific math needed to detect millisecond clock drifts or how to calculate benchmark bias. This skill uses a precise set of tests that catch systematic errors a human or a general AI would miss by just looking at the rows.

    Use cases

    • Finding out if a specific exchange has a slow clock that ruins your timing.
    • Checking if your reported shortfall is higher or lower than the truth.
    • Making sure trades made during an auction aren't labeled as normal trading.
    • Proving that your trading algorithms stayed within their participation limits.

    Known limitations

    This skill needs at least 100 rows of data to call something a real finding. It assumes a standard US trading day from 9:30 AM to 4:00 PM.

    Built to interface with tcakit and DuckDB. It specifically queries parent_orders, child_fills, nbbo_1s, and market_trades tables. Uses quote_alignment and arrival_px_check functions to identify systematic bias in basis points (bps). Requires exchange-local timestamps and adheres to a 100-row minimum significance threshold (MIN_N).

    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 today

    Software
    Python 3.10+numpy, pandas, duckdbOrder and fill data in DuckDB

    Permissions

    Terminal / Shell
    Read Files

    File Scopes

    data/desk.duckdb
    Listedtoday

    What's inside

    Frequently Asked Questions

    Find errors in trading data like clock drifts and wrong prices before they bias your cost analysis.

    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 Trade Execution Data Quality Checks 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 Research & Analysis

    Find more skills like this on the Claude Skills Marketplace, the Codex Skills Marketplace and the Gemini Skills Marketplace, or browse Claude Skills for Research & Analysis.