quantmod icon indicating copy to clipboard operation
quantmod copied to clipboard

reChart() and addVo() bugs

Open JulianFerry opened this issue 6 years ago • 0 comments

Description

The reChart() parameters show.grid and TA don't seem to do anything.

And addVo(log.scale = TRUE) displays an empty bar chart.

Expected behavior

I expected reChart() to remove/add a grid and TA to change the metrics displayed on the chart (such as Volume, EMA etc)

Minimal, reproducible example

getSymbols('GOOG')

candleChart(GOOG[1:100], TA = NULL)
addVo(log.scale = TRUE)
reChart(show.grid = FALSE, TA = c(addMACD()))

and

addVo(log.scale = TRUE)

Session Info

R version 3.4.3 (2017-11-30)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows >= 8 x64 (build 9200)

Matrix products: default

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252   
[3] LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                           
[5] LC_TIME=English_United Kingdom.1252    

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

other attached packages:
[1] quantmod_0.4-13 TTR_0.23-3      xts_0.10-2      zoo_1.8-1      

loaded via a namespace (and not attached):
[1] compiler_3.4.3  tools_3.4.3     curl_3.2        yaml_2.1.18     grid_3.4.3      lattice_0.20-35

JulianFerry avatar Jun 27 '18 11:06 JulianFerry