文件名称:trend-follower-strategy-backtesting
下载
别用迅雷、360浏览器下载。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
如迅雷强制弹出,可右键点击选“另存为”。
失败请重下,重下不扣分。
介绍说明--下载内容均来自于网络,请自行研究使用
一个用R语言写的trend follower strategy的案例,运行时将demoData.R放在工作目录下或者设置读取路径-The indicator will be generated by R’s lag() function. The signal will be to go long(short) if the price is higher(lower) than it was a year ago. In order to equalize risk across instruments, we are going to size our order with a lagging ten day ATR (that is, we use yesterday’s ATR to place our order sizes), and we will risk around 2 percent per trade. ATR stands for Average True Range and is
an indicator that can be found in the TTR package.
an indicator that can be found in the TTR package.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
trend follower strategy backtesting\demoData.R
...................................\trend follower.R
trend follower strategy backtesting