[GNC] Get online quote for Canada Fund

David T. sunfish62 at yahoo.com
Wed Aug 14 01:20:08 EDT 2019


Note that adding the price source column to the security list will allow you to see at a glance which source all your stocks are using. 

 
 
  On Wed, Aug 14, 2019 at 8:17, David Reiser via gnucash-user<gnucash-user at gnucash.org> wrote:   First, make sure that _none_ of your stocks are requesting quotes through yahoo. (yahoo_json is OK, though). It took me about 3 tries going through my stocks list to track down the straggling reference. Any stock whose online quote source is yahoo will cause the entire retrieval effort to fail.
--
Dave Reiser
dbreiser at icloud.com





> On Aug 13, 2019, at 9:29 PM, Kaman Wu <kamanwu at gmail.com> wrote:
> 
> Hello,  I still need someone help me.
> 
> I made changes of Cdnfundlibrary.pm.  Now when I run:
> 
> perl .\gnc-fq-dump -v fundlibrary  8282
> 
> I could get:
> 
> PS C:\Program Files (x86)\gnucash\bin> perl .\gnc-fq-dump -v fundlibrary
> 8282
> Finance::Quote fields Gnucash uses:
>    symbol: 8282                <=== required
>      date: 08/12/2019          <=== recommended
>  currency: CAD                  <=== required
>      last: 14.91                <=\
>      nav:                      <=== one of these
>    price:                      <=/
>  timezone:                      <=== optional
> 
> All fields returned by Finance::Quote for stock 8282
> 
> stock          field  value
> -----          -----  -----
> 8282        currency: CAD
> 8282            date: 08/12/2019
> 8282          isodate: 2019-08-12
> 8282            last: 14.91
> 8282            link: https://www.fundlibrary.com/MutualFunds/Detail/8282
> 8282          method: fundlibrary
> 8282          source: http://www.fundlibrary.com
> 8282          success: 1
> 8282          symbol: 8282
> 
> 
> So the results looks correct to me.  BUT when I go to Tools->Price
> Database, and clicked "Get Quotes" button, I still CANNOT get the results.
> 
> How should I debug this problem?
> 
> Thanks a lot.
> 
> 
> 


More information about the gnucash-user mailing list