# Trade Execution Data Quality Checks

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

Trade Execution Data Quality Checks is a paid AI agent skill on Agensi by Theodosios Dimitrasopoulos (Theo), in Research & Analysis. It loads into your AI agent through the Agensi MCP server, always in its latest approved version.

- Price: $12 (one-time purchase)
- Creator: [Theodosios Dimitrasopoulos (Theo)](https://www.agensi.io/creators/theodim)
- Category: [Research & Analysis](https://www.agensi.io/skills/research-analysis)
- Version: 1.0
- Last updated: 2026-12-04
- Security: scan passed (2026-12-04); every new listing is also reviewed by a person
- Listing: https://www.agensi.io/skills/trade-execution-data-quality-checks
- Tags: trading, research, data-analysis, compliance, python

## 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: "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: "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: "Look for duplicate fills and auction labels that might be wrong."

## 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.

## Requires

- Python 3.10+
- numpy, pandas, duckdb
- Order and fill data in DuckDB

## Technical details

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 this skill

1. Connect your AI agent to Agensi once: add the MCP server https://mcp.agensi.io/mcp/auth and sign in with your Agensi account (OAuth, no API key). Steps for Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and other agents: https://www.agensi.io/docs/mcp-setup
2. Ask your agent: "Use the Trade Execution Data Quality Checks skill from Agensi" and describe your task.
3. Buy it on the listing or let your agent ask you first; your agent then loads it from Agensi when it needs it. Every paid skill has a money-back guarantee: https://www.agensi.io/docs/money-back-guarantee

## Frequently asked questions

### What does Trade Execution Data Quality Checks do?

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

### Which AI agents support Trade Execution Data Quality Checks?

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.

### How do I use Trade Execution Data Quality Checks?

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.

---

Source: [Agensi](https://www.agensi.io), the marketplace of skills for AI agents. Any MCP-compatible agent (Claude, ChatGPT, Claude Code, Codex, Cursor, VS Code and more) connects at https://mcp.agensi.io/mcp/auth and signs in with an Agensi account; setup for every agent: https://www.agensi.io/docs/mcp-setup. Append .md to any skill, guide or docs address on agensi.io for its markdown version.
