Skip to main content

Quickstart: Order Management and Matcher

1) Generate This State​

bash pipeline/generate-state.sh 008-order-management-matcher

2) Start Runtime​

./scripts/start-state-008-order-management-matcher-generated.sh

3) Run Smoke Tests​

./scripts/test-state-008-order-management-matcher.sh

4) Stop Runtime​

./scripts/stop-state-008-order-management-matcher-generated.sh

5) Inspect Order Observability​

ORDER_MATCHER_PORT="${ORDER_MATCHER_PORT:-18110}"

# open/unfilled order gauges
curl -s "http://localhost:${ORDER_MATCHER_PORT}/metrics" | rg "traderx_orders_open_total|traderx_orders_unfilled_total"

# order matcher health
curl -s "http://localhost:${ORDER_MATCHER_PORT}/health"

# dashboard landing
open http://localhost:3000