- Home
- Skills
- Trading & Investing
- market data integrity validator
Works with the AI tools you already use
market data integrity validator
Validate market data integrity by detecting sequence gaps, stale timestamps, and crossed quotes in feed exports.
$15
market data integrity validator
Example session with this skill installed
Validate the attached quote stream for BTC-USDT and ETH-USDT from the Binance export. The expected as-of time is 2024-05-20T10:00:00Z. Check for gaps and stale quotes.
- Read your context and instructions
- Compiled the market data integrity
- Generated the document
The market data integrity check is complete. I have analyzed the quote stream for two symbols, identifying significant sequence gaps in the BTC-USDT feed and three stale quotes in the ETH-USDT feed.
Market Data Validation Report
| Metric | BTC-USDT (Binance) | ETH-USDT (Binance) |
|---|---|---|
| Total Messages | 15,402 | 12,890 |
| Chronological Gaps | 4 (Totaling 122ms) | 0 |
| Sequence Violations | 12 (Dropped packets) | 0 |
| Stale Timestamps | 0 | 3 (>500ms old) |
| Crossed Quotes | 1 (Bid > Ask at 10:00:04) | 0 |
| Integrity Score | 92.4% | 99.8% |
Detailed Findings
BTC-USDT Sequence Jump: A major sequence break occurred between sequence IDs 88294 and 88307. This indicates a burst of packet loss at the ingest layer.
ETH-USDT Latency: Three quotes showed a server_t vs receipt_t delta exceeding the 500ms threshold. These occurred during a period of high volatility at 09:58:12Z.
Crossed Quote: A single instance where Bid (67050.5) exceeded Ask (67049.0) was detected in the BTC feed; likely a venue matching engine artifact or malformed export line.
{
"report_version": "1.0.2",
"as_of": "2024-05-20T10:00:00Z",
"summary": {
"status": "WARNING",
"critical_issues": 2
},
"recommendations": [
"Resubscribe to BTC-USDT to reset sequence counters.",
"Investigate local network jitter for ETH-USDT stale receipt times."
]
}
Next steps
- Review the specific sequence IDs in the
report.jsonto correlate with network logs. - Filter the BTC-USDT dataset to remove the crossed quote entry before starting backtesting.
- Check feed handler logs for the 10:00:04Z timestamp.
market-data-integrity-validator.pdf
PDF · document
Example file from a real run - the skill writes it into your workspace.
Connects securely to your tools. The creator never sees your data.
What you get
About this skill
The problem
Corrupted market data feeds lead to bad fills and broken backtests. Identifying chronological gaps, stale timestamps, or crossed quotes manually in high-volume JSON or CSV exports is nearly impossible.
What it does
- Detects stale, future, and out-of-sequence timestamps against a defined as-of time.
- Identifies sequence number gaps and duplicates while preserving original receipt order.
- Validates bid/ask spreads to flag crossed quotes or anomalous pricing data.
- Audits feed inventory by comparing observed streams against expected venue symbols.
- Provides resubscription recommendations based on detected data integrity failures.
Frameworks & tools
Python 3 for analysis scripts, JSON/CSV for data input and reporting.
Why this beats prompting it yourself
General LLMs often try to "fix" data by sorting it, which hides the very sequence errors you need to find. This skill enforces strict receipt-order preservation and applies venue-specific sequence logic that basic prompts ignore.
Use cases
- Post-mortem analysis of trading slippage caused by data lag.
- Pre-processing historical market data before running backtests.
- Validating the integrity of a new third-party data provider's API export.
Known limitations
Handles top-of-book quotes only. Does not include live WebSocket connectivity, exchange snapshot resync, or automated trading kill-switch logic.
How to install
Works the same in every agent - Claude, Cursor, Codex, Copilot and 20+ more.
- 1
Download the ZIP
Free skills download straight away. Paid skills unlock right after purchase.
- 2
Unzip into your skills folder
Every agent reads skills from one folder on your machine. Drop the unzipped folder in there.
- 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 13 days ago
- Passed all security checks, Safe to install
Needs access to