Skip to main content

Module model

Module model 

Source
Expand description

Shared OHLCV and market-domain types.

Structs§

Bar
Generic OHLCV Bar data point.
BarQuality
Explicit availability/quality metadata for an OHLCV bar, replacing implicit f64 conventions (e.g. volume == 0.0 meaning “unknown” versus “genuinely zero”).
InstrumentMeta
Provider-neutral instrument metadata.
QualifiedBar
An OHLCV Bar paired with explicit BarQuality metadata.
RiskPlan
SeriesCapabilities
Describes what a bar series is and where it came from, for the plausibility check in crate::applicability. Accompanies a series as metadata (not per-Bar, to avoid per-bar storage/cache cost) — see that module’s check_applicability for how this is matched against an indicator’s crate::applicability::DataRequirements.
SeriesIdentity
Comprehensive, provider-neutral provenance and identity specification for a time series.
SupportResistanceZone

Enums§

BarValidationError
Reason why an OHLCV bar violates the public input contract.
ContinuityKind
How a bar series was assembled across instrument/contract boundaries.
InstrumentMetaError
Reason why InstrumentMeta fails the operative validity contract.
LiquidityTier
Coarse liquidity classification of a series.
MarketRegime
Classification of current market regime.
PriceAdjustment
Whether and how a price series was adjusted for corporate actions.
Provenance
Where a bar series originates.
Resolution
Supported resolution timeframes for market bars.
SessionKind
Which part of the trading day a bar series covers.
Source
Selectable price/volume data source for indicators and series calculations.
VolumeKind
What a bar’s volume field actually measures.
ZoneKind