optimalHeston | R Documentation |
A basic Euler-Maruyama scheme for simulating a sample path of a stochastic volatility price model and its corresponding Kelly-strategy.
optimalHeston(x0, s0, v0, tt, param, rate = 0, n = 1000, plotG = TRUE)
x0 |
initial wealth to invest |
s0 |
initial spot price of the stock |
v0 |
initial (hidden) stochastic volatility level |
tt |
time horizon to simulate a path over |
param |
vector of |
rate |
risk-free rate of cash-account, money-market account, or bond |
n |
number of time sub-intervals in sample-path |
plotG |
boolean for plotting the portfolio in the function body |
data.frame of time, volatility, stock-price, and portfolio-value
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.