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 int
CURE_PERIOD_IMA_1992
1992 ISDA IMA Cure Period of 3 Business Daysstatic int
CURE_PERIOD_IMA_2002
2002 ISDA IMA Cure Period of 1 Business Daystatic int
ED_COMMUNICATION_DELAY_AGGRESSIVE
ED Communication Delay - Aggressivestatic int
ED_COMMUNICATION_DELAY_CONSERVATIVE
ED Communication Delay - Conservativestatic int
ETD_CALL_OUT_DELAY_AGGRESSIVE
ETD Call-out Delay - Aggressivestatic int
ETD_CALL_OUT_DELAY_CONSERVATIVE
ETD Call-out Delay - Conservativestatic int
ETD_DESIGNATION_DELAY_AGGRESSIVE
ETD Designation Delay - Aggressivestatic int
ETD_DESIGNATION_DELAY_CONSERVATIVE
ETD Designation Delay - Conservativestatic int
MARGIN_FREQUENCY_DAILY
Daily Margining Frequencystatic int
PED_CALL_OUT_DELAY_AGGRESSIVE
PED Call Out Delay - Aggressivestatic int
PED_CALL_OUT_DELAY_CONSERVATIVE
PED Call Out Delay - Conservativestatic int
PED_COMMUNICATION_DELAY_AGGRESSIVE
PED Communication Delay - Aggressivestatic int
PED_COMMUNICATION_DELAY_CONSERVATIVE
PED Communication Delay - Conservative -
Constructor Summary
Constructors Constructor Description EventDateBuilder()
-
Method Summary
Modifier and Type Method Description static EventDate
CollateralTransferInitiation(JulianDate date)
Construct the Collateral Transfer Initiation CSA Event Datestatic EventDate
DelayedCollateralTransferInitiation(EventDate honored, java.lang.String calendarSet)
Construct the Delayed Collateral Transfer Initiation CSA Event Datestatic EventDate
EarlyTerminationDate(JulianDate date)
Construct the Early Termination Date (ETD) CSA Event Datestatic EventDate
ED(JulianDate date)
Construct the Event of Default CSA Event Datestatic EventDate
EDCommunication(JulianDate date)
Construct the ED Communication CSA Event Datestatic EventDate
ETD(JulianDate date)
Construct the Early Termination Date (ETD) CSA Event Datestatic EventDate
ETDDesignation(JulianDate date)
Construct the ETD Designation CSA Event Datestatic EventDate
EventOfDefault(JulianDate date)
Construct the Event of Default CSA Event Datestatic EventDate
EventOfDefault(EventDate ped, java.lang.String calendarSet, int curePeriod)
Construct the Cure Period Adjusted EDstatic EventDate
Honored(JulianDate date)
Construct the Undisputed and Respected CSA Event Datestatic EventDate
Honored(EventDate valuation, java.lang.String calendarSet)
Construct the Undisputed and Respected CSA Event Date from the CSA Valuation Datestatic EventDate
IMA1992ED(EventDate ped, java.lang.String calendarSet)
Construct the IMA 1992 Cure Period Adjusted EDstatic EventDate
IMA2002ED(EventDate ped, java.lang.String calendarSet)
Construct the IMA 2002 Cure Period Adjusted EDstatic EventDate
NonHonored(JulianDate date)
Construct the Non-Honored CSA Event Datestatic EventDate
NonHonored(EventDate valuation, java.lang.String calendarSet)
Construct the Non-Honored CSA Event Datestatic EventDate
PED(JulianDate date)
Construct the Potential Event of Default CSA Event Datestatic EventDate
PEDCommunication(JulianDate date)
Construct the PED Communication CSA Event Datestatic EventDate
PotentialEventOfDefault(JulianDate date)
Construct the Potential Event of Default CSA Event Datestatic EventDate
RegularCollateralTransferInitiation(EventDate honored, java.lang.String calendarSet)
Construct the Regular Collateral Transfer Initiation CSA Event Datestatic EventDate
Valuation(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
-