-
Notifications
You must be signed in to change notification settings - Fork 302
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
New source for ticker data needed #42
Comments
Alpha Vantage looks promising. It offers a proper API instead of the common web scraping options. |
Here's another Yahoo source that still works but in a different format: Single quote: https://query1.finance.yahoo.com/v7/finance/quote?symbols=AAPL Both return json and I can't seem to get them to return csv via query parameters. Let us know if you guys have better luck. |
There exists a python library for downloading quotes in the new format c0redumb/yahoo_quote_download Not sure if it actually returns CSV but it says:
|
there is also the google api: |
I've written some code in c++ that can get and parse the google api and retrieve almost all of the data needed here. I don't really know Go but in case someone who does has the time and inclination, you can find the code https://github.com/metiscus/cquote/blob/master/main.cpp The general idea is as follows: Chop off the first 5 characters of the returned string as well as the last character to make it valid JSON. Then all you need to do is to remap the json keys. |
Guys sorry for being a totally noob. Im getting the same comment as this guys post. Anyway, I found that the upper codes of my cnn.market.go works just fine coz as I browse the context of the code where such values were found I have data for the STOCKS like: market.Dow[ I read that the Error in quotes has something to do with the market.regex, im not sure if im quite following this right but as my analysis to the script, this seems where I am getting the error can add new stock in the main.go program. Anyway im running this at termux. I found out that theres a script that runs stocks in Linux so I search and ended up in this Mob in GitHub. Im totally a noob so please do help me guys! thanks my Seniors :). Im just running around this thread about Mob but I cant really get what im missing so I decided to ask for help. Says this Issue #42 has the answer but I cant really get to understand how to change my ticker from yahoo-finance to something that works. Hope you understand Thanks |
Leave this here as this is part of the research: |
RxJSInAction/rxjs-in-action#13 "Ran into the same issue. Found that this Yahoo API call will work, https://query1.finance.yahoo.com/v7/finance/quote?lang=en-US®ion=US&corsDomain=finance.yahoo.com&symbols=FB&fields=regularMarketPrice but it returns JSON not csv." |
Should be fixed as per e619620 a4b86c4 f1908ce brandleesee@34a3485 brandleesee@308a29d. |
Works for me! |
Great, noted! |
http://download.finance.yahoo.com/d/quotes.csv?s=%s&f=sl1c1p2oghjkva2r2rdyj3j1 is no longer serving quote data. The following message is displayed:
In short, a new source for ticker data is needed to replace yahoo. There will likely be additional changes required to support any new data source.
The text was updated successfully, but these errors were encountered: