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.
- 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 bond, ValuationParams valParams, CurveSurfaceQuoteContainer csqc, GovvieBuilderSettings gbs, DiffusionEvolver de, int iNumPath, double dblPrice)
EOSMetricsReplicator Constructor -
Method Summary
Modifier and Type Method Description BondComponent
bond()
Retrieve the Underlying BondDiffusionEvolver
diffusionEvolver()
Retrieve the Diffusion EvolverBondEOSMetrics
generateRun()
Generate an Instance of a Replication RunGovvieBuilderSettings
govvieBuilderSetting()
Retrieve the Govvie Builder SettingsCurveSurfaceQuoteContainer
marketParameters()
Retrieve the Market Parametersint
numPath()
Retrieve the Number of Simulation Pathsdouble
price()
Retrieve the Pricestatic EOSMetricsReplicator
Standard(BondComponent bond, ValuationParams valParams, CurveSurfaceQuoteContainer csqc, GovvieBuilderSettings gbs, double dblLogNormalVolatility, double dblPrice)
Standard Static EOSMetricsReplicator CreatorValuationParams
valuationParameters()
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 bond, ValuationParams valParams, CurveSurfaceQuoteContainer csqc, GovvieBuilderSettings gbs, DiffusionEvolver de, int iNumPath, double dblPrice) throws java.lang.ExceptionEOSMetricsReplicator Constructor- Parameters:
bond
- Bond InstancevalParams
- Valuation Parameterscsqc
- Market Parametersgbs
- Govvie Builder Settingsde
- Diffusion EvolveriNumPath
- Number of Simulation PathsdblPrice
- Market Price- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid/Inconsistent
-
-
Method Details
-
Standard
public static final EOSMetricsReplicator Standard(BondComponent bond, ValuationParams valParams, CurveSurfaceQuoteContainer csqc, GovvieBuilderSettings gbs, double dblLogNormalVolatility, double dblPrice)Standard Static EOSMetricsReplicator Creator- Parameters:
bond
- Bond InstancevalParams
- Valuation Parameterscsqc
- Market Parametersgbs
- Govvie Builder SettingsdblLogNormalVolatility
- Long Normal Treasury Forward VolatilitydblPrice
- 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
-