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

Market Index, DJI, does not pull data. Can work with NASDAQ, S & P 500 with proper URL encoding #41

Open
irsx02 opened this issue Apr 13, 2016 · 0 comments

Comments

@irsx02
Copy link

irsx02 commented Apr 13, 2016

Has anyone been able to get ystockquote to report Market Indices? For example, I tried plugging in DJI (Dow Jones,) IXIC (NASDAQ,) and GSPC (S&P 500) and I'm getting back N/A for any of the data.

What I have discovered is that if I used %5E (URL Encoding for the ^ symbol) I can pull NASDAQ and S&P 500.

tickerSymbol = ['%5EIXIC', '%5EGSPC']

Those two will work and correctly return me the NASDAQ and S&P, but I can't find the code for Dow Jones Industrial Average. I tried %5EDJI , %5EDJIA but it is not working.

Anyone run into this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant