Skip to main content

Order Management and Matcher

Pricing + observability runtime extended with order management, matcher flow, and order-specific telemetry.

  • Generated from: system/architecture.model.json
  • Canonical flows: system/end-to-end-flows.md

Architecture Diagram​

Node Catalog​

NodeKindLabelNotes
developeractorDeveloperLocal developer using this state.
app_runtimeboundaryTraderX App RuntimeState 008 pricing/runtime baseline with order-management extensions.
obs_runtimeboundaryObservability RuntimeLGTM + OTel stack from state 006 carried forward with order telemetry coverage.
ingressserviceNGINX IngressRoutes UI, API, and order admin traffic.
trade_uiserviceAngular Trade UITrade ticket, blotters, and admin tab.
order_apiserviceOrder Management APIOrder create/query/edit/cancel/force-fill endpoints.
order_matcherserviceOrder MatcherMatches open orders and emits order lifecycle + fill events.
natsserviceNATS BrokerRealtime transport for pricing, trade, position, and order subjects.
trade_processorserviceTrade ProcessorConsumes fills and persists trades/positions.
prometheusservicePrometheusScrapes order metrics and blackbox probes.
blackboxserviceBlackbox ExporterProbes order endpoints and inherited runtime endpoints.
lokiserviceLokiAggregates order and runtime logs.
grafanaserviceGrafanaDashboards for queue depth, open orders, events, and matcher latency.