optionchain_simulator 0.2.0

OptionChain-Simulator is a lightweight REST API service that simulates an evolving option chain with every request. It is designed for developers building or testing trading systems, backtesters, and visual tools that depend on option data streams but want to avoid relying on live data feeds.
1
2
3
4
5
6
7
8
9
10
11
12
//! The v2 simulation snapshot tape: its contract, its records, and its rows.
//!
//! Three files, one concern each. [`interface`] is the storage-agnostic trait
//! the session layer depends on; [`record`] holds the typed records that cross
//! it; [`model`] is the serialization boundary where a `Positive` becomes a
//! `Decimal(38, 28)` column. The ClickHouse implementation lives beside the
//! other repositories, in
//! [`crate::infrastructure::ClickHouseSnapshotRepository`].

pub(crate) mod interface;
pub(crate) mod model;
pub(crate) mod record;