mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-05 12:50:21 +08:00
Risk calculations are robust to nans, except for beta which calls numpy with the complete list of algorithm_returns. If nans are present the result of covar will be nan. This is fixed by filtering out nans in algorithm_returns.