The last release was quite a while back and I see a lot of queued up patches (7 of them to be precise). I personally submitted a patch to support Indian Mutual Fund Prices. I'd like to join as a developer and help out. Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I too would like to contribute to the project. Finance::Quote is currently being used in GnuCash to fetch stock quotes and currency exchange rates. However, I haven't been able to get the currency exchange rates part to work at all, and there's no alternative method of fetching exchange rates, which greatly undermines GnuCash's usefulness.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Likewise - I would like to help if i can. I developed a module that provided quotes for UK unit trusts (mutual funds) from the FT funds web-site but it no longer works since FT have made significant changes (for the second time in two years) to their website. I haven't had chance to get around to fixing it.
Like r7calvin I notice that the currency exchange module no longer works, which is a major issue.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Martin, I should have posted this sooner, but actually I found the problem was related to FQ fetching exchange rates via a screen scraping algorithm that no longer worked with Yahoo! Finance's new design. I also found that Yahoo! had a free API for grabbing stock quotes and currency quotes.
And no sooner had I posted this information to the FQ development list when Bradley Dean implemented the API in a fork of FQ. I just tried it (took a while for me to find time to get ActivePerl all set up on my home computer), but it works beautifully. Erik Colson has also made a minor fix to the branch, which I'm gonna try out soon, but you can get the latest version of this branch here: https://github.com/pfenwick/finance-quote/blob/YahooApi2012/lib/Finance/Quote.pm.
many thanks for this. I have now subscribed to the developers list. I'll give this a try when I have time.
My attempts at getting UK unit trusts working worked fine for a while but because it's a (very simple) screen-scraper it fails whenever FT decide to make changes to their web-site. I don't know of any way of getting a .csv file listing all the funds on the FT site (and anyway there's over 47,000 of them) but I did think think of a way of getting a partial list.
They have the facility for a registered user to set up a private portfolio and then download a list from this. I propose setting up a registered user, username "Finance", password "Quote". We can then add any funds we're interested in to this portfolio, with a holding of only 1 unit (share). Ok, it means any given user will download more than he/she needs, but it's better than having to sift through 47,000.
Any thoughts from anyone?
Martin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I wouldn't setup an account Finance - Quote because of multiple reasons:
- anyone could change the account since the password is known
- an account is most probably also linked to a real name and I don't know if anyone wants to give his name for this account
- probably the quantity of funds allowed in a portfolio is limited, and (this is also a guess) it will be limited to a reasonable quantity for one user and therefor unusable for many users…
I think this is something which can be set in config files or added through parameters. At this moment F::Q has no support for neither of the to options so look at the bright side of this: we can choose how to implement this ;)
erik
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
in v1.18 Base.pm module, a "/" needs to be added to the URL path used when asking YAHOO for a quote. It is at line 167. Without the "/" an improper URL is created which then returns garbage which is not able to be parsed correctly. The line (167) should be:
Yahoo recently modified the quote retrieval URL. I updated the modules
in the master branch @ github and will soon release a new
version. However your solution might work, it is not the regular way to
retrieve quotes from yahoo.
best
erik colson
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good Afternoon, I have recently inherited a perl codebase that leans on Finance::Quote version 1.17. The FQ dependent modules don't work, presumably because of the changes to Yahoo's API discussed above. Does anyone know offhand if the FQ API has changed between versions 1.17 and the current version (1.35)? If no one knows, can anyone advise on where to find API details on SourceForge for current and previous versions?
Best,
Stuart
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Good Afternoon, I have recently inherited a perl codebase that leans on Finance::Quote version 1.17. The FQ dependent modules don't work, presumably because of the changes to Yahoo's API discussed above. Does anyone know offhand if the FQ API has changed between versions 1.17 and the current version (1.35)? If no one knows, can anyone advise on where to find API details on SourceForge for current and previous versions?
Hi Stuart,
no API change, as far as I can remember
Best,
Stuart
Is finance-quote being actively maintained?
release 1.35 has been uploaded to CPAN last week. So I tend to say it is ;)
best
erik colson
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The last release was quite a while back and I see a lot of queued up patches (7 of them to be precise). I personally submitted a patch to support Indian Mutual Fund Prices. I'd like to join as a developer and help out. Thanks.
I too would like to contribute to the project. Finance::Quote is currently being used in GnuCash to fetch stock quotes and currency exchange rates. However, I haven't been able to get the currency exchange rates part to work at all, and there's no alternative method of fetching exchange rates, which greatly undermines GnuCash's usefulness.
Likewise - I would like to help if i can. I developed a module that provided quotes for UK unit trusts (mutual funds) from the FT funds web-site but it no longer works since FT have made significant changes (for the second time in two years) to their website. I haven't had chance to get around to fixing it.
Like r7calvin I notice that the currency exchange module no longer works, which is a major issue.
Martin, I should have posted this sooner, but actually I found the problem was related to FQ fetching exchange rates via a screen scraping algorithm that no longer worked with Yahoo! Finance's new design. I also found that Yahoo! had a free API for grabbing stock quotes and currency quotes.
And no sooner had I posted this information to the FQ development list when Bradley Dean implemented the API in a fork of FQ. I just tried it (took a while for me to find time to get ActivePerl all set up on my home computer), but it works beautifully. Erik Colson has also made a minor fix to the branch, which I'm gonna try out soon, but you can get the latest version of this branch here: https://github.com/pfenwick/finance-quote/blob/YahooApi2012/lib/Finance/Quote.pm.
So I hope this helps you out. And if you want to subscribe to the development list, you can do so here:
https://lists.sourceforge.net/lists/listinfo/finance-quote-devel
Calvin,
many thanks for this. I have now subscribed to the developers list. I'll give this a try when I have time.
My attempts at getting UK unit trusts working worked fine for a while but because it's a (very simple) screen-scraper it fails whenever FT decide to make changes to their web-site. I don't know of any way of getting a .csv file listing all the funds on the FT site (and anyway there's over 47,000 of them) but I did think think of a way of getting a partial list.
They have the facility for a registered user to set up a private portfolio and then download a list from this. I propose setting up a registered user, username "Finance", password "Quote". We can then add any funds we're interested in to this portfolio, with a holding of only 1 unit (share). Ok, it means any given user will download more than he/she needs, but it's better than having to sift through 47,000.
Any thoughts from anyone?
Martin
Hi Calvin,
Since you asked for opinions … ;)
I wouldn't setup an account Finance - Quote because of multiple reasons:
- anyone could change the account since the password is known
- an account is most probably also linked to a real name and I don't know if anyone wants to give his name for this account
- probably the quantity of funds allowed in a portfolio is limited, and (this is also a guess) it will be limited to a reasonable quantity for one user and therefor unusable for many users…
I think this is something which can be set in config files or added through parameters. At this moment F::Q has no support for neither of the to options so look at the bright side of this: we can choose how to implement this ;)
in v1.18 Base.pm module, a "/" needs to be added to the URL path used when asking YAHOO for a quote. It is at line 167. Without the "/" an improper URL is created which then returns garbage which is not able to be parsed correctly. The line (167) should be:
$base_url .= "/?f=".join("",@FIELD_ENCODING)."&e=.csv&s=";
Please see the attachment for a screen shot of the edit. Having trouble with adding the attachment. Please give guidance.
Hi,
Yahoo recently modified the quote retrieval URL. I updated the modules
in the master branch @ github and will soon release a new
version. However your solution might work, it is not the regular way to
retrieve quotes from yahoo.
best
erik colson
Good Afternoon, I have recently inherited a perl codebase that leans on Finance::Quote version 1.17. The FQ dependent modules don't work, presumably because of the changes to Yahoo's API discussed above. Does anyone know offhand if the FQ API has changed between versions 1.17 and the current version (1.35)? If no one knows, can anyone advise on where to find API details on SourceForge for current and previous versions?
Best,
Stuart
On 23 Jun 2014, at 20:40, stupac8908 stupac8908@users.sf.net wrote:
Hi Stuart,
no API change, as far as I can remember
release 1.35 has been uploaded to CPAN last week. So I tend to say it is ;)
best
erik colson
While F::Q is being actively maintained, development moved to https://github.com/finance-quote/finance-quote some years back.