MCPcopy Create free account
hub / github.com/Open-Quant/openquant / total_volume

Method total_volume

crates/openquant/src/streaming_hpc.rs:50–52  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

48
49impl StreamEvent {
50 pub fn total_volume(self) -> f64 {
51 self.buy_volume + self.sell_volume
52 }
53}
54
55#[derive(Debug, Clone, Copy, PartialEq)]

Callers 1

validate_eventFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected