Package org.drip.exposure.universe
Class MarketPath
java.lang.Object
org.drip.exposure.universe.MarketPath
public class MarketPath
extends java.lang.Object
MarketPath holds the Vertex Market Realizations at the Trajectory Vertexes along the Path of a
Simulation. The References are:
- Burgard, C., and M. Kjaer (2013): Funding Costs, Funding Strategies Risk 23 (12) 82-87
- Burgard, C., and M. Kjaer (2014): In the Balance Risk 24 (11) 72-75
- Burgard, C., and M. Kjaer (2014): PDE Representations of Derivatives with Bilateral Counter- party Risk and Funding Costs Journal of Credit Risk 7 (3) 1-19
- Gregory, J. (2009): Being Two-faced over Counter-party Credit Risk Risk 20 (2) 86-90
- Piterbarg, V. (2010): Funding Beyond Discounting: Collateral Agreements and Derivatives Pricing Risk 21 (2) 97-102
- Module = Portfolio Core Module
- Library = Exposure Analytics
- Project = Exposure Group Level Collateralized/Uncollateralized Exposure
- Package = Exposure Generation - Market States Simulation
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description MarketPath(java.util.Map<java.lang.Integer,MarketVertex> marketVertexTrajectory)
MarketPath Constructor -
Method Summary
Modifier and Type Method Description JulianDate[]
anchorDates()
Retrieve the Array of the Vertex Anchor Datesboolean
containsDate(int vertexDate)
Indicate if the Market Vertex is available for the Specified DateMarketVertex
epochalMarketVertex()
Retrieve the Epochal Market Vertexstatic MarketPath
FromMarketVertexArray(MarketVertex[] marketVertexArray)
Generate the Market Path from Market Vertex ArrayMarketVertex
marketVertex(int vertexDate)
Retrieve the Market Vertex for the Specified DateMarketVertex[]
marketVertexArray()
Retrieve the Array of the Market VertexesMarketVertex
terminalMarketVertex()
Retrieve the Terminal Market Vertexjava.util.Map<java.lang.Integer,MarketVertex>
trajectory()
Retrieve the Trajectory of the Market VertexesMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
MarketPath
public MarketPath(java.util.Map<java.lang.Integer,MarketVertex> marketVertexTrajectory) throws java.lang.ExceptionMarketPath Constructor- Parameters:
marketVertexTrajectory
- Date Map of the Market Vertexes- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
FromMarketVertexArray
Generate the Market Path from Market Vertex Array- Parameters:
marketVertexArray
- The Market Vertex Array- Returns:
- The Market Path
-
anchorDates
Retrieve the Array of the Vertex Anchor Dates- Returns:
- The Array of the Vertex Anchor Dates
-
trajectory
Retrieve the Trajectory of the Market Vertexes- Returns:
- The Market Vertex Trajectory
-
marketVertexArray
Retrieve the Array of the Market Vertexes- Returns:
- The Market Vertex Array
-
epochalMarketVertex
Retrieve the Epochal Market Vertex- Returns:
- The Epochal Market Vertex
-
terminalMarketVertex
Retrieve the Terminal Market Vertex- Returns:
- The Terminal Market Vertex
-
containsDate
public boolean containsDate(int vertexDate)Indicate if the Market Vertex is available for the Specified Date- Parameters:
vertexDate
- The Vertex Date- Returns:
- TRUE - The Market Vertex is available for the Specified Date
-
marketVertex
Retrieve the Market Vertex for the Specified Date- Parameters:
vertexDate
- The Vertex Date- Returns:
- The Market Vertex for the Specified Date
-