Package org.drip.service.scenario
Class EOSMetricsReplicator
java.lang.Object
org.drip.service.scenario.EOSMetricsReplicator
public class EOSMetricsReplicator
extends java.lang.Object
EOSMetricsReplicator generates the EOS Metrics for Bonds with Embedded Option Schedules. It
provides the following Functionality:
- Standard Static EOSMetricsReplicator Creator
- EOSMetricsReplicator Constructor
- Retrieve the Underlying Bond
- Retrieve the Valuation Parameters
- Retrieve the Market Parameters
- Retrieve the Price
- Retrieve the Diffusion Evolver
- Retrieve the Govvie Builder Settings
- Retrieve the Number of Simulation Paths
- Generate an Instance of a Replication Run
| Module | Computational Core Module |
| Library | Computation Support |
| Project | Environment, Product/Definition Containers, and Scenario/State Manipulation APIs |
| Package | Custom Scenario Service Metric Generator |
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description EOSMetricsReplicator(BondComponent bondComponent, ValuationParams valuationParams, CurveSurfaceQuoteContainer curveSurfaceQuoteContainer, GovvieBuilderSettings govvieBuilderSettings, DiffusionEvolver diffusionEvolver, int pathCount, double price)EOSMetricsReplicator Constructor -
Method Summary
Modifier and Type Method Description BondComponentbond()Retrieve the Underlying BondDiffusionEvolverdiffusionEvolver()Retrieve the Diffusion EvolverBondEOSMetricsgenerateRun()Generate an Instance of a Replication RunGovvieBuilderSettingsgovvieBuilderSetting()Retrieve the Govvie Builder SettingsCurveSurfaceQuoteContainermarketParameters()Retrieve the Market ParametersintnumPath()Retrieve the Number of Simulation Pathsdoubleprice()Retrieve the Pricestatic EOSMetricsReplicatorStandard(BondComponent bondComponent, ValuationParams valuationParams, CurveSurfaceQuoteContainer curveSurfaceQuoteContainer, GovvieBuilderSettings govvieBuilderSettings, double logNormalVolatility, double price)Standard Static EOSMetricsReplicator CreatorValuationParamsvaluationParameters()Retrieve the Valuation ParametersMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
EOSMetricsReplicator
public EOSMetricsReplicator(BondComponent bondComponent, ValuationParams valuationParams, CurveSurfaceQuoteContainer curveSurfaceQuoteContainer, GovvieBuilderSettings govvieBuilderSettings, DiffusionEvolver diffusionEvolver, int pathCount, double price) throws java.lang.ExceptionEOSMetricsReplicator Constructor- Parameters:
bondComponent- Bond InstancevaluationParams- Valuation ParameterscurveSurfaceQuoteContainer- Market ParametersgovvieBuilderSettings- Govvie Builder SettingsdiffusionEvolver- Diffusion EvolverpathCount- Number of Simulation Pathsprice- Market Price- Throws:
java.lang.Exception- Thrown if the Inputs are Invalid/Inconsistent
-
-
Method Details
-
Standard
public static final EOSMetricsReplicator Standard(BondComponent bondComponent, ValuationParams valuationParams, CurveSurfaceQuoteContainer curveSurfaceQuoteContainer, GovvieBuilderSettings govvieBuilderSettings, double logNormalVolatility, double price)Standard Static EOSMetricsReplicator Creator- Parameters:
bondComponent- Bond InstancevaluationParams- Valuation ParameterscurveSurfaceQuoteContainer- Market ParametersgovvieBuilderSettings- Govvie Builder SettingslogNormalVolatility- Long Normal Treasury Forward Volatilityprice- Market Price- Returns:
- EOSMetricsReplicator Instance
-
bond
Retrieve the Underlying Bond- Returns:
- The Underlying Bond
-
valuationParameters
Retrieve the Valuation Parameters- Returns:
- The Valuation Parameters
-
marketParameters
Retrieve the Market Parameters- Returns:
- The Market Parameters
-
price
public double price()Retrieve the Price- Returns:
- The Price
-
diffusionEvolver
Retrieve the Diffusion Evolver- Returns:
- The Diffusion Evolver
-
govvieBuilderSetting
Retrieve the Govvie Builder Settings- Returns:
- The Govvie Builder Settings
-
numPath
public int numPath()Retrieve the Number of Simulation Paths- Returns:
- The Number of Simulation Paths
-
generateRun
Generate an Instance of a Replication Run- Returns:
- Instance of a Replication Run
-