Skip to content

Tiingo GetSymbols Creates Extra Columns for the fund LOW #259

Closed
@srtg4we5gsetrgwhreyt

Description

Description

GetSymbols function seems to create unnecessary extra columns for a specific fund (LOW) on Tiingo. This issue seems to have to do with the OHLCV function as I can get the expected fields by commenting that line out in getSymbols.tiingo function.

Expected behavior

I was expecting only 1 open, 1 close, and 1 high field in the data view.

Minimal, reproducible example

library(quantmod)
getSymbols('LOW',src="tiingo",api.key='')  #add your API key here
colnames(LOW)
# [1] "LOW.Open"   "LOW.High"   "LOW.Open"   "LOW.High"   "LOW.Low"   
# [6] "LOW.Close"  "LOW.Volume" "LOW.Close"  "LOW.Volume"

Session Info

R version 3.5.1 (2018-07-02)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 18.04.1 LTS

Matrix products: default
BLAS: /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.7.1
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.7.1

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8        LC_COLLATE=en_US.UTF-8    
 [5] LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8    LC_PAPER=en_US.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C       

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

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

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

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions