order-lifecycle

Installation
SKILL.md

Order Lifecycle

Purpose

Guide the design and implementation of order lifecycle management in trading systems. Covers order states and transitions, FIX protocol message flows, order types and time-in-force instructions, cancel/replace workflows, order validation, and state machine design. Enables building or evaluating order management systems that correctly handle the full lifecycle from order creation through fill, cancellation, or expiration.

Layer

11 — Trading Operations (Order Lifecycle & Execution)

Direction

both

When to Use

  • Designing or implementing an order state machine for an order management system (OMS) or execution management system (EMS)
  • Building or debugging FIX protocol connectivity to exchanges, ECNs, or execution venues
  • Implementing cancel/replace workflows and handling race conditions between cancel requests and fills
  • Defining order validation rules for pre-submission checks (buying power, position limits, restricted lists, symbol validity)
  • Evaluating order types and time-in-force instructions for different trading strategies and market conditions
  • Designing multi-leg or contingent order structures (OCO, bracket, conditional orders)
  • Building order audit trail systems that satisfy CAT reporting and regulatory reconstruction requirements
Related skills

More from joellewis/finance_skills

Installs
124
GitHub Stars
75
First Seen
Feb 19, 2026