Re: [GNC] How to get mutual fund quotes with Finance::Quote::GoogleWeb.pm
Guilty as charged. Using version 1.57. I wasn't having any troubles, so didn't update regularly. No ice cream for me tonight. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] How to get mutual fund quotes with Finance::Quote::GoogleWeb.pm
On Mon Apr 15, 2024 22:02 EDT, Ken Farley wrote: Once I sent the last message and had a bit of time to think about it, I realized I could try something, and it worked. There's a line in the module that uses a few exchange names to find the correct data on the HTML page: What version of F::Q did you have? Getting mutual funds was fixed in GoogleWeb in v1.59 released 12/31/2023. So you have (unless you updated since your post) either v1.58 or v1.57 (the release when GoogleWeb.pm was added to F::Q). Bruce S P.S - It's always helpful to include the software versions when asking about a possible issue. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
Re: [GNC] How to get mutual fund quotes with Finance::Quote::GoogleWeb.pm
Once I sent the last message and had a bit of time to think about it, I realized I could try something, and it worked. There's a line in the module that uses a few exchange names to find the correct data on the HTML page: $taglink = $tree->look_down(_tag => 'a', href => qr!^./quote/$ucstock:(NYSE|NASDAQ|NYSEAMERICAN)!); Changing this to add the mutual fund exchange makes it work: $taglink = $tree->look_down(_tag => 'a', href => qr!^./quote/$ucstock:(NYSE|NASDAQ|NYSEAMERICAN|MUTF)!); What a fun bit of detective work that was. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.
[GNC] How to get mutual fund quotes with Finance::Quote::GoogleWeb.pm
If I go directly to the Google Finance site and ask for a quote for a mutual fund, for example SNXFX, I get all the info I am seeking. If I try to load prices into Gnucash using the "googleweb" source, stocks are fine, ETFs are fine, but mutual funds like the above don't work. My suspicions about it are: (1) Mutual funds are from a different "exchange". Their info is presented with a "MUTF" prepended to the symbol (i.e. MUTF:SNXFX). Perhaps the Perl module doesn't handle this kind of symbol? (2) Mutual funds maybe don't provide sufficient information for the module to build a quote to Gnucash standards. Does anyone have an idea on this? Full disclosure, I'm using other sources, like the freshly minted YahooJSON, to get these quotes. I'm just interested in whether I'm missing something in the security definitions, like a different symbol format or something. ___ gnucash-user mailing list gnucash-user@gnucash.org To update your subscription preferences or to unsubscribe: https://lists.gnucash.org/mailman/listinfo/gnucash-user - Please remember to CC this list on all your replies. You can do this by using Reply-To-List or Reply-All.