chooserbybls
Price European simple chooser options using Black-Scholes model
Description
Examples
Consider a European chooser option with an exercise price of $60 on June 1, 2007. The option expires on December 2, 2007. Assume the underlying stock provides a continuous dividend yield of 5% per annum, is trading at $50, and has a volatility of 20% per annum. The annualized continuously compounded risk-free rate is 10% per annum. Assume that the choice must be made on August 31, 2007. Using this data:
AssetPrice = 50; Strike = 60; Settlement = datetime(2007,1,1); Maturity = datetime(2007,12,2); ChooseDate = datetime(2007,8,31); RiskFreeRate = 0.1; Sigma = 0.20; Yield = 0.05
Yield = 0.0500
Define the RateSpec and StockSpec.
RateSpec = intenvset('Compounding', -1, 'Rates', RiskFreeRate, 'StartDates',... Settlement, 'EndDates', Maturity); StockSpec = stockspec(Sigma, AssetPrice,'continuous',Yield);
Price the chooser option.
Price = chooserbybls(RateSpec, StockSpec, Settlement, Maturity,...
Strike, ChooseDate)Price = 9.2781
Input Arguments
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.
Note
Only dividends of type continuous can be
considered for choosers.
Data Types: struct
Settlement or trade dates, specified using an
NINST-by-1 vector using a datetime
array, string array, or date character vectors. Settle
must be earlier than Maturity.
To support existing code, chooserbybls also
accepts serial date numbers as inputs, but they are not recommended.
Maturity date, specified as an
NINST-by-1 vector using a datetime
array, string array, or date character vectors.
To support existing code, chooserbybls also
accepts serial date numbers as inputs, but they are not recommended.
Option strike price value, specified with a
NINST-by-1 vector of nonnegative
integers.
Data Types: double
Choose dates, specified with a
NINST-by-1 vector using a datetime
array, string array, or date character vectors.
To support existing code, chooserbybls also
accepts serial date numbers as inputs, but they are not recommended.
Output Arguments
Expected prices, returned as an
NINST-by-1 vector.
More About
A chooser option is a type of exotic option that gives the holder the right to choose the type of option they want to exercise at a specific point in time before expiration.
This flexibility allows the holder to select between a call option and a put option based on market conditions at the time of choice, making it a unique and versatile financial instrument.
References
[1] Rubinstein, Mark. "Options for the Undecided." Risk. Vol 4, 1991.
Version History
Introduced in R2008bAlthough chooserbybls supports serial date numbers,
datetime values are recommended instead. The
datetime data type provides flexible date and time
formats, storage out to nanosecond precision, and properties to account for time
zones and daylight saving time.
To convert serial date numbers or text to datetime values, use the datetime function. For example:
t = datetime(738427.656845093,"ConvertFrom","datenum"); y = year(t)
y =
2021
There are no plans to remove support for serial date number inputs.
MATLAB Command
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window. Web browsers do not support MATLAB commands.
Web サイトの選択
Web サイトを選択すると、翻訳されたコンテンツにアクセスし、地域のイベントやサービスを確認できます。現在の位置情報に基づき、次のサイトの選択を推奨します:
また、以下のリストから Web サイトを選択することもできます。
最適なサイトパフォーマンスの取得方法
中国のサイト (中国語または英語) を選択することで、最適なサイトパフォーマンスが得られます。その他の国の MathWorks のサイトは、お客様の地域からのアクセスが最適化されていません。
南北アメリカ
- América Latina (Español)
- Canada (English)
- United States (English)
ヨーロッパ
- Belgium (English)
- Denmark (English)
- Deutschland (Deutsch)
- España (Español)
- Finland (English)
- France (Français)
- Ireland (English)
- Italia (Italiano)
- Luxembourg (English)
- Netherlands (English)
- Norway (English)
- Österreich (Deutsch)
- Portugal (English)
- Sweden (English)
- Switzerland
- United Kingdom (English)