@ph1l, for geometric_brownian_motion(.). do you happen to know what the param T expects?
Let's say I need to generate monthly prices for 1 year, ie. 12 per year, then I guess N has to be 12. But what value to pass for T ? Is it 1.0 ?
Is there any test code by the author that demonstrates the usage of these functions?
Update: OK, figured it out: yes T is time in years, ie. in my case 1.0
Let's say I need to generate monthly prices for 1 year, ie. 12 per year, then I guess N has to be 12. But what value to pass for T ? Is it 1.0 ?
Is there any test code by the author that demonstrates the usage of these functions?
Update: OK, figured it out: yes T is time in years, ie. in my case 1.0
Last edited:
, to speed it up, so it's not that easy to grasp the algorithm...