AsianOption(RQuantLib)
AsianOption()所属R语言包:RQuantLib
Asian Option evaluation using Closed-Form solution
亚式期权评价采用封闭形式的解决方案
译者:生物统计家园网 机器人LoveR
描述----------Description----------
The AsianOption function evaluates an Asian-style option on a common stock using an analytic solution for continuous geometric average price. The option value, the common first derivatives ("Greeks") as well as the calling parameters are returned.
AsianOption函数计算的亚洲式期权在普通股连续几何平均价格的解析解。这个选项值,常见的一阶导数(“希腊人”),以及调用的参数返回。
用法----------Usage----------
## Default S3 method:[默认方法]
AsianOption(averageType, type, underlying, strike,
dividendYield, riskFreeRate, maturity,
volatility, first=0, length=0, fixings=0)
参数----------Arguments----------
参数:averageType
Specifiy averaging type, either "geometric" or "arithmetic"
指定要平均型,无论是“几何”或“算术”
参数:type
A string with one of the values call or put
一个字符串一个的值call或put的
参数: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
标的股票的波动性
参数:first
to be written
以被写入
参数:length
to be written
以被写入
参数:fixings
to be written
以被写入
Details
详细信息----------Details----------
When "arithmetic" evaluation is used, only the NPV() is returned.
“算术”的评价时,只有当NPV()返回。
The well-known closed-form solution derived by Black, Scholes and Merton is used for valuation. Implied volatilities are calculated numerically.
著名的黑色,Scholes和Merton得到封闭形式的解决方案进行估值。隐含波动率的数值计算。
Please see any decent Finance textbook for background reading, and the QuantLib documentation for details on the QuantLib implementation.
请参阅任何像样的金融教科书的背景阅读,QuantLibQuantLib实施的细节上的文件。
值----------Value----------
The AsianOption function returns an object of class AsianOption (which inherits from class Option). 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>
AsianOption函数返回一个类的对象AsianOption(继承自类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----------
转载请注明:出自 生物统计家园网(http://www.biostatistic.net)。
注:
注1:为了方便大家学习,本文档为生物统计家园网机器人LoveR翻译而成,仅供个人R语言学习参考使用,生物统计家园保留版权。
注2:由于是机器人自动翻译,难免有不准确之处,使用时仔细对照中、英文内容进行反复理解,可以帮助R语言的学习。
注3:如遇到不准确之处,请在本贴的后面进行回帖,我们会逐渐进行修订。
|