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

Function bs_information_ratio

crates/pyopenquant/src/backtest_stats.rs:11–13  ·  view source on GitHub ↗
(returns: Vec<f64>, benchmark: f64, entries_per_year: f64)

Source from the content-addressed store, hash-verified

9/// gives NaN. With positive finite `entries_per_year` and a finite risk-free rate, finite
10/// constant returns give signed infinity for nonzero excess return, or NaN when the return
11/// equals the risk-free rate (0/0).
12///
13/// Parameters
14/// ----------
15/// returns : list[float]
16/// Per-period returns.

Callers

nothing calls this directly

Calls 1

information_ratioFunction · 0.85

Tested by

no test coverage detected