Previous Topic

Next Topic

oGetFwdDate( ) Function

Component

Resolution - Utility

 

Function Definition

oGetFwdDate(StartDate, OffsetNumber, OffsetType, BusDayCon, Holidays)

Returns the forward date.

 

 

Function Parameters

 

Parameters

Description

 

Parameter Type

 

Restrictions

.

StartDate

 

Start date of the period.

 

Date

 

 

OffsetNumber

The number of units to offset by. Used in conjunction with OffsetType.

 

Double

 

 

OffsetType

 

The unit of offset.

 

Enumerated Constant

 

1 - Calendar Days
2 - Market Days
3 - Weeks
4 - Months
5 - Years

BusDayCon

 

Business day convention Used to determine the start and end date of the 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

Holidays

 

Schedule of non-business days (excluding weekends).

 

Date Range

 

Leave blank if not applicable

 

 

 

 

 

 

 

Return to www.derivativepricing.com website

Copyright 2013 Hedgebook Ltd.