Class RiskMetricRegistry
java.lang.Object
com.quantfinlib.risk.RiskMetricRegistry
Custom Risk Metrics Framework: registry of built-in and user-defined risk
metrics, evaluated together over a return series.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncalculateAll(double[] returns) Evaluates every registered metric against the given returns.booleanregister(String name, RiskMetric metric) static RiskMetricRegistryCreates a registry pre-populated with the built-in metric set.
-
Constructor Details
-
RiskMetricRegistry
public RiskMetricRegistry()
-
-
Method Details
-
withDefaults
Creates a registry pre-populated with the built-in metric set. -
register
-
get
-
contains
-
calculateAll
-