Quantstrat是R-Forge提供的,需要在以前的版本中安装,比如3.1.0,最新的版本会报错,输入以下命令:
install.packages("quantstrat", repos=c("http://R-Forge.R-project.org"))