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

Function ms_encode_array

crates/pyopenquant/src/microstructural.rs:99–101  ·  view source on GitHub ↗
(array: Vec<f64>, encoding: Vec<(f64, char)>)

Source from the content-addressed store, hash-verified

97 window: usize,
98) -> PyResult<Vec<f64>> {
99 openquant::microstructural_features::get_corwin_schultz_estimator(&high, &low, window)
100 .map_err(to_py_err)
101}
102
103/// Bekker-Parkinson volatility: high-low volatility net of the Corwin-Schultz spread.
104///

Callers

nothing calls this directly

Calls 1

encode_arrayFunction · 0.85

Tested by

no test coverage detected