Smart Order Routing
objective
Execute smart order routing work with reproducible research, explicit controls, and deployable outputs.
workflow
- •define execution benchmark, urgency, and participation limits.
- •profile venue liquidity, queue dynamics, and spread behavior before routing.
- •configure order instructions and routing logic with deterministic safeguards.
- •attribute slippage into spread, impact, timing, and opportunity components.
- •deploy only after stable execution quality through stressed market windows.
required diagnostics
- •benchmark-relative slippage by venue, session, and order urgency.
- •fill-rate and queue-position decay under volatility shocks.
- •latency tail behavior with packet loss and feed-delay scenarios.
- •fee, rebate, and borrow assumptions reflected in net execution cost.
- •venue routing drift and missed-fill attribution
risk controls
- •enforce max participation, max order size, and max tolerated slippage.
- •enforce kill-switch conditions for stale books, feed gaps, and venue disconnects.
- •enforce escalation paths for sustained degradation in fill quality.
outputs
- •run
python scripts/smart_order_routing_diagnostics.py input.csv --output diagnostics.jsonand keep the json artifact. - •write an implementation memo using
references/smart-order-routing-playbook.mdwith assumptions, tests, limits, and rollout plan.
resources
- •use
scripts/smart_order_routing_diagnostics.pyfor deterministic diagnostics. - •use
references/smart-order-routing-playbook.mdfor the domain-specific checklist and delivery structure.