Description Usage Arguments Details Value
Simulate log-optimal strategy for mixture diffusion prices
1 | sim_mixdiff(bankroll, t, spot, rate, parameters)
|
bankroll |
initial bankroll to invest |
t |
time horizon to trade over |
spot |
the initial stock price |
rate |
the return of the bond |
parameters |
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.