Previous Topic

Next Topic

oSWPir1_Dates( ) - Interest Rate Swap 1 Dates Function

Component

Resolution - Swap Pricing

 

 

Function Definition

oSWPir1_Dates(ValueDate, SettlementDate, EffectiveDate, MaturityDate, PaymentFreq, BusinessDayConv, ResetOffset, DateGeneration, HolidaySchedule)

Generates the coupon dates for a vanilla interest rate swap. Returns a table consisting of three columns: Leg, Effective Date, and Terminal Date.

 

 

Swap Types

Vanilla interest rate swaps.

 

 

Function Parameters

 

Parameters

Description

 

Parameter Type

 

Restrictions

.

ValueDate

 

The valuation date of the swap.

 

Date

 

ValDate < SettleDate

SettlementDate

 

The date on which the trade will settle. This is typically 1-3 business days after the trade.

 

Date

 

SettleDate < MatDate

EffectiveDate

 

The first date from which interest begins to accrue.

 

Date

 

EffDate < MatDate

MaturityDate

 

The maturity date of the swap.

 

Date

 

As above.

PaymentFreq

 

Frequency of the coupon payment.

 

Enumerated Constant

 

1 - Annual
2 - Semi-Annual
3 - Quarterly
4 - Monthly
5 - Bi-Weekly
6 - Weekly

BusinessDayConv

 

Business day convention. Used to determine the start and end date of each coupon payment period.

See Business Day Conventions

 

Enumerated Constant

 

1 - No Adjustment
2 - Previous
3 - Following
4 - Mod Previous
5 - Mod Following
6 - EOM No Adjust
7 - EOM previous
8 - EOM following

ResetOffset

 

Used to determine the reset date for each floating leg reset. The reset date precedes the effective date for each coupon period by the number of days equal to the reset offset.

 

Integer

 

ResetOffset >= 0

DateGeneration

 

Determines if the rate reset cycle is computed backwards from the maturity date or forwards from the effective date.

 

Enumerated Constant

 

1 - Maturity Date
2 - Effective Date

HolidaySchedule

 

Schedule of non-business days (excluding weekends)

 

Date Range

 

Leave blank if not applicable

 

 

 

 

 

 

 

See Also

Parameter Types

Swap Function Parameters

oSWPir1_Price( ) - Interest Rate Swap 1 Price Function

oSWPir1_Price_FL( ) - Interest Rate Swap 1 Floating Leg Price Function

oSWPir1_Price_FX( ) - Interest Rate Swap 1 Fixed Leg Price Function

oSWPir2_Dates( ) - Interest Rate Swap 2 Dates Function

oSWPir1_CFM_FL( ) - Interest Rate Swap 1 Floating Leg Cash Flow Map Function

oSWPir1_CFM_FX( ) - Interest Rate Swap 1 Fixed Leg Cash Flow Map Function

Return to www.derivativepricing.com website

Copyright 2013 Hedgebook Ltd.