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

Function register

crates/pyopenquant/src/cla.rs:57–63  ·  view source on GitHub ↗
(py: Python<'_>, parent: &Bound<'_, PyModule>)

Source from the content-addressed store, hash-verified

55/// infinite first and falling to 0 (only 0 for exactly equal forecasts). `efficient_frontier_means` and
56/// `efficient_frontier_sigma`: the expected return and volatility of each frontier point
57/// (empty unless `solution="efficient_frontier"`).
58///
59/// Raises
60/// ------
61/// ValueError
62/// If a matrix is empty or ragged; no prices are given and either expected returns or
63/// covariance is missing; prices have fewer than two (resampled) rows or a zero price;
64/// `calculate_expected_returns` or `solution` is unknown; the inputs disagree on the
65/// number of assets; the bounds are infeasible (not finite, lower above upper, or unable
66/// to sum to 1); or the covariance of the free assets is singular at some step of the

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected