-
Notifications
You must be signed in to change notification settings - Fork 46
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
Historical module stopped working #23
Comments
Company News API returns empty array as well. |
it seems like google just removed the api endpoint. |
@thstarshine nope, rss is fine but changed a bit so parser of google-finance throws an error. Still debugging to see what's the problem. |
Has anyone managed to get this to work again? I use it for getting historical prices .. did you find a solution @tverskih ? |
@kjohannessen google-finance uses feedparser library to parse rss. I've tested the latest version of feedparser with Google API and it does not work. So I just switched to yahoo finance API, using feedparser library only. You can find en example of usage of feedparser on their page: https://github.com/danmactough/node-feedparser I use news feed like that: http://finance.yahoo.com/rss/headline?s=%symbol Probably you may find historical data on their API as well. |
@tverskih I have just switched back to the Yahoo Finance API as well .. luckily I have both sets of symbology in my security master .. thanks for the examples!! |
I've been using the google-finance module for historical queries for about a year now and yesterday (March 19th) it stopped working. It was working fine on Friday ( March 16th ). I get no errors just a bunch of empty values. My query looks like:
googleFinance.historical({ symbols: SYMBOLS, from: DATE, to: DATE, }, function (err, result) { // do something with result }
The result prints out all of the stock symbols I passed in with [] as the result. SYMBOLS is an array of stock symbols and DATE is a single date object in the past.
The text was updated successfully, but these errors were encountered: