Documentation

This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English verison of the page.

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.

asianbykv

Prices European geometric Asian options using Kemna-Vorst model

Syntax

Price = asianbykv(RateSpec,StockSpec,OptSpec,Strike,Settle,ExerciseDates)

Description

example

Price = asianbykv(RateSpec,StockSpec,OptSpec,Strike,Settle,ExerciseDates) returns prices of European geometric Asian options using the Kemna-Vorst model.

Examples

collapse all

Define the RateSpec.

StartDates = 'Jan-1-2013';
EndDates = 'Jan-1-2014';
Rates = 0.035;
Basis = 1;
RateSpec = intenvset('ValuationDate', StartDates, 'StartDates', StartDates, ...
'EndDates', EndDates,'Rates', Rates,  'Compounding', -1, 'Basis', Basis)
RateSpec = struct with fields:
           FinObj: 'RateSpec'
      Compounding: -1
             Disc: 0.9656
            Rates: 0.0350
         EndTimes: 1
       StartTimes: 0
         EndDates: 735600
       StartDates: 735235
    ValuationDate: 735235
            Basis: 1
     EndMonthRule: 1

Define the StockSpec for the asset.

AssetPrice = 100;
Sigma = 0.15;
DivType = 'continuous';
DivAmounts = 0.03;
StockSpec = stockspec(Sigma, AssetPrice, DivType, DivAmounts)
StockSpec = struct with fields:
             FinObj: 'StockSpec'
              Sigma: 0.1500
         AssetPrice: 100
       DividendType: {'continuous'}
    DividendAmounts: 0.0300
    ExDividendDates: []

Define the Asian 'call' and 'put' options.

Strike = 102;
OptSpec = {'put'; 'call'};
Settle = 'Jan-1-2013';
Maturity = 'Apr-1-2013';

Compute the European geometric Average Price for the Asian option using the Kemna-Vorst model.

Price = asiansensbykv(RateSpec, StockSpec, OptSpec, Strike, Settle, Maturity)
Price = 

    2.8881
    0.9210

Input Arguments

collapse all

The annualized continuously compounded interest-rate term structure specified by the RateSpec obtained from intenvset. For information on the interest-rate specification, see intenvset.

Data Types: struct

Stock specification for underlying asset, specified using StockSpec obtained from stockspec. For information on the stock specification, see stockspec.

stockspec can handle other types of underlying assets. For example, stocks, stock indices and commodities. If dividends are not specified in StockSpec, dividends are assumed to be 0.

Data Types: struct

Definition of option, specified as 'call' or 'put' using a NINST-by-1 cell array of character vectors.

Data Types: cell | char

Option strike price values, specified with nonnegative integers using a NINST-by-1 vector.

Data Types: single | double

Settlement dates or trade dates for the Asian option, specified as a character vector or as serial date numbers using a NINST-by-1 vector or cell array of character vector dates.

Data Types: double | char | cell

European option exercise dates, specified as serial date numbers or date character vectors using a NINST-by-1 vector or cell array of character vector dates. For a European option, there is only one ExerciseDates on the option expiry date.

Data Types: double | char | cell

Output Arguments

collapse all

Expected prices of the Asian option, returned as an NINST-by-1 vector.

Introduced in R2013b

Was this topic helpful?