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 <[email protected]> 
Sent: Wednesday, August 23, 2023 2:03 PM
To: Kalpesh Patel <[email protected]>; [email protected]
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
<[email protected]
<mailto:[email protected]> > on
behalf of Kalpesh Patel <[email protected]
<mailto:[email protected]> >
Sent: Wednesday, August 23, 2023 1:21 PM
To: [email protected] <mailto:[email protected]>
<[email protected] <mailto:[email protected]> >
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
[email protected] <mailto:[email protected]> 
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
[email protected]
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