Expand description
Exact, dependency-light instrument and asset domain contracts.
Structs§
- AssetId
- Asset
Spec - Metadata for one economic asset.
- Bound
Economic Capability - One operation bound to a concrete implementation and model.
- Catalog
Document - Strict authoring document compiled into an immutable catalog snapshot.
- Catalog
Snapshot Id - Human-readable identity of one immutable catalog snapshot.
- Decimal
- An exact checked base-10 decimal backed by an
i128coefficient. - Decimal
Grid - An exact decimal grid with an origin and positive step.
- Economics
Binding - Fail-closed executable capability binding for one resolved instrument.
- Economics
Implementation Id - Economics
Model Id - Effective
Interval - Half-open UTC interval
[valid_from, valid_until). - Execution
Venue Id - Grid
Adjustment - Auditable requested and adjusted values.
- Instrument
Alias - Instrument
Assets - Assets participating in an instrument’s economic contract.
- Instrument
Catalog Snapshot - Immutable, indexed catalog revision safe to share across in-flight operations.
- Instrument
Economics - Declarative economics requirements for one instrument revision.
- Instrument
Id - A broker-, exchange-, or internally-owned listing identity.
- Instrument
Resolution Context - Immutable deployment or account constraints applied during resolution.
- Instrument
Spec - One effective-dated instrument specification.
- Listing
Id - Listing
Venue Id - Market
Data Source Id - Market
Kind - Money
- An exact amount denominated in one asset.
- NonNegative
Decimal - Notional
Rules - Optional bounds for a model-calculated notional value.
- Platform
Instrument Binding - Binds a broker execution context and trading platform identifier to one instrument.
- Positive
Decimal - Price
- Price
Rules - Exact price-grid metadata.
- Quantity
- Quantity
Rules - Exact quantity-grid metadata.
- Resolved
Instrument - Resolved reference and immutable specification value.
- Resolved
Instrument Ref - Persistable identity of one specification resolved from one catalog snapshot.
- Spec
Revision - Stored
Series Binding - Binds an existing stored series namespace to one resolved instrument.
- Trading
Platform Id
Enums§
- Adjustment
Direction - Direction taken by a grid adjustment.
- Asset
Kind - Broad asset classification separate from an asset identifier.
- Catalog
Compile Error - Catalog compilation failures.
- Decimal
Error - Exact-decimal parsing and arithmetic failures.
- Economic
Operation - Economic operation that must be supplied by executable code.
- Economics
Capability Error - Failures while binding declarative economics to executable capabilities.
- Effective
Interval Error - Effective-interval construction failures.
- Grid
Error - Decimal-grid validation and adjustment failures.
- Grid
Rounding - Explicit handling for a value outside a declared grid.
- Identifier
Error - Validation failures for normalized identifiers.
- Instrument
IdError - Parsing failures for the display form of an instrument identity.
- Instrument
Resolution Error - Deterministic instrument-resolution failures.
- Instrument
Selector - Selector for exact identity or an explicitly scoped alias.
- Listing
Status - Listing availability at an effective time.
- Quantity
Unit - Unit represented by an instrument quantity.
- Spec
Validation Error - Instrument specification invariant failures.
Constants§
- MAX_
DECIMAL_ SCALE - Maximum supported number of decimal fractional digits.
Traits§
- Economics
Capability Provider - Executable economics capability supplied by a runtime implementation.
Functions§
- bind_
economics - Bind every requested economic operation to a registered implementation.