Class HoldingsAllocation

java.lang.Object
org.drip.portfolioconstruction.allocator.HoldingsAllocation
Direct Known Subclasses:
ForwardReverseHoldingsAllocation, TadonkiVialHoldingsAllocation

public class HoldingsAllocation
extends java.lang.Object
HoldingsAllocation holds the Output of an Optimal Portfolio Construction Run, i.e., the Optimal Asset Weights in the Portfolio and the related Portfolio Metrics.

Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • HoldingsAllocation

      public HoldingsAllocation​(Portfolio optimalPortfolio, PortfolioMetrics optimalPortfolioMetrics) throws java.lang.Exception
      HoldingsAllocation Constructor
      Parameters:
      optimalPortfolio - The Optimal Portfolio
      optimalPortfolioMetrics - The Optimal Portfolio Metrics
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • Create

      public static final HoldingsAllocation Create​(AssetComponent[] optimalAssetComponentArray, AssetUniverseStatisticalProperties assetUniverseStatisticalProperties)
      Create an Instance of the Optimal Portfolio
      Parameters:
      optimalAssetComponentArray - The Array of the Optimal Asset Components
      assetUniverseStatisticalProperties - The AssetUniverseStatisticalProperties Instance
      Returns:
      The Instance of the Optimal Portfolio
    • optimalMetrics

      public PortfolioMetrics optimalMetrics()
      Retrieve the Optimal Portfolio Metrics
      Returns:
      The Optimal Portfolio Metrics
    • optimalPortfolio

      public Portfolio optimalPortfolio()
      Retrieve the Optimal Portfolio Instance
      Returns:
      The Optimal Portfolio Instance