(&self, f: &mut Formatter<'_>)
| 21 | //! - Events are processed in arrival order; `timestamp_ns` is carried through to the snapshot |
| 22 | //! but neither validated nor used, so out-of-order events are not detected. |
| 23 | //! - Buy and sell volumes are inputs, already signed by the caller (for example with bulk |
| 24 | //! volume classification); nothing here classifies trades. Volumes are in any consistent |
| 25 | //! unit (shares, contracts, notional), the same unit as [`VpinConfig::bucket_volume`]. |
| 26 | //! - VPIN is on a volume clock: an event that overflows a bucket is split between it and the |
| 27 | //! next, keeping its buy/sell ratio. The score averages bucket contributions over the last |
| 28 | //! `support_buckets` full buckets. Within a bucket it sums each event's absolute imbalance |
| 29 | //! before summing across events, so opposite one-sided events do not cancel. This differs |
| 30 | //! from net-bucket VPIN and depends on how flow is aggregated into input events. |
| 31 | //! - The three rolling windows run on different clocks: VPIN over `support_buckets` buckets, |
| 32 | //! its CDF over `cdf_lookback` buckets, HHI over `lookback_events` events. |
nothing calls this directly
no outgoing calls
no test coverage detected