(
asset_prices: &DMatrix<f64>,
resample_by: Option<&str>,
)
| 73 | dates: usize, |
| 74 | }, |
| 75 | /// No portfolio satisfies the bounds and the budget: a bound is not finite, an asset's |
| 76 | /// lower bound exceeds its upper bound, the lower bounds sum to more than 1, or the |
| 77 | /// upper bounds (capped at 1) sum to less than 1. |
| 78 | #[error("infeasible weight bounds: {0}")] |
| 79 | InfeasibleBounds(&'static str), |
| 80 | /// The covariance matrix of the assets free at a step of the walk cannot be inverted, |
| 81 | /// e.g. two free assets are perfectly correlated, or there are more assets than |
| 82 | /// observations. |
| 83 | #[error("covariance of the free assets is singular")] |
| 84 | SingularCovariance, |
nothing calls this directly
no test coverage detected