forked from javagg/RTradingStrategies
-
Notifications
You must be signed in to change notification settings - Fork 0
/
交易策略研究的一些R工具包.txt
executable file
·34 lines (22 loc) · 1.32 KB
/
交易策略研究的一些R工具包.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
在R下直接安装的包:
xts, TTR,quantmod,RTAQ,PerformanceAnalytics,FactorAnalytics, IBrokers
其他手动安装的包:
1.包:blotter
安装方法:install.packages("blotter", repos= c("http://R-Forge.R-project.org", getOption("repos")))
2.包:FinancialInstrument
安装方法:install.packages("FinancialInstrument", repos= c("http://R-Forge.R-project.org", getOption("repos")))
3.包:quantstrat
安装方法:install.packages("quantstrat", repos= c("http://R-Forge.R-project.org", getOption("repos")))
4.包:FactorAnalytics
安装方法:install.packages("FactorAnalytics", repos= c("http://R-Forge.R-project.org", getOption("repos")))
5.包:highfrequencies
安装方法:install.packages("highfrequency", repos= c("http://R-Forge.R-project.org", getOption("repos")))
6.包:qmao
安装方法:install.packages("qmao", repos= c("http://R-Forge.R-project.org", getOption("repos")))
7.包:twsInstrument
安装方法:install.packages("twsInstrument", repos= c("http://R-Forge.R-project.org", getOption("repos")))
主要包更新
install.packages(c("FinancialInstrument", "quantmod", "blotter", "quantstrat", "qmao"), repos= c("http://R-Forge.R-project.org", getOption("repos")))
一些例子:
The Aleph Blog momentum bucket strategy
http://alephblog.com/2011/06/04/how-to-make-more-returns-on-reits/