Skip to main content

Trade8:Desk - order management

The order-management core of the vertical: it owns the order lifecycle (submit → validate → authorize → accept → route → track → terminal) and the working-order state - one authoritative state machine per order.

Use cases​

  • Order lifecycle - every mutation flows through the same state machine; terminal states never regress (guarded updates).
  • Authorize before accept - Desk calls Risk over a direct TLS path before accepting any mutation - buying power and exposure are checked synchronously.
  • Routing handoff - accepted orders emit trade8:desk:order:accepted; Router consumes and executes.
  • Blotter truth - the working-order state feeds the eTrader blotter; fills project in as Router reports them.

Full documentation​

The complete detail lives in this product's sub-pages:

  • Architecture (DDD) - the full document, harvested from the unit's repository at build time.
  • Business rules (BRD) - the full document, harvested from the unit's repository at build time.
  • Security - the full document, harvested from the unit's repository at build time.
  • Overview (repo README) - the maintainer's README in the consolidated reference section.