schedule.h File Reference

#include "bastypes.h"
#include "convert.h"
#include "ldate.h"

Enumerations

enum  TSwapType { JPMCDS_SINGLE_REFIX }
enum  TStubType { JPMCDS_NO_STUB, JPMCDS_BACK_STUB, JPMCDS_FRONT_STUB, JPMCDS_TWO_STUB }

Functions

TCouponDateListJpmcdsNewCouponDatesSwap (TDate startDate, TDate matDate, TDateInterval *couponInterval, TBoolean adjustLastAccDate, TBoolean inArrears, int payOffsetDays, int resetOffsetDays, TBoolean stubAtEnd, TBoolean longStub, TDate firstRollDate, TDate lastRollDate, TDate fullFirstCoupDate, long payBadDayConv, long accBadDayConv, long resetBadDayConv, char *holidayFile)
 Creates a date schedule for one stream of a swap.
TCouponDateListJpmcdsNewEmptyCouponDateList (int numPeriods)
 Creates a new empty TCouponDateList.
void JpmcdsFreeCouponDateList (TCouponDateList *theSchedule)
 Frees a TCouponDateList.
int JpmcdsCouponDateListCheck (TCouponDateList *schedule)
 Checks the details for a stream schedule.
int JpmcdsGenerateUnadjDates (TDate startDate, TDate matDate, TDateInterval *couponInterval, TBoolean stubAtEnd, TBoolean longStub, TDate firstRollDate, TDate lastRollDate, TDateList **dateList, long *stubInfo)
 Generate a list of unadjusted coupon dates for the stream.

Detailed Description


Distributed by BN Algorithms Ltd -- consulting in quantitative finance, mathematical algorithms and software implementations. CDS Home Page. For enquires contact webs@bnikolic.co.uk.
This documentation is derived from ISDA CDS Standard Model version 1.7. You can get a copy of the original ISDA code at www.bnikolic.co.uk. This is a derivative work under the terms of the ISDA CDS Standard Model Public License. BN Algorithms Ltd licenses this work to you solely for on-screen viewing on your own computer. Making copies and further distribution of this work is prohibited.
This documentation is provided "as-is", without warranty of any kind, either expressed or implied, including, without limitation, warranties that the documentation is free of defects, merchantable, fit for a particular purpose or non-infringing. the entire risk as to the quality of the documentation is with you. Should this documentation prove defective in any respect, you (not the licensor) assume the cost of any necessary correction. This disclaimer of warranty constitutes an essential part of this license.