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
51
52
53
54
55
56
57
58
59
60
//! tickvault: a full-depth crypto order book recorder.
//!
//! The recorder exists to produce a dataset, and the dataset's only real
//! advantage over the free alternatives is that it is honest about its own
//! holes. Every layer here is built so a gap can be *detected*, *bounded in
//! time*, and *reported*, rather than smoothed over into a book that looks
//! continuous and is not.
//!
//! Reading order, roughly bottom up:
//!
//! - [`fixed`] exact decimals, because checksum validation cannot survive floats
//! - [`book`] the L2 book, its crossed-book invariant, and Kraken's CRC32
//! - [`sequence`] five per-venue loss detectors, and what each cannot prove
//! - [`venue`] the [`venue::Venue`] trait, six implementations, the capabilities
//! - [`gap`] suspect windows and the report they feed
//! - [`session`] the ingest loop that ties them together
//! - [`store`] the Parquet archive, its manifest, and crash recovery
//! - [`reconstruct`] rebuilding a book at an arbitrary instant
//! - [`query`] streaming reads, aggregations, and paced replay
//!
//! Reading an archive needs none of the capture half, so `venue`, `transport`,
//! `session`, `recorder` and `pipeline` sit behind the default `record`
//! feature. Turning it off leaves the book, the archive, reconstruction and
//! queries, which is exactly the subset that compiles to wasm for the viewer.
pub use ;
pub use ;
pub use Fixed;
pub use SymbolMapper;
pub use ;