Skip to main content

get_snapshot_value

Function get_snapshot_value 

Source
pub fn get_snapshot_value(snapshot: &TaSnapshot, key: &str) -> Option<f64>
Expand description

Get a single (or primary) value from a TaSnapshot by indicator key.

For multi-value indicators the function tries common primary keys in order: value, line, adx, k.