# How do production trading OMSs handle parent-child order relationships during replace/reject workflows? — retained record

> Retained reddit record from reddit:algotrading.

Canonical: https://highsignal.app/data/records/74a0a4ad95628094

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:algotrading)  published 2026-10-14 17:08 ingested 2026-10-15 02:43

[original source ↗](https://www.reddit.com/r/algotrading/comments/1x5wx17/how_do_production_trading_omss_handle_parentchild/)

## retained text



```
I’m a software developer working with trading/OMS concepts, and I’m trying to understand how mature trading systems handle order lifecycles and state consistency.  
Consider a hypothetical scenario:  
A parent order has a quantity of 2,000, with a child order of 500.  
A modification requests changes to both the parent and child.  
The child replacement is sent to the broker but gets rejected.  
The original child remains valid, while the internal parent may already have been updated.  
I’m curious how production OMSs typically approach this:  
How are parent-child associations and order-version histories maintained across replacements and rejections?  
How do systems handle consistency when a parent modification succeeds internally but the child replacement fails externally?  
Are these workflows generally handled through state machines, event-driven reconciliation, operation-level coordination, or another approach?  
Are there any public architecture documents, open-source projects, or books worth studying?  
I’m particularly interested in hearing from engineers who have worked on institutional trading systems, FIX integrations, or OMS/EMS platforms.  
Beyond this specific problem, I’m also trying to become better at independently reasoning about complex system architectures rather than jumping straight into code or relying on AI-generated solutions.  
Would appreciate any practical insights or learning resources!
```



document fetched 2026-10-15 00:48 · canonical https://reddit.com/r/algotrading/comments/1x5wx17/how_do_production_trading_omss_handle_parentchild
