[GNC] loading custom F::Q module from GNC

Kalpesh Patel kalpesh.patel at usa.net
Wed Aug 23 16:24:04 EDT 2023


Hi Murugan –

 

I am using those steps currently (which you had outlined for me while back)
and they work perfectly. 

 

I am trying to avoid altering the install of F::Q in anyway if it was
possible by wiring up in GNC that can pass the info to F::Q thus doing away
with needing to update C:\Strawberry\perl\site\lib\Finance\Quote folder and
quote.pm module.

 

From: Murugan Muruganandam <m.muruganandam at hotmail.com> 
Sent: Wednesday, August 23, 2023 2:03 PM
To: Kalpesh Patel <kalpesh.patel at usa.net>; gnucash-user at gnucash.org
Subject: Re: [GNC] loading custom F::Q module from GNC

 

Kalpesh

 

I use a privately developed module for fetching price for  mutual funds. The
prices are not directly public and so it is a localized solution. 

 

1.	place your <filename>.pm in the
C:\Strawberry\perl\site\lib\Finance\Quote folder 
2.	update the C:\Strawberry\perl\site\lib\Finance\Quote\quote.pm to
include your module name under @Modules
3.	After restart you should be able to see your module in the "unknown"
source quote drop down

Not sure if this was your question. for me it works like a charm, only
challenge is that whenever i re install or update finance quote, i have to
redo this step one time 

 

 

Saludos Cordiales

 

Murugan

 

  _____  

From: gnucash-user
<gnucash-user-bounces+m.muruganandam=hotmail.com at gnucash.org
<mailto:gnucash-user-bounces+m.muruganandam=hotmail.com at gnucash.org> > on
behalf of Kalpesh Patel <kalpesh.patel at usa.net
<mailto:kalpesh.patel at usa.net> >
Sent: Wednesday, August 23, 2023 1:21 PM
To: gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org>
<gnucash-user at gnucash.org <mailto:gnucash-user at gnucash.org> >
Subject: [GNC] loading custom F::Q module from GNC 

 

Is there a simpler way, by way of possibly configuration specification, from
GNC to utilize a privately developed F::Q module for pricing without
modifying any of the official underlying release code for F::Q?

 

>From reading F::Q documentation, it mentions that I can pass the privately
developed module to the Finance::Quote->new() call but that assumes that I
am instantiating in a script or something similar and have control over the
declaration which I do not for GNC. 

 

I am hoping for something simple like put a single Perl .pm module file into
a directory, add/append some option setting in a GNC configuration file or
command line which makes it available under ‘type of quote source’ à
‘Unknown’ in the ‘Edit Security’ window to select, and then get called when
‘Get Quotes’ is pressed from ‘Price Database’.

 

 

 

 

 

 

 

_______________________________________________
gnucash-user mailing list
gnucash-user at gnucash.org <mailto:gnucash-user at 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.



More information about the gnucash-user mailing list