Class CustomRiskUtilitySettings

java.lang.Object
org.drip.portfolioconstruction.allocator.CustomRiskUtilitySettings

public class CustomRiskUtilitySettings
extends java.lang.Object
CustomRiskUtilitySettings contains the settings used to generate the Risk Objective Utility Function. It accommodates both the Risk Tolerance and Risk Aversion Variants.

Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • CustomRiskUtilitySettings

      public CustomRiskUtilitySettings​(double riskAversion, double riskTolerance) throws java.lang.Exception
      CustomRiskUtilitySettings Constructor
      Parameters:
      riskAversion - The Risk Aversion Parameter
      riskTolerance - The Risk Tolerance Parameter
      Throws:
      java.lang.Exception - Thrown if the Inputs are Invalid
  • Method Details

    • VarianceMinimizer

      public static final CustomRiskUtilitySettings VarianceMinimizer()
      The Variance Minimizer CustomRiskUtilitySettings Instance
      Returns:
      The Variance Minimizer CustomRiskUtilitySettings Instance
    • RiskTolerant

      public static final CustomRiskUtilitySettings RiskTolerant​(double riskTolerance)
      The Risk Tolerant Variance Minimizer CustomRiskUtilitySettings Instance
      Parameters:
      riskTolerance - The Risk Tolerance Parameter
      Returns:
      The Risk Tolerant Variance Minimizer CustomRiskUtilitySettings Instance
    • RiskAversion

      public static final CustomRiskUtilitySettings RiskAversion​(double riskAversion)
      The Risk Aversion Variance Minimizer CustomRiskUtilitySettings Instance
      Parameters:
      riskAversion - The Risk Aversion Parameter
      Returns:
      The Risk Aversion Variance Minimizer CustomRiskUtilitySettings Instance
    • riskAversion

      public double riskAversion()
      Retrieve the Risk Aversion Factor
      Returns:
      The Risk Aversion Factor
    • riskTolerance

      public double riskTolerance()
      Retrieve the Risk Tolerance Factor
      Returns:
      The Risk Tolerance Factor
    • riskObjectiveUtility

      public RdToR1 riskObjectiveUtility​(java.lang.String[] assetIDArray, AssetUniverseStatisticalProperties assetUniverseStatisticalProperties)
      Retrieve the Custom Risk Objective Utility Multivariate
      Parameters:
      assetIDArray - Array of the Asset IDs
      assetUniverseStatisticalProperties - The Asset Universe Statistical Properties Instance
      Returns:
      The Custom Risk Objective Utility Multivariate