文件名称:trend-follower-strategy-backtesting
-
所属分类:
- 标签属性:
- 上传时间:2016-06-08
-
文件大小:3.26kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
一个用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 strategy backtesting/trend follower.R
trend follower strategy backtesting
trend follower strategy backtesting/trend follower.R
trend follower strategy backtesting
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.