Skip to main content

classify_volume_node

Function classify_volume_node 

Source
pub fn classify_volume_node(
    density: f64,
    hvn_threshold: f64,
    lvn_threshold: f64,
) -> VolumeNodeKind
Expand description

Classify the current volume node from a Volume-Profile-style density estimate: density is the traded-volume share at the current price bucket (0.0..1.0).