Kalpesh,

The modules that show up in the securities editor are hard-coded and have 
gotten seriously out of sync with F::Q's modules. Vincent Lucarrelli has begun 
https://github.com/Gnucash/gnucash/pull/1626 to create the list more 
dynamically.

The easiest place to hack is libgnucash/quotes/finance-quote-wrapper. It's a 
perl module that shims between Finance::Quote and GnuCash. The best place is 
F::Q itself: Write a new module implementing the functions Quote.pm needs and 
add it to the modules list in Quote.pm. If you happen to name it to match one 
of the no longer supported names in libgnucash/engine/gnc-commodity.c then 
GnuCash will enable that checkbox in the security editor.

Regards,
John Ralls


> On May 11, 2023, at 3:01 PM, Kalpesh Patel <kalpesh.pa...@usa.net> wrote:
> 
> As most of you know yahoo_json has gone broken which IMHO was really the
> only free source for people like me who just needed end-of-day prices. While
> I've gotten around to it with able to gather the data via custom Python
> script and import it in, I like to directly integrate and interface with the
> GNC to pull prices from the web scraping Yahoo. I noticed that there is not
> a "custom" source I can specify for price download, in additional to many of
> them greyed out (Vanguard source would have been great as quite a number of
> mutual funds I track are with them).  So two question, how easy is it for
> someone who is somewhat familiar with programming to directly wire-up and
> interface with it and how can the greyed out sources be enabled? I am on
> Windows 11 with 4.14 GNC but willing to tackle on 5.x version.
> 
> 
> 
> Thanks.
> 
> _______________________________________________
> 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.

_______________________________________________
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.

Reply via email to