ores.marketdata

Table of Contents

1. Summary

ores.marketdata owns the market data the platform quotes against: the series that name a curve, surface or fixing, the observations and fixings that fill it, and the routes that say where it comes from. It represents ORE market data in an ORE Studio native form through oresmd, an identifier grammar and projection layer covering every series type ORE's shape table defines, and it imports the ORE-format files themselves. Structured as a composite component with four sub-components.

2. Sub-components

Sub-component Brief
ores.marketdata.api Domain types and NATS protocol schemas for the market-data component.
ores.marketdata.client Client-side NATS wrapper for the marketdata service: request/response helpers and market data subscriptions.
ores.marketdata.core Market data management — market series, observations, fixings, and import from external sources.
ores.marketdata.service NATS service entrypoint for the market-data domain.

3. Diagram

ores.marketdata component diagram

Figure 1: ores.marketdata

The oresmd identifier grammar and the data it projects are drawn separately, as the target model they were designed against:

ores.marketdata target data model

Figure 2: ores.marketdata target data model

4. Inputs

  • ORE-format market data files, parsed at the import boundary.
  • Market series, observation and fixing writes over the NATS protocol.

5. Outputs

  • Persisted market series, observations and fixings, with row-level history.
  • Canonical entity events on the per-entity NATS subjects.
  • An oresmd-native identifier for every series key the corpus carries.

6. Entry points

  • include/ores.marketdata.api/, include/ores.marketdata.core/, include/ores.marketdata.client/, include/ores.marketdata.service/.
  • Subjects under marketdata.v1. and history.v1.get.

7. Dependencies

  • ores.refdata for currency-pair reference data during import.
  • ores.history for the generic version-history dispatch.
  • ores.storage for the market-series export to object storage.

8. See also

Emacs 29.3 (Org mode 9.6.15)