Contract Delta: 010 Pricing Awareness and Market Data
Parent state: 005-messaging-nats-replacement
REST/OpenAPI Changesβ
trade-servicerequest/response schema extendsTradeOrderwithprice.position-servicepayloads includeaverageCostBasisin positions andpricein trades.- New local service endpoint:
price-publisher:GET /prices,GET /prices/{ticker},GET /health.price-publisher /healthincludes active publish cadence config (minMs,maxMs,ratio).
Event Contract Changesβ
- Existing account-scoped topics remain:
/accounts/<accountId>/trades/accounts/<accountId>/positions
- New market data topic family:
pricing.<TICKER>
Expected pricing payload:
{
"ticker": "IBM",
"price": 187.245,
"openPrice": 186.000,
"closePrice": 187.400,
"asOf": "2026-03-31T11:00:00.000Z",
"source": "snapshot"
}
Reference Data Symbol Contract Notesβ
- State
010normalizes legacyFBsymbol toMETAfor returned stock identifiers. - Runtime supported symbol set is expected to match between
reference-dataandprice-publisher.