Class SystemicStressShockIndicator
java.lang.Object
org.drip.capital.systemicscenario.SystemicStressShockIndicator
public class SystemicStressShockIndicator
extends java.lang.Object
SystemicStressShockIndicator holds the Directional Indicator Settings for a given Systemic Stress
Shock Event. 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 = Systemic Stress Scenario Design/Construction
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFLATIONARY
DEFLATIONARY Systemic Stress Scenariostatic int
DOWN
Systemic Stress Shock Direction DOWNstatic java.lang.String
INFLATIONARY
INFLATIONARY Systemic Stress Scenariostatic java.lang.String
NEITHER
Neither DEFLATIONARY nor INFLATIONARY Systemic Stress Scenariostatic int
UNSPECIFIED
Systemic Stress Shock Direction UNSPECIFIEDstatic int
UP
Systemic Stress Shock Direction UP -
Constructor Summary
Constructors Constructor Description SystemicStressShockIndicator(int creditSpreads, int equityMarkets, int yieldCurveLevel, int commodities, int energy)
SystemicStressShockIndicator Constructor -
Method Summary
Modifier and Type Method Description int
commodities()
Retrieve the Commodities Directional Indicatorint
creditSpreads()
Retrieve the Credit Spreads Directional Indicatorstatic SystemicStressShockIndicator
Deflationary()
Construct a Deflationary Systemic Stress Shock Indicatorint
energy()
Retrieve the Energy Directional Indicatorint
equityMarkets()
Retrieve the Equity Markets Directional Indicatorstatic SystemicStressShockIndicator
Inflationary()
Construct a Inflationary Systemic Stress Shock Indicatorjava.lang.String
inflationType()
Indicate the Inflation Typeboolean
isDeflationary()
Indicate if the Scenario is DEFLATIONARYboolean
isInflationary()
Indicate if the Scenario is INFLATIONARYint
yieldCurveLevel()
Retrieve the Yield Curve Level Directional IndicatorMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
UP
public static final int UPSystemic Stress Shock Direction UP- See Also:
- Constant Field Values
-
DOWN
public static final int DOWNSystemic Stress Shock Direction DOWN- See Also:
- Constant Field Values
-
UNSPECIFIED
public static final int UNSPECIFIEDSystemic Stress Shock Direction UNSPECIFIED- See Also:
- Constant Field Values
-
DEFLATIONARY
public static final java.lang.String DEFLATIONARYDEFLATIONARY Systemic Stress Scenario- See Also:
- Constant Field Values
-
INFLATIONARY
public static final java.lang.String INFLATIONARYINFLATIONARY Systemic Stress Scenario- See Also:
- Constant Field Values
-
NEITHER
public static final java.lang.String NEITHERNeither DEFLATIONARY nor INFLATIONARY Systemic Stress Scenario- See Also:
- Constant Field Values
-
-
Constructor Details
-
SystemicStressShockIndicator
public SystemicStressShockIndicator(int creditSpreads, int equityMarkets, int yieldCurveLevel, int commodities, int energy) throws java.lang.ExceptionSystemicStressShockIndicator Constructor- Parameters:
creditSpreads
- Credit Spreads Directional IndicatorequityMarkets
- Equity Markets Directional IndicatoryieldCurveLevel
- Yield Curve Level Directional Indicatorcommodities
- Commodities Directional Indicatorenergy
- Energy Directional Indicator- Throws:
java.lang.Exception
- Thrown if the Inputs are Invalid
-
-
Method Details
-
Deflationary
Construct a Deflationary Systemic Stress Shock Indicator- Returns:
- Deflationary Systemic Stress Shock Indicator
-
Inflationary
Construct a Inflationary Systemic Stress Shock Indicator- Returns:
- Inflationary Systemic Stress Shock Indicator
-
creditSpreads
public int creditSpreads()Retrieve the Credit Spreads Directional Indicator- Returns:
- The Credit Spreads Directional Indicator
-
equityMarkets
public int equityMarkets()Retrieve the Equity Markets Directional Indicator- Returns:
- The Equity Markets Directional Indicator
-
yieldCurveLevel
public int yieldCurveLevel()Retrieve the Yield Curve Level Directional Indicator- Returns:
- The Yield Curve Level Directional Indicator
-
commodities
public int commodities()Retrieve the Commodities Directional Indicator- Returns:
- The Commodities Directional Indicator
-
energy
public int energy()Retrieve the Energy Directional Indicator- Returns:
- The Energy Directional Indicator
-
isDeflationary
public boolean isDeflationary()Indicate if the Scenario is DEFLATIONARY- Returns:
- TRUE - The Scenario is DEFLATIONARY
-
isInflationary
public boolean isInflationary()Indicate if the Scenario is INFLATIONARY- Returns:
- TRUE - The Scenario is INFLATIONARY
-
inflationType
public java.lang.String inflationType()Indicate the Inflation Type- Returns:
- The Inflation Type
-