Et voila! You are correct, sir. Mea culpa. Thank you!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Anonymous
-
2017-11-08
I set up Alpha Vantage with script v1.42 and it seems to be working for my stocks and Vanguard mutual funds and ETFs. I'll report back if I see any glitches. Thanks!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I noticed v1.47 tweaked the Yahoo_JSON module and gave it a try. It works, but the only price data it returns is the last price. Is there a way to get the open/high/low/close data as well?
e.g. calling for data on TLT with Yahoo_JSON, I get:
If you'd like to test without having to wait for it to be included in the official Finance::Quote module available from CPAN:
Enter in a browser: https://github.com/goodvibes2/finance-quote/blob/FqIss78YahooJson/lib/Finance/Quote/YahooJSON.pm
click on the Raw button which should open the contents of the new YahooJSON.pm file on a new page.
Use Control-A to highlight it all, then paste it into a text editor (say Notepad for Windows, gedit for Linux), then 'Save As' over the top of the existing YahooJSON.pm:
Windows (Strawberry Perl):
C:\strawberry\perl\site\lib\Finance\Quote\ASX.pm
Linux
/usr/local/share/perl/5.22.1/Finance/Quote/ASX.pm
Sorry, I don't have a Mac so I cannot provide instructions, but I guess you just
find YahooJSON.pm and replace it with the new version from the above github link.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Initially I had much success with the AlphaVantage service, however over the last 60 days I am getting mostly timeouts. My success rate is only about 5% of the requests get back a response. I suspect the service is overwhelmed.
I am wondering if others are experiencing the same problem. Is there a work around? Finance::Quote seems to support many data services, but I am unable to get any of them to work reliability. According to the Quote.pm file I am using version 1.42.
Thank you,
James.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you Paul. I was not able to get Yahoo JSON to work. I will revisit it after hearing of your success. Were you (or any other users) able to get it to work with any other content provider?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Et voila! You are correct, sir. Mea culpa. Thank you!
I set up Alpha Vantage with script v1.42 and it seems to be working for my stocks and Vanguard mutual funds and ETFs. I'll report back if I see any glitches. Thanks!
I noticed v1.47 tweaked the Yahoo_JSON module and gave it a try. It works, but the only price data it returns is the last price. Is there a way to get the open/high/low/close data as well?
e.g. calling for data on TLT with Yahoo_JSON, I get:
calling AlphaVantage for the same TLT data I get
Any tips for how to expand the data output from Yahoo_JSON to get the O/H/L/C data?
TIA.
Perry Leopold,
I have added open, high, low + close to YahooJSON.pm.
Also div_yield eps pe year_range.
The Pull Reqest asking for this mod to be included in Finance::Quote is:
https://github.com/finance-quote/finance-quote/pull/79
If you'd like to test without having to wait for it to be included in the official Finance::Quote module available from CPAN:
Enter in a browser:
https://github.com/goodvibes2/finance-quote/blob/FqIss78YahooJson/lib/Finance/Quote/YahooJSON.pm
click on the Raw button which should open the contents of the new YahooJSON.pm file on a new page.
Use Control-A to highlight it all, then paste it into a text editor (say Notepad for Windows, gedit for Linux), then 'Save As' over the top of the existing YahooJSON.pm:
Windows (Strawberry Perl):
C:\strawberry\perl\site\lib\Finance\Quote\ASX.pm
Linux
/usr/local/share/perl/5.22.1/Finance/Quote/ASX.pm
Sorry, I don't have a Mac so I cannot provide instructions, but I guess you just
find YahooJSON.pm and replace it with the new version from the above github link.
Initially I had much success with the AlphaVantage service, however over the last 60 days I am getting mostly timeouts. My success rate is only about 5% of the requests get back a response. I suspect the service is overwhelmed.
I am wondering if others are experiencing the same problem. Is there a work around? Finance::Quote seems to support many data services, but I am unable to get any of them to work reliability. According to the Quote.pm file I am using version 1.42.
Thank you,
James.
I ditched fetching from AlphaVantage for the same reasons you mentioned. I'm finding success with Yahoo JSON (for now).
Thank you Paul. I was not able to get Yahoo JSON to work. I will revisit it after hearing of your success. Were you (or any other users) able to get it to work with any other content provider?