1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
//! # atelier-quant
//!
//! Quantitative modelling toolkit for the **atelier-rs** trading engine.
//!
//! This crate provides point-process models, interarrival-time analysis,
//! and probabilistic sampling utilities aimed at modelling the
//! microstructure of limit order book event streams.
//!
//! ## Point-process models
//!
//! | Model | Module | Estimation |
//! |-------|--------|------------|
//! | Univariate Hawkes (exponential kernel) | [`hawkes`] | MLE via projected gradient ascent with Armijo line search. |
//! | Homogeneous Poisson | [`poisson`] | Closed-form MLE: λ̂ = (n−1)/T. |
//!
//! Both models expose simulation ([`hawkes::HawkesProcess::generate_values`],
//! [`poisson::PoissonProcess::generate_values`]), goodness-of-fit
//! diagnostics (time-rescaling residuals, compensator), and
//! information criteria (AIC, BIC) for model comparison.
//!
//! ## Interarrival analysis
//!
//! The [`arrivals`] module bridges raw exchange data (loaded via
//! `atelier-data`) to the estimation routines:
//!
//! 1. Extract timestamps from [`Orderbook`](atelier_data::orderbooks::Orderbook)
//! or [`Trade`](atelier_data::trades::Trade) vectors.
//! 2. Compute interarrival deltas at any [`TimeResolution`](atelier_data::temporal::TimeResolution).
//! 3. Produce descriptive statistics (mean, variance, CV, skewness,
//! excess kurtosis) to guide model selection.
//!
//! ## Probability distributions
//!
//! The [`probs`] module provides lightweight sampling from Uniform,
//! Normal, Poisson, and Exponential distributions via the
//! [`Sampling`] trait.
pub use *;
pub use *;