Order Routing

Route high-frequency trading orders with venue selection and audit-trail logging.

2|Updated Jun 30, 2026
One-click install
npx skills add https://github.com/Canhada-Labs/ceo-orchestration --skill order-routing
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: Order Routing
Source: https://github.com/Canhada-Labs/ceo-orchestration/tree/main/.claude/skills/domains/trading-hft/skills/order-routing
Command: npx skills add https://github.com/Canhada-Labs/ceo-orchestration --skill order-routing

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires python, cpp, and includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill addresses the complexities of high-frequency trading by providing precise order routing, ensuring efficient venue selection and compliance with trading semantics.

Core Features & Use Cases

  • Venue Selection: Select the optimal trading venue based on latency, fees, and reliability.
  • Order Semantics: Handle Immediate-or-Cancel (IOC), Fill-Or-Kill (FOK), Day, Good-Till-Cancel (GTC) order types.
  • Child-Order Slicing: Manage child orders for complex strategies like TWAP, VWAP, and IS.
  • Audit-Trail Completeness: Ensure full audit trail for surveillance and compliance.
  • Use Case: When implementing a new trading strategy, this Skill can be used to route orders to the most suitable venue and ensure that all order messages are correctly constructed and logged.

Quick Start

Load the Order Routing skill and execute a trade with the following command: trade --venue "NYSE" --order-type "IOC" --quantity 100 --price 50.

Frequently Asked Questions about Order Routing

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I optimize order routing for high-frequency trading venues?

Order routing for high-frequency trading selects optimal venues based on latency, fees, and reliability while managing order semantics like IOC, FOK, Day, and GTC. It ensures precise execution and regulatory compliance by logging all order messages to a complete audit trail.

What's the best way to manage child-order slicing for TWAP and VWAP strategies?

Child-order slicing for TWAP, VWAP, and IS strategies is managed by breaking parent orders into smaller child orders. This approach optimizes execution by distributing trades over time while maintaining order semantics and generating a complete audit trail for surveillance.

How does audit trail completeness work for high-frequency trading compliance?

Audit trail completeness for trading compliance captures and logs all order messages, venue selections, and execution details. It ensures surveillance systems can reconstruct trading activity precisely, meeting regulatory requirements for high-frequency trading operations.

Do I need Python and C++ to execute high-frequency order routing?

Python and C++ are required to execute high-frequency order routing. C++ handles low-latency execution critical for trading speed, while Python manages order semantics, venue selection logic, and audit trail logging for compliance and surveillance.

Can I route IOC and FOK orders to specific venues like NYSE?

IOC and FOK orders can be routed to specific venues like NYSE by specifying venue, order type, quantity, and price. The routing system constructs order messages correctly, selects the optimal venue, and logs every action to the audit trail.

What are the limitations of using semantic order types in high-frequency trading?

Semantic order types like IOC, FOK, Day, and GTC are limited by venue support and execution conditions. Immediate-or-Cancel orders may partially fill or cancel instantly, while Fill-Or-Kill orders execute fully or not at all, impacting strategy outcomes in fast-moving markets.