Rank-one covariance: private API

PortfolioOptimisers.show_fields — Method
show_fields(_::RankOneCovariance) -> Tuple{Symbol}

Renders every field of a RankOneCovariance except cache.

The state a cache holds is the running detail of an incremental fit, not the configuration a reader looks the type up for, and it prints under the estimator at every site that renders one. Set set_show_nothing_fields!(:RankOneCovariance, true) to render it.

Arguments

  • ::RankOneCovariance: Rank-one covariance estimator, read for its type alone.

Returns

  • fields::Tuple: The field names to render, which is (:shift,).

Related

source