Trading_enginemodule Account : sig ... endExact multi-currency cash, signed-position, cost-basis, and P&L accounting.
module Artifact_writer : sig ... endExclusive staged-file writer with a typed internal lifecycle.
module Audit : sig ... endDeterministic audit events emitted by the pure engine.
module Bar : sig ... endOne instrument's completed OHLCV bar in a synchronized market slice.
module Boundary_effects : sig ... endMinimal effect dispatcher for deterministic boundary failure injection.
module Codec : sig ... endStable JSON codecs for public files and audit events.
module Contract : sig ... endVersion and capability identifiers for the process/file boundary.
module Corporate_action : sig ... endSplit and cash-dividend events applied before matching their effective market slice.
module Diagnostic : sig ... endStable structured errors for process and file boundaries.
module Engine : sig ... endPure deterministic reducer for synchronized market slices.
module Execution : sig ... endDeterministic synchronized-slice execution simulation.
module Execution_model : sig ... endContract-selected resumable execution model modules.
module External_replay : sig ... endReplay runners driven by one supervised external strategy process.
module Fee_schedule : sig ... endDeterministic, composable execution-fee schedules.
module Fill : sig ... endOne immutable execution report accepted by the order manager.
module Financing : sig ... endEffective-time borrow availability and multi-currency financing policy.
module Id : sig ... endValidated opaque identifiers used across engine boundaries.
module Initial_portfolio : sig ... endImmutable point-in-time portfolio state used to start a replay.
module Instrument : sig ... endExecutable instrument metadata supplied by an approved catalog.
module Instrument_lifecycle : sig ... endDeterministic mutable-listing state keyed by stable instrument identity.
module Journal : sig ... endAppend-only JSON Lines writer with atomic successful finalization.
module Market_event : sig ... endCausally observable quote and trade events.
module Market_slice : sig ... endOne synchronized completed-bar observation, complete FX snapshot, and pre-match corporate-action batch for the configured market.
module Metric : sig ... endTyped, dimensioned strategy observations.
module Oms : sig ... endDeterministic order-management state.
module Order : sig ... endImmutable orders and their legal state transitions.
module Order_book_event : sig ... endCausally ordered level-two order-book observations.
module Planner : sig ... endExact portfolio-target sizing helpers.
module Reducer_phases : sig ... endPure reducer-phase sequencing behind one transition contract.
module Replay : sig ... endRun a complete deterministic scenario and optionally persist its audit events.
module Resource_limits : sig ... endVersioned inclusive limits for boundary and reducer resources.
module Risk : sig ... endDeterministic signed-position, exposure, leverage, and margin checks.
module Scalar : sig ... endChecked fixed-point values for executable state. Prices and money use six decimal places.
module Scenario : sig ... endStrict replay scenario input contract.
module Scenario_shape : sig ... endStrict top-level JSON shapes for batch and streamed scenarios.
module Scenario_stream : sig ... endBounded-memory reader for versioned JSON Lines replay scenarios.
module Scenario_validation : sig ... endCross-field and cross-record scenario semantics.
module Scripted_strategy : sig ... endA deterministic strategy driven by intents scheduled after market slices.
module Settlement : sig ... endDeterministic trade-settlement calendars, policies, and instructions.
module Sha256 : sig ... endSHA-256 digests used to bind audit journals to exact scenario bytes.
module Strategy : sig ... endPure strategy callback contract.
module Strategy_process : sig ... endSupervised stdio session for one external strategy process.
module Strategy_protocol : sig ... endVersioned JSON Lines protocol for an out-of-process strategy.
module Strategy_transcript : sig ... endAppend-only external-strategy protocol transcript.
module Venue_calendar : sig ... endImmutable venue-local session policies resolved outside the reducer.