Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tiingo GetSymbols Creates Extra Columns for the fund LOW #259

Closed
srtg4we5gsetrgwhreyt opened this issue Nov 13, 2018 · 1 comment
Closed
Assignees
Labels

Comments

@srtg4we5gsetrgwhreyt
Copy link

srtg4we5gsetrgwhreyt commented Nov 13, 2018

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
@joshuaulrich
Copy link
Owner

Thanks for the report and example! I can replicate; investigating now.

@joshuaulrich joshuaulrich self-assigned this Nov 15, 2018
@joshuaulrich joshuaulrich added this to the Release 0.4-14 milestone Nov 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants