阅读背景:

使用for循环后创建结果矩阵

来源:互联网 

I (being an absolut beginner with R and programming) have to do some analysis with R for my thesis in finance :( The purpose is to simulate data (stock prices) with a GBM and run over the results 2 trading strategies. Within the GBM I'll have to "play" with the veriables "r" and "sigma" (3 different values for each, thus 9 combinations). Each combination needs to be simulated 10000 times over a period T=10, N=250. To all these simulations 2 trading strategies have to be applied - MACD and RSI (within the TTR-package). Now I'm facing an issue with writing the code :(I (being an absolut beginner with R and program




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: