View source: R/EuropeanOptionKelly.R
kellyEuroBS2 | R Documentation |
A Kelly-fraction generalization for trading a portfolio consiting of a European option priced under Black-Scholes dynamics with an assumed real-volatility, and a cash-account or bond at the risk-neutral rate. TWo functions are provided in this package, one for computing it specified by the exact values, and one computed via specifying the option via strike, expiry, etc and computing the option value and delta via a pricing method.
kellyEuroBS2(strike, expiry, mu, volat, rate, spot, type, N = 100, M = 100)
strike |
strike price of the option |
expiry |
time to maturity of option in trading years |
mu |
real drift of the underlying stock price |
volat |
volatility of the stock price and volatility used for the option pricing |
rate |
the risk-neutral rate |
spot |
the underlying spot price |
type |
type of option, "call" or "put" |
N |
number of sub-intervals in time-grid |
M |
number of sub-intervals in space-grid |
numeric
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.