Smoke Tests: 010 Pricing Awareness and Market Data
- Primary smoke script:
scripts/test-state-008-pricing-awareness-market-data.sh (planned)
Required Checksβ
- Runtime startup includes healthy
nats-broker.
- Runtime startup includes healthy
price-publisher.
- Price lookup endpoint returns quote payload with numeric
price.
- Trade submission still accepted on existing REST path and includes stamped
price.
- Trade service publish event reaches trade-processor through NATS.
- Processed trade and position updates are published on account-scoped subjects.
- Frontend stream subscriber receives account-scoped updates via websocket ingress path.
- Pricing stream (
pricing.<TICKER>) is observable via websocket ingress path.
- Persisted trades include
price; persisted positions include averageCostBasis.
- Unknown account/ticker validations remain unchanged from prior state.
- Supported symbol coverage check:
- every symbol returned by
reference-data /stocks has quote support from price-publisher.
- Symbol normalization check:
reference-data /stocks/META returns 200,
reference-data /stocks/FB returns 404.
- Price publisher health check reports publish cadence configuration (
minMs, maxMs, ratio).
- UI manual/automation check:
- position blotter market-price marker (
β²/βΌ/β ) reflects relation to open,
- market price, position value, and P&L apply expected red/green highlight semantics.
- Financial-services sample coverage check:
reference-data /stocks includes MS, UBS, C, GS, DB, JPM, COF, DFS, FNMA, and at least one Fidelity-related symbol (FIS/FNF),
price-publisher /prices/{ticker} returns 200 for each of those supported symbols.