Skip to content

Configuration

Centralized pipeline configuration. All tunable parameters live here.

PipelineConfig

Bases: BaseModel

Validated, immutable configuration for the ob-analytics pipeline.

Every parameter that was previously a hard-coded literal now lives here with a sensible default matching the original R package behaviour (Bitstamp BTC/USD, 2015). Override individual values for different instruments, exchanges, or precision requirements.

price_multiplier property

price_multiplier: int

Multiplier to convert float prices to integer price units.

bps_labels property

bps_labels: list[str]

Column suffixes for depth-metric BPS bins (e.g. '25bps', '50bps' …).