Skip to content

markowitz.estimators.protocols

markowitz.estimators.protocols

Structural typing protocols for estimator interfaces.

CovarianceEstimator

Bases: Protocol

Protocol for an estimator that produces a covariance matrix.

MeanEstimator

Bases: Protocol

Protocol for an estimator that produces an expected-returns vector.