View source: R/mixtureDiffusion.R
optimalMixtureDiffusion | R Documentation |
Simulate log-optimal strategy for mixture diffusion prices. A wrapper
to optimalItoProcess
.
optimalMixtureDiffusion(bankroll, t, spot, rate, param)
bankroll |
initial bankroll to invest |
t |
time horizon to trade over |
spot |
the initial stock price |
rate |
the return of the bond |
param |
matrix of parameters of mixture, see details |
The matrix must contain a row of probabilities, a row of means, and a row of standard deviations.
data.frame of solution
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.