Re: [GNC] Get online quote for Canada Fund

2019-08-14 Thread Kaman Wu
After removing other source (added for testing and forget to remove), it works now. Thanks a lot. On Wed, Aug 14, 2019 at 1:20 AM David T. wrote: > 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. > > >

Re: [GNC] Get online quote for Canada Fund

2019-08-13 Thread David T. via gnucash-user
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 wrote: First, make sure that _none_ of your stocks are requesting quotes through yahoo.

Re: [GNC] Get online quote for Canada Fund

2019-08-13 Thread John Ralls
No, the #e means that it's an exact number (1491/100) instead of a floating-point one. That's a Good Thing™. Are you getting the "Unable to create price quotes for these items" dialog? Regards, John Ralls > On Aug 13, 2019, at 8:38 PM, Kaman Wu wrote: > > I do not use yahoo (Just use

Re: [GNC] Get online quote for Canada Fund

2019-08-13 Thread John Ralls via gnucash-user
Bet it took you three times because you didn't realize that you can open Tools>Securities, go to the right end of the header, click the little arrow and select Source to add the quote source to the display columns, then click that column header to sort on it. Namespace (e.g. NYSE) is still the

Re: [GNC] Get online quote for Canada Fund

2019-08-13 Thread Kaman Wu
I do not use yahoo (Just use yahoo_json) when I use gnc-fq-helper, I got: (("8282" (symbol . "8282") (gnc:time-no-zone . "2019-08-12 12:00:00") (last . #e14.91) (currency . "CAD"))) Is #e14.91 a problem? Thanks, On Tue, Aug 13, 2019 at 10:35 PM David Reiser wrote: > First, make sure that

Re: [GNC] Get online quote for Canada Fund

2019-08-13 Thread David Reiser via gnucash-user
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.

Re: [GNC] Get online quote for Canada Fund

2019-08-13 Thread Frank H. Ellenberger
Hi, Am Mi., 14. Aug. 2019 um 03:30 Uhr schrieb Kaman Wu : > > 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

Re: [GNC] Get online quote for Canada Fund

2019-08-13 Thread Kaman Wu
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

Re: [GNC] Get online quote for Canada Fund

2019-08-13 Thread Ove Grunnér
Sorry, I don't know, I'm using Linux, so directories will be very different. br Ove. On Tue, 13 Aug 2019 at 03:05, Kaman Wu wrote: > Hello Ove, > > I try to change the code by myself. I am using windows 10 right now. > > I find the perl code > at: >

Re: [GNC] Get online quote for Canada Fund

2019-08-12 Thread Kaman Wu
I found the place. it should be: C:\Strawberry\perl\site\lib\Finance\Quote On Mon, Aug 12, 2019 at 10:05 PM Kaman Wu wrote: > Hello Ove, > > I try to change the code by myself. I am using windows 10 right now. > > I find the perl code > at: >

Re: [GNC] Get online quote for Canada Fund

2019-08-12 Thread Kaman Wu
Hello Ove, I try to change the code by myself. I am using windows 10 right now. I find the perl code at: C:\Strawberry\cpan\build\Finance-Quote-1.49-0\lib\Finance\Quote\Cdnfundlibrary.pm BUT after I made the change, it looks like the GNC still call the old code. Can I change that file

Re: [GNC] Get online quote for Canada Fund

2019-08-11 Thread Kaman Wu
thanks a lot. I will try it. On Sun, Aug 11, 2019 at 1:40 PM Ove Grunnér wrote: > I was looking at the code in cpan, and it looks like the module is using > this base url > > http://www.fundlibrary.com/funds/db/_fundcard.asp?t=2= > > and then adding the code after it, e.g. >

Re: [GNC] Get online quote for Canada Fund

2019-08-11 Thread Ove Grunnér
I was looking at the code in cpan, and it looks like the module is using this base url http://www.fundlibrary.com/funds/db/_fundcard.asp?t=2= and then adding the code after it, e.g. http://www.fundlibrary.com/funds/db/_fundcard.asp?t=2=1743 however when trying this url, I get Error 404, unknown

Re: [GNC] Get online quote for Canada Fund

2019-08-11 Thread Kaman Wu
Hello Ove, Thanks for reply my question. I did try "1743". Still get the same error message. I really need solve the problem, otherwise, I have to manually input the price for all funds I have. PS C:\Program Files (x86)\gnucash\bin> perl .\gnc-fq-dump -v fundlibrary 1743 Finance::Quote

Re: [GNC] Get online quote for Canada Fund

2019-08-11 Thread Ove Grunnér
Hi Kaman, according to https://metacpan.org/pod/Finance::Quote::Cdnfundlibrary "This module uses an id that represents the mutual fund on an id used by www.fundlibrary.com. There is no easy way of fetching the id except to jump onto the fundlibrary website, look up the fund and view the url for

[GNC] Get online quote for Canada Fund

2019-08-10 Thread Kaman Wu
I did some search, and found some old posts which are not very helpful. I think I can use: https://metacpan.org/pod/Finance::Quote::Cdnfundlibrary Basing on this module, it use the data from http://www.fundlibrary.com/ I do can search TDB900 on this website and find the correct fund. BUT when I