BinaryOption(RQuantLib)
BinaryOption()所属R语言包:RQuantLib
Binary Option evaluation using Closed-Form solution
二进制股权评估采用封闭形式的解决方案
译者:生物统计家园网 机器人LoveR
描述----------Description----------
This function evaluations an Binary option on a common stock using a closed-form solution. The option value as well as the common first
此功能评价一个二进制“选项,在普通股,采用封闭形式的解决方案。期权的价值以及共同第一
用法----------Usage----------
## Default S3 method:[默认方法]
BinaryOption(binType, type, excType, underlying,
strike, dividendYield,
riskFreeRate, maturity, volatility, cashPayoff)
参数----------Arguments----------
参数:binType
A string with one of the values cash, asset or gap to select CashOrNothing, AssetOrNothing or Gap payoff profiles
一个字符串,其中的一个值cash,asset或gap选择CashOrNothing,AssetOrNothing或间隙回报配置文件
参数:type
A string with one of the values call or put
一个字符串一个的值call或put的
参数:excType
A string with one of the values european or american to denote the exercise type
一个字符串,其中之一的值european或american表示的运动类型
参数:underlying
Current price of the underlying stock
标的股票的当前价格
参数:strike
Strike price of the option
购股权的行使价的
参数:dividendYield
Continuous dividend yield (as a fraction) of the stock
连续的股息收益率(一小部分)的股票
参数:riskFreeRate
Risk-free rate
无风险利率
参数:maturity
Time to maturity (in fractional years)
时间到成熟(在分数几年)
参数:volatility
Volatility of the underlying stock
标的股票的波动性
参数:cashPayoff
Payout amount
支付金额
Details
详细信息----------Details----------
A closed-form solution is used to value the Binary Option.
封闭形式的解决方案,用于对二进制选项。
Please see any decent Finance textbook for background reading, and the QuantLib documentation for details on the QuantLib implementation.
请参阅任何像样的金融教科书的背景阅读,QuantLibQuantLib实施的细节上的文件。
值----------Value----------
An object of class BinaryOption (which inherits from class Option) is returned. It contains a list with the following components: <table summary="R valueblock"> <tr valign="top"><td>value</td> <td> Value of option</td></tr> <tr valign="top"><td>delta</td> <td> Sensitivity of the option value for a change in the underlying</td></tr> <tr valign="top"><td>gamma</td> <td> Sensitivity of the option delta for a change in the underlying</td></tr> <tr valign="top"><td>vega</td> <td> Sensitivity of the option value for a change in the underlying's volatility</td></tr> <tr valign="top"><td>theta</td> <td> Sensitivity of the option value for a change in t, the remaining time to maturity</td></tr> <tr valign="top"><td>rho</td> <td> Sensitivity of the option value for a change in the risk-free interest rate</td></tr> <tr valign="top"><td>dividendRho</td> <td> Sensitivity of the option value for a change in the dividend yield</td></tr> <tr valign="top"><td>parameters</td> <td> List with parameters with which object was created</td></tr> </table>
类的一个对象BinaryOption(继承自类Option)返回。它包含了以下组件:<table summary="R valueblock"> <tr valign="top"> <TD>value </ TD> <TD>值的选项</ TD> </ TR> <tr valign="top"> <TD> delta</ TD> <TD>灵敏度的期权价值的变化的基础</ TD> </ TR> <TR VALIGN =“顶部“> <TD> gamma </ TD> <TD>灵敏度的选项Delta的变化的基础</ TD> </ TR> <tr valign="top"> <TD><X > </ TD> <TD>在底层的波动性的期权价值的变化的灵敏度</ TD> </ TR> <tr valign="top"> <TD> vega</ TD> < TD>敏感度的选项值的变化吨,至到期日的剩余时间</ TD> </ TR> <tr valign="top"> <TD> theta </ TD> <TD>灵敏度的期权价值无风险利率的变化</ TD> </ TR> <tr valign="top"> <TD> rho</ TD> <TD>灵敏度选项的值股息收益率的变化</ TD> </ TR> <tr valign="top"> <TD>dividendRho </ TD> <TD>与参数列表与对象的创建</ TD> </ TR> </ TABLE>
注意----------Note----------
The interface might change in future release as QuantLib
该接口在将来的版本中可能会改变QuantLib
(作者)----------Author(s)----------
Dirk Eddelbuettel <a href="mailto:edd@debian.org">edd@debian.org</a> for the <font face="Courier New,Courier" color="#666666"><b>R</b></font> interface;
the QuantLib Group for <code>QuantLib</code>
参考文献----------References----------
<h3>See Also</h3>
实例----------Examples----------
BinaryOption(binType="asset", type="call", excType="european", underlying=100, strike=100, dividendYield=0.02,
riskFreeRate=0.03, maturity=0.5, volatility=0.4, cashPayoff=10)
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|