Class AdjustedVariationMarginEstimator
java.lang.Object
org.drip.exposure.regressiontrade.AdjustedVariationMarginEstimator
public class AdjustedVariationMarginEstimator
extends java.lang.Object
AdjustedVariationMarginEstimator coordinates the Generation of the Path-specific Trade Payment
Adjusted Variation Margin Flows. The References are:
- Andersen, L. B. G., M. Pykhtin, and A. Sokol (2017): Re-thinking Margin Period of Risk https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2902737 eSSRN
- Andersen, L. B. G., M. Pykhtin, and A. Sokol (2017): Credit Exposure in the Presence of Initial Margin https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2806156 eSSRN
- Albanese, C., and L. Andersen (2014): Accounting for OTC Derivatives: Funding Adjustments and the Re-Hypothecation Option https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2482955 eSSRN
- Burgard, C., and M. Kjaer (2017): Derivatives Funding, Netting, and Accounting https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2534011 eSSRN
- Pykhtin, M. (2009): Modeling Counter-party Credit Exposure in the Presence of Margin Agreements http://www.risk-europe.com/protected/michael-pykhtin.pdf
- Module = Portfolio Core Module
- Library = Exposure Analytics
- Project = Exposure Group Level Collateralized/Uncollateralized Exposure
- Package = Exposure Regression under Margin and Trade Payments
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description AdjustedVariationMarginEstimator(VariationMarginTradePaymentVertex marginTradePaymentGenerator, MarketPath marketPath)
AdjustedVariationMarginEstimator Constructor -
Method Summary
Modifier and Type Method Description AdjustedVariationMarginEstimate
adjustedVariationMarginEstimate(int[] exposureDateArray)
Generate the Path-wise Andersen Pykhtin Sokol (2017) Adjusted Variation Margin EstimatesAndersenPykhtinSokolPath
andersenPykhtinSokolPath(int[] exposureDateArray)
Generate the Path-wise Andersen Pykhtin Sokol (2017) Variation Margin Estimates on the Exposure DatesTradePayment[]
denseTradePayment(int startDate, int endDate)
Retrieve the Dense Trade Payment Array across the Exposure Date RangeVariationMarginTradePaymentVertex
marginTradePaymentGenerator()
Retrieve the Path-wise Variation Margin/Trade Payment GeneratorMarketPath
marketPath()
Retrieve the Path-wise Market Pathdouble[]
variationMarginEstimate(int[] exposureDateArray)
Generate the Path-wise Variation Margin Estimate on the Exposure DatesMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AdjustedVariationMarginEstimator
public AdjustedVariationMarginEstimator(VariationMarginTradePaymentVertex marginTradePaymentGenerator, MarketPath marketPath) throws java.lang.ExceptionAdjustedVariationMarginEstimator Constructor- Parameters:
marginTradePaymentGenerator
- The Path-wise Variation Margin/Trade Payment GeneratormarketPath
- The Market Path- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
marginTradePaymentGenerator
Retrieve the Path-wise Variation Margin/Trade Payment Generator- Returns:
- The Path-wise Variation Margin/Trade Payment Generator
-
marketPath
Retrieve the Path-wise Market Path- Returns:
- The Path-wise Market Path
-
variationMarginEstimate
public double[] variationMarginEstimate(int[] exposureDateArray)Generate the Path-wise Variation Margin Estimate on the Exposure Dates- Parameters:
exposureDateArray
- The Path-wise Exposure Dates- Returns:
- The Path-wise Variation Margin Estimate on the Exposure Dates
-
denseTradePayment
Retrieve the Dense Trade Payment Array across the Exposure Date Range- Parameters:
startDate
- The Exposure Range Start DateendDate
- The Exposure Range End Date- Returns:
- The Dense Trade Payment Array
-
andersenPykhtinSokolPath
Generate the Path-wise Andersen Pykhtin Sokol (2017) Variation Margin Estimates on the Exposure Dates- Parameters:
exposureDateArray
- The Path-wise Exposure Dates- Returns:
- The Path-wise Andersen Pykhtin Sokol (2017) Variation Margin Estimates on the Exposure Dates
-
adjustedVariationMarginEstimate
Generate the Path-wise Andersen Pykhtin Sokol (2017) Adjusted Variation Margin Estimates- Parameters:
exposureDateArray
- The Path-wise Exposure Dates- Returns:
- The Path-wise Andersen Pykhtin Sokol (2017) Adjusted Variation Margin Estimates
-