Class Benchmark
java.lang.Object
org.drip.portfolioconstruction.core.Block
org.drip.portfolioconstruction.composite.Benchmark
public class Benchmark extends Block
Benchmark holds the Details of a given Benchmark.
- Module = Portfolio Core Module
- Library = Asset Allocation Analytics
- Project = Portfolio Construction under Allocation Constraints
- Package = Portfolio Construction Component Groups Suite
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
-
Method Summary
Modifier and Type Method Description Holdings
holdings()
Retrieve the Benchmark Holdingsstatic Benchmark
Standard(java.lang.String name, java.lang.String type, java.lang.String category, Holdings holdings)
Construct a Standard Benchmark Instance Without Cashjava.lang.String
type()
Retrieve the Benchmark TypeMethods inherited from class org.drip.portfolioconstruction.core.Block
category, description, hashCode, id, name, Standard, timeStamp
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Benchmark
public Benchmark(java.lang.String name, java.lang.String id, java.lang.String description, java.lang.String type, java.lang.String category, Holdings holdings) throws java.lang.ExceptionBenchmark Constructor- Parameters:
name
- The Benchmark Nameid
- The Benchmark IDdescription
- The Benchmark Descriptiontype
- The Benchmark Typecategory
- The Benchmark Categoryholdings
- The Benchmark Holdings- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
Standard
public static final Benchmark Standard(java.lang.String name, java.lang.String type, java.lang.String category, Holdings holdings)Construct a Standard Benchmark Instance Without Cash- Parameters:
name
- The Benchmark Nametype
- The Benchmark Typecategory
- The Benchmark Categoryholdings
- The Benchmark Holdings- Returns:
- The Standard Benchmark Instance Without Cash
-
type
public java.lang.String type()Retrieve the Benchmark Type- Returns:
- The Benchmark Type
-
holdings
Retrieve the Benchmark Holdings- Returns:
- The Benchmark Holdings
-