Package org.drip.capital.entity
Class CapitalSegment
java.lang.Object
org.drip.capital.entity.CapitalSegment
- All Implemented Interfaces:
CapitalSimulator
- Direct Known Subclasses:
ManagedSegmentL1
public abstract class CapitalSegment extends java.lang.Object implements CapitalSimulator
CapitalSegment exposes the VaR and the Stress Functionality for a Capital Segment. The References
are:
- Bank for International Supervision(2005): Stress Testing at Major Financial Institutions: Survey Results and Practice https://www.bis.org/publ/cgfs24.htm
- Glasserman, P. (2004): Monte Carlo Methods in Financial Engineering Springer
- Kupiec, P. H. (2000): Stress Tests and Risk Capital Risk 2 (4) 27-39
- Module = Portfolio Core Module
- Library = Capital Analytics
- Project = Basel Market Risk and Operational Capital
- Package = Economic Risk Capital Estimation Nodes
- Author:
- Lakshmi Krishnamurthy
-
Method Summary
Modifier and Type Method Description abstract CapitalUnit[]
capitalUnitArray()
Retrieve the Array of Capital UnitsPathPnLRealization[][]
capitalUnitPathPnLRealizationGrid(SimulationControl simulationControl, SimulationPnLControl simulationPnLControl)
Generate the Grid of Capital Unit Path RealizationsCapitalSegmentCoordinate
coordinate()
Retrieve the Capital Segment CoordinateCapitalSegmentPathEnsemble
pathEnsemble(java.util.Map<java.lang.String,PathEnsemble> pathEnsembleMap)
Generate the Simulation Path Ensemble Constricted to the specified Path Ensemble MapCapitalSegmentPathEnsemble
pathEnsemble(SimulationControl simulationControl, SimulationPnLControl simulationPnLControl)
Generate the Simulation Path EnsemblePathPnLRealization[]
pathPnLRealizationArray(SimulationControl simulationControl, SimulationPnLControl simulationPnLControl)
Generate the Array of Path PnL RealizationsMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Method Details
-
coordinate
Retrieve the Capital Segment Coordinate- Returns:
- Capital Segment Coordinate
-
capitalUnitArray
Retrieve the Array of Capital Units- Returns:
- Array of Capital Units
-
capitalUnitPathPnLRealizationGrid
public PathPnLRealization[][] capitalUnitPathPnLRealizationGrid(SimulationControl simulationControl, SimulationPnLControl simulationPnLControl)Generate the Grid of Capital Unit Path Realizations- Parameters:
simulationControl
- Simulation SettingssimulationPnLControl
- PnL Settings- Returns:
- Grid of Capital Unit Path Realizations
-
pathPnLRealizationArray
public PathPnLRealization[] pathPnLRealizationArray(SimulationControl simulationControl, SimulationPnLControl simulationPnLControl)Description copied from interface:CapitalSimulator
Generate the Array of Path PnL Realizations- Specified by:
pathPnLRealizationArray
in interfaceCapitalSimulator
- Parameters:
simulationControl
- Simulation SettingssimulationPnLControl
- PnL Settings- Returns:
- Array of Path PnL Realizations
-
pathEnsemble
public CapitalSegmentPathEnsemble pathEnsemble(SimulationControl simulationControl, SimulationPnLControl simulationPnLControl)Description copied from interface:CapitalSimulator
Generate the Simulation Path Ensemble- Specified by:
pathEnsemble
in interfaceCapitalSimulator
- Parameters:
simulationControl
- Simulation SettingssimulationPnLControl
- PnL Settings- Returns:
- The Simulation Path Ensemble
-
pathEnsemble
public CapitalSegmentPathEnsemble pathEnsemble(java.util.Map<java.lang.String,PathEnsemble> pathEnsembleMap)Generate the Simulation Path Ensemble Constricted to the specified Path Ensemble Map- Parameters:
pathEnsembleMap
- The Path Ensemble Constriction Map- Returns:
- The Constricted Simulation Path Ensemble
-