Package org.drip.exposure.csatimeline
Class EventDateBuilder
java.lang.Object
org.drip.exposure.csatimeline.EventDateBuilder
public class EventDateBuilder
extends java.lang.Object
EventDateBuilder builds the CSA BCBS/IOSCO Dates prescribed Events Time-line occurring Margin
Period. 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
- Anfuso, F., D. Aziz, P. Giltinan, and K Loukopoulus (2017): A Sound Modeling and Back-testing Framework for Forecasting Initial Margin Requirements https://papers.ssrn.com/sol3/papers.cfm?abstract_id=2716279 eSSRN
- BCBS (2015): Margin Requirements for Non-centrally Cleared Derivatives https://www.bis.org/bcbs/publ/d317.pdf
- Pykhtin, M. (2009): Modeling Credit Exposure for Collateralized Counter-parties Journal of Credit Risk 5 (4) 3-27
- Module = Portfolio Core Module
- Library = Exposure Analytics
- Project = Exposure Group Level Collateralized/Uncollateralized Exposure
- Package = Time-line of IMA/CSA Event Dates
- Author:
- Lakshmi Krishnamurthy
-
Field Summary
Fields Modifier and Type Field Description static intCURE_PERIOD_IMA_19921992 ISDA IMA Cure Period of 3 Business Daysstatic intCURE_PERIOD_IMA_20022002 ISDA IMA Cure Period of 1 Business Daystatic intED_COMMUNICATION_DELAY_AGGRESSIVEED Communication Delay - Aggressivestatic intED_COMMUNICATION_DELAY_CONSERVATIVEED Communication Delay - Conservativestatic intETD_CALL_OUT_DELAY_AGGRESSIVEETD Call-out Delay - Aggressivestatic intETD_CALL_OUT_DELAY_CONSERVATIVEETD Call-out Delay - Conservativestatic intETD_DESIGNATION_DELAY_AGGRESSIVEETD Designation Delay - Aggressivestatic intETD_DESIGNATION_DELAY_CONSERVATIVEETD Designation Delay - Conservativestatic intMARGIN_FREQUENCY_DAILYDaily Margining Frequencystatic intPED_CALL_OUT_DELAY_AGGRESSIVEPED Call Out Delay - Aggressivestatic intPED_CALL_OUT_DELAY_CONSERVATIVEPED Call Out Delay - Conservativestatic intPED_COMMUNICATION_DELAY_AGGRESSIVEPED Communication Delay - Aggressivestatic intPED_COMMUNICATION_DELAY_CONSERVATIVEPED Communication Delay - Conservative -
Constructor Summary
Constructors Constructor Description EventDateBuilder() -
Method Summary
Modifier and Type Method Description static EventDateCollateralTransferInitiation(JulianDate date)Construct the Collateral Transfer Initiation CSA Event Datestatic EventDateDelayedCollateralTransferInitiation(EventDate honored, java.lang.String calendarSet)Construct the Delayed Collateral Transfer Initiation CSA Event Datestatic EventDateEarlyTerminationDate(JulianDate date)Construct the Early Termination Date (ETD) CSA Event Datestatic EventDateED(JulianDate date)Construct the Event of Default CSA Event Datestatic EventDateEDCommunication(JulianDate date)Construct the ED Communication CSA Event Datestatic EventDateETD(JulianDate date)Construct the Early Termination Date (ETD) CSA Event Datestatic EventDateETDDesignation(JulianDate date)Construct the ETD Designation CSA Event Datestatic EventDateEventOfDefault(JulianDate date)Construct the Event of Default CSA Event Datestatic EventDateEventOfDefault(EventDate ped, java.lang.String calendarSet, int curePeriod)Construct the Cure Period Adjusted EDstatic EventDateHonored(JulianDate date)Construct the Undisputed and Respected CSA Event Datestatic EventDateHonored(EventDate valuation, java.lang.String calendarSet)Construct the Undisputed and Respected CSA Event Date from the CSA Valuation Datestatic EventDateIMA1992ED(EventDate ped, java.lang.String calendarSet)Construct the IMA 1992 Cure Period Adjusted EDstatic EventDateIMA2002ED(EventDate ped, java.lang.String calendarSet)Construct the IMA 2002 Cure Period Adjusted EDstatic EventDateNonHonored(JulianDate date)Construct the Non-Honored CSA Event Datestatic EventDateNonHonored(EventDate valuation, java.lang.String calendarSet)Construct the Non-Honored CSA Event Datestatic EventDatePED(JulianDate date)Construct the Potential Event of Default CSA Event Datestatic EventDatePEDCommunication(JulianDate date)Construct the PED Communication CSA Event Datestatic EventDatePotentialEventOfDefault(JulianDate date)Construct the Potential Event of Default CSA Event Datestatic EventDateRegularCollateralTransferInitiation(EventDate honored, java.lang.String calendarSet)Construct the Regular Collateral Transfer Initiation CSA Event Datestatic EventDateValuation(JulianDate date)Construct the CSA Valuation Event DateMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
CURE_PERIOD_IMA_1992
public static final int CURE_PERIOD_IMA_19921992 ISDA IMA Cure Period of 3 Business Days- See Also:
- Constant Field Values
-
CURE_PERIOD_IMA_2002
public static final int CURE_PERIOD_IMA_20022002 ISDA IMA Cure Period of 1 Business Day- See Also:
- Constant Field Values
-
MARGIN_FREQUENCY_DAILY
public static final int MARGIN_FREQUENCY_DAILYDaily Margining Frequency- See Also:
- Constant Field Values
-
PED_CALL_OUT_DELAY_AGGRESSIVE
public static final int PED_CALL_OUT_DELAY_AGGRESSIVEPED Call Out Delay - Aggressive- See Also:
- Constant Field Values
-
PED_CALL_OUT_DELAY_CONSERVATIVE
public static final int PED_CALL_OUT_DELAY_CONSERVATIVEPED Call Out Delay - Conservative- See Also:
- Constant Field Values
-
PED_COMMUNICATION_DELAY_AGGRESSIVE
public static final int PED_COMMUNICATION_DELAY_AGGRESSIVEPED Communication Delay - Aggressive- See Also:
- Constant Field Values
-
PED_COMMUNICATION_DELAY_CONSERVATIVE
public static final int PED_COMMUNICATION_DELAY_CONSERVATIVEPED Communication Delay - Conservative- See Also:
- Constant Field Values
-
ED_COMMUNICATION_DELAY_AGGRESSIVE
public static final int ED_COMMUNICATION_DELAY_AGGRESSIVEED Communication Delay - Aggressive- See Also:
- Constant Field Values
-
ED_COMMUNICATION_DELAY_CONSERVATIVE
public static final int ED_COMMUNICATION_DELAY_CONSERVATIVEED Communication Delay - Conservative- See Also:
- Constant Field Values
-
ETD_DESIGNATION_DELAY_AGGRESSIVE
public static final int ETD_DESIGNATION_DELAY_AGGRESSIVEETD Designation Delay - Aggressive- See Also:
- Constant Field Values
-
ETD_DESIGNATION_DELAY_CONSERVATIVE
public static final int ETD_DESIGNATION_DELAY_CONSERVATIVEETD Designation Delay - Conservative- See Also:
- Constant Field Values
-
ETD_CALL_OUT_DELAY_AGGRESSIVE
public static final int ETD_CALL_OUT_DELAY_AGGRESSIVEETD Call-out Delay - Aggressive- See Also:
- Constant Field Values
-
ETD_CALL_OUT_DELAY_CONSERVATIVE
public static final int ETD_CALL_OUT_DELAY_CONSERVATIVEETD Call-out Delay - Conservative- See Also:
- Constant Field Values
-
-
Constructor Details
-
EventDateBuilder
public EventDateBuilder()
-
-
Method Details
-
Valuation
Construct the CSA Valuation Event Date- Parameters:
date- The Valuation Date- Returns:
- The CSA Valuation Event Date
-
Honored
Construct the Undisputed and Respected CSA Event Date- Parameters:
date- The CSA Honored Date- Returns:
- The Undisputed and Respected CSA Event Date
-
Honored
Construct the Undisputed and Respected CSA Event Date from the CSA Valuation Date- Parameters:
valuation- The CSA Valuation Event DatecalendarSet- The Calendar Set- Returns:
- The Undisputed and Respected CSA Event Date from the CSA Valuation Date
-
CollateralTransferInitiation
Construct the Collateral Transfer Initiation CSA Event Date- Parameters:
date- The Collateral Transfer Initiation Date- Returns:
- The Collateral Transfer Initiation CSA Event Date
-
RegularCollateralTransferInitiation
public static final EventDate RegularCollateralTransferInitiation(EventDate honored, java.lang.String calendarSet)Construct the Regular Collateral Transfer Initiation CSA Event Date- Parameters:
honored- The CSA Last Honored Event DatecalendarSet- The Calendar Set- Returns:
- The Regular Collateral Transfer Initiation CSA Event Date
-
DelayedCollateralTransferInitiation
public static final EventDate DelayedCollateralTransferInitiation(EventDate honored, java.lang.String calendarSet)Construct the Delayed Collateral Transfer Initiation CSA Event Date- Parameters:
honored- The CSA Last Honored Event DatecalendarSet- The Calendar Set- Returns:
- The Delayed Collateral Transfer Initiation CSA Event Date
-
NonHonored
Construct the Non-Honored CSA Event Date- Parameters:
date- The CSA Non-Honored Date- Returns:
- The Non-Honored CSA Event Date
-
NonHonored
Construct the Non-Honored CSA Event Date- Parameters:
valuation- The CSA Valuation Event DatecalendarSet- The Calendar Set- Returns:
- The Non-Honored CSA Event Date
-
PotentialEventOfDefault
Construct the Potential Event of Default CSA Event Date- Parameters:
date- The Potential Event of Default Date- Returns:
- The Potential Event of Default CSA Event Date
-
PED
Construct the Potential Event of Default CSA Event Date- Parameters:
date- The Potential Event of Default Date- Returns:
- The Potential Event of Default CSA Event Date
-
PEDCommunication
Construct the PED Communication CSA Event Date- Parameters:
date- The PED Communication Date- Returns:
- The PED Communication CSA Event Date
-
EventOfDefault
Construct the Event of Default CSA Event Date- Parameters:
date- The Event of Default Date- Returns:
- The Event of Default CSA Event Date
-
ED
Construct the Event of Default CSA Event Date- Parameters:
date- The Event of Default Date- Returns:
- The Event of Default CSA Event Date
-
EventOfDefault
public static final EventDate EventOfDefault(EventDate ped, java.lang.String calendarSet, int curePeriod)Construct the Cure Period Adjusted ED- Parameters:
ped- The PED CSA Event DatecalendarSet- The Calendar SetcurePeriod- The Cure Period- Returns:
- The Cure Period Adjusted ED
-
IMA1992ED
Construct the IMA 1992 Cure Period Adjusted ED- Parameters:
ped- The PED CSA Event DatecalendarSet- The Calendar Set- Returns:
- The IMA 1992 Cure Period Adjusted ED
-
IMA2002ED
Construct the IMA 2002 Cure Period Adjusted ED- Parameters:
ped- The PED CSA Event DatecalendarSet- The Calendar Set- Returns:
- The IMA 2002 Cure Period Adjusted ED
-
EDCommunication
Construct the ED Communication CSA Event Date- Parameters:
date- The ED Communication Date- Returns:
- The ED Communication CSA Event Date
-
ETDDesignation
Construct the ETD Designation CSA Event Date- Parameters:
date- The ETD Designation Date- Returns:
- The ETD Designation CSA Event Date
-
ETD
Construct the Early Termination Date (ETD) CSA Event Date- Parameters:
date- The Early Termination Date (ETD)- Returns:
- The Early Termination Date (ETD) CSA Event Date
-
EarlyTerminationDate
Construct the Early Termination Date (ETD) CSA Event Date- Parameters:
date- The Early Termination Date (ETD)- Returns:
- The Early Termination Date (ETD) CSA Event Date
-