0

I've installed quantsrat and tried the demos to get a better understanding of the way it works but all them end up with errors. For example for RSI, I get Error in rbind(deparse.level, ...) : data must have same number of columns to bind by row during the part where it outputs the buy sell orders.

Here is my sessionInfo(): R version 2.15.2 (2012-10-26) Platform: i386-apple-darwin9.8.0/i386 (32-bit)

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] quantstrat_0.7.7        blotter_0.8.13          FinancialInstrument_1.1
[4] quantmod_0.3-17         Defaults_1.1-1          TTR_0.21-1             
[7] xts_0.8-8               zoo_1.7-9              

loaded via a namespace (and not attached):
[1] grid_2.15.2     lattice_0.20-10 tools_2.15.2   

Does anyone know why?

patzoul
  • 49
  • 2
  • 6

1 Answers1

1

Your are right: I get the same error when running rsi.R, and also macs.R gives problems.

However bbands.R works fine, as do the luxor demos. I suggest that you look into those while we fix the demos.

Konrad Viltersten
  • 36,151
  • 76
  • 250
  • 438
Jan Humme
  • 205
  • 1
  • 3