Package org.drip.capital.simulation
Class FSPnLDecomposition
java.lang.Object
org.drip.capital.simulation.FSPnLDecomposition
public class FSPnLDecomposition
extends java.lang.Object
FSPnLDecomposition holds the Per FS PnL Decomposition. 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 Simulation Ensemble
- Author:
- Lakshmi Krishnamurthy
-
Constructor Summary
Constructors Constructor Description FSPnLDecomposition(java.util.Map<java.lang.String,PnLSeries> fsMap)
FSPnLDecomposition Constructor -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.Double>
applyVolatilityAdjustment(java.util.Map<java.lang.String,java.lang.Double> fsTypeAdjustmentMap, double pnlScaler)
Apply the FS Type Specific Volatility Scaling to the PnL Decompositionjava.util.Map<java.lang.String,PnLSeries>
fsMap()
Retrieve the FS PnL Decomposition Mapdouble
grossPnL()
Retrieve the Cross-RF Gross PnLstatic FSPnLDecomposition
Standard(double notional)
Construct a Standard Instance of FSPnLDecompositionMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
FSPnLDecomposition
public FSPnLDecomposition(java.util.Map<java.lang.String,PnLSeries> fsMap) throws java.lang.ExceptionFSPnLDecomposition Constructor- Parameters:
fsMap
- FS PnL Decomposition Map- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
Standard
Construct a Standard Instance of FSPnLDecomposition- Parameters:
notional
- Notional the PnL is based upon- Returns:
- Standard Instance of FSPnLDecomposition
-
fsMap
Retrieve the FS PnL Decomposition Map- Returns:
- FS PnL Decomposition Map
-
grossPnL
public double grossPnL()Retrieve the Cross-RF Gross PnL- Returns:
- Cross-RF Gross PnL
-
applyVolatilityAdjustment
public java.util.Map<java.lang.String,java.lang.Double> applyVolatilityAdjustment(java.util.Map<java.lang.String,java.lang.Double> fsTypeAdjustmentMap, double pnlScaler)Apply the FS Type Specific Volatility Scaling to the PnL Decomposition- Parameters:
fsTypeAdjustmentMap
- FS Type Volatility Adjustment MappnlScaler
- The PnL Scaler- Returns:
- Volatility Adjusted FS PnL Decomposition Map
-