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.
웹사이트 선택
번역된 콘텐츠를 보고 지역별 이벤트와 혜택을 살펴보려면 웹사이트를 선택하십시오. 현재 계신 지역에 따라 다음 웹사이트를 권장합니다:
또한 다음 목록에서 웹사이트를 선택하실 수도 있습니다.
사이트 성능 최적화 방법
최고의 사이트 성능을 위해 중국 사이트(중국어 또는 영어)를 선택하십시오. 현재 계신 지역에서는 다른 국가의 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)