Class AndersenPykhtinSokolPath
java.lang.Object
org.drip.exposure.regressiontrade.AndersenPykhtinSokolPath
public class AndersenPykhtinSokolPath
extends java.lang.Object
AndersenPykhtinSokolPath holds the holds the Sparse Path Adjusted/Unadjusted Exposures along with
Dense Trade Payments. Adjustments are applied in accordance with the Andersen, Pykhtin, and Sokol (2017a)
Regression Scheme. 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 AndersenPykhtinSokolPath(TradePayment[] denseTradePaymentArray)
AndersenPykhtinSokolPath Constructor -
Method Summary
Modifier and Type Method Description boolean
addVariationMarginEstimateVertex(int vertexDate, double unadjustedVariationMarginEstimate, double adjustedVariationMarginEstimate)
Add the Variation Margin Estimate corresponding to the VertexTradePayment[]
denseTradePaymentArray()
Retrieve the Path-wise Dense Trade Payment Arrayjava.util.Map<java.lang.Integer,VariationMarginEstimateVertex>
variationMarginEstimateTrajectory()
Retrieve the Path-wise Variation Margin Estimate TrajectoryMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
AndersenPykhtinSokolPath
AndersenPykhtinSokolPath Constructor- Parameters:
denseTradePaymentArray
- The Dense Trade Payment Array- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
addVariationMarginEstimateVertex
public boolean addVariationMarginEstimateVertex(int vertexDate, double unadjustedVariationMarginEstimate, double adjustedVariationMarginEstimate)Add the Variation Margin Estimate corresponding to the Vertex- Parameters:
vertexDate
- The Vertex DateunadjustedVariationMarginEstimate
- The Unadjusted Variation Margin EstimateadjustedVariationMarginEstimate
- The Adjusted Variation Margin Estimate- Returns:
- TRUE - The Variation Margin Estimate successfully added to the Vertex
-
variationMarginEstimateTrajectory
public java.util.Map<java.lang.Integer,VariationMarginEstimateVertex> variationMarginEstimateTrajectory()Retrieve the Path-wise Variation Margin Estimate Trajectory- Returns:
- The Path-wise Variation Margin Estimate Trajectory
-
denseTradePaymentArray
Retrieve the Path-wise Dense Trade Payment Array- Returns:
- The Path-wise Dense Trade Payment Array
-