Previous Topic

Next Topic

oX_Asian_GAR2( ) Function

Component

Resolution - Exotic Options

 

 

Function Definition

oX_Asian_GAR2(CallPut, ValueDate, IssueDate, ExpiryDate, Spot, AverageSpot, Strike, RiskFree, Carry, Volatility, FixDates, OutputFlag)

Calculates the value of a discretely monitored geometric average rate option using Levy's (1996) approximation

 

 

Function Parameters

 

Parameters

Description

 

Parameter Type

 

Restrictions

.

CallPut

 

Option type.

 

Enumerated Constant

 

1 - Call
2 - Put

ValueDate

 

Valuation date.

 

Date

 

IssueDate

 

Date at which the option was written.

 

Date

 

ExpiryDate

 

Expiry date of the option.

 

Date

 

Spot

 

Current market price of the underlying asset.

 

Double

 

Spot > 0

AverageSpot

 

Average price of the underlying asset.

 

Double

 

Strike

 

Strike price of the option.

 

Double

 

Strike > 0

RiskFree

 

Risk free interest rate, expressed as an annually compounded Actual 365 rate.

 

Double

 

Carry

 

Net cost of carry, expressed as an annually compounded Actual 365 rate.

 

Double

 

Volatility

 

Annualized volatility of the underlying asset, expressed as a decimal.

 

Double

 

Volatility > 0

FixDates

 

List of the dates upon which rate fixes occur.

 

Vector

 

FixDates vector must be a range of values 1 cell wide and 1 or more cells high.

OutputFlag

 

Indicates which result, or set of results, will be displayed in the worksheet. When returning more than one value, the function must be entered as an array function.

 

Enumerated Constant

 

0 - Value and Greeks
1 - Delta
2 - Gamma
3 - Sensitivity to Value Date
4 - Vega
5 - Rho
6 - Phi

Return to www.derivativepricing.com website

Copyright 2013 Hedgebook Ltd.