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.



Author:
Lakshmi Krishnamurthy
  • Constructor Details

    • EOSMetricsReplicator

      public EOSMetricsReplicator​(BondComponent bond, ValuationParams valParams, CurveSurfaceQuoteContainer csqc, GovvieBuilderSettings gbs, DiffusionEvolver de, int iNumPath, double dblPrice) throws java.lang.Exception
      EOSMetricsReplicator Constructor
      Parameters:
      bond - Bond Instance
      valParams - Valuation Parameters
      csqc - Market Parameters
      gbs - Govvie Builder Settings
      de - Diffusion Evolver
      iNumPath - Number of Simulation Paths
      dblPrice - 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 Instance
      valParams - Valuation Parameters
      csqc - Market Parameters
      gbs - Govvie Builder Settings
      dblLogNormalVolatility - Long Normal Treasury Forward Volatility
      dblPrice - Market Price
      Returns:
      EOSMetricsReplicator Instance
    • bond

      public BondComponent bond()
      Retrieve the Underlying Bond
      Returns:
      The Underlying Bond
    • valuationParameters

      public ValuationParams valuationParameters()
      Retrieve the Valuation Parameters
      Returns:
      The Valuation Parameters
    • marketParameters

      public CurveSurfaceQuoteContainer marketParameters()
      Retrieve the Market Parameters
      Returns:
      The Market Parameters
    • price

      public double price()
      Retrieve the Price
      Returns:
      The Price
    • diffusionEvolver

      public DiffusionEvolver diffusionEvolver()
      Retrieve the Diffusion Evolver
      Returns:
      The Diffusion Evolver
    • govvieBuilderSetting

      public GovvieBuilderSettings 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

      public BondEOSMetrics generateRun()
      Generate an Instance of a Replication Run
      Returns:
      Instance of a Replication Run