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

Function parse_ts

crates/openquant/src/pipeline.rs:321–323  ·  view source on GitHub ↗
(value: &str)

Source from the content-addressed store, hash-verified

319 /// Historical VaR: the "higher" `confidence_level`-quantile of the per-bar strategy
320 /// returns, as a signed return (negative is a loss), not annualised.
321 pub value_at_risk: f64,
322 /// Mean of the per-bar returns strictly below `value_at_risk`; NaN when none are.
323 pub expected_shortfall: f64,
324 /// Conditional drawdown at risk of the equity curve at level `1 - confidence_level`, in
325 /// equity units (the curve starts at 1).
326 pub conditional_drawdown_risk: f64,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected