Looks good, (only error because I need to switch DIA back to yahoo) and slow 
but much better.  A later run under cron got lots of errors.  Do they ration by 
IP address?
If it is by frequency, maybe we should purposely send requests only every 10 
seconds to simulate a human user?  It cannot make it much slower.

$ flatpak run --command=gnucash-cli org.gnucash.GnuCash --quotes get -- 
/home/dgp/GnuCash/ubuntu-DGPickett.gnucashF: X11 socket /tmp/.X11-unix/X0 does 
not exist in filesystem, trying to use abstract socket instead.
** (process:56531): WARNING **: 17:13:06.732: Failed to connect to bus: Could 
not connect: Connection refusedFound Finance::Quote version 1.59.* 18:08:53 
ERROR <gnc.price-quotes> [parse_quotesource_error()] Unrecognized 
Finance::Quote Error GET https://live.euronext.com/en/search_instruments/DIA 
failed: 500 Can't connect to live.euronext.com:443 (Temporary failure in name 
resolution) at /app/lib/perl5/site_perl/5.32.0/Finance/Quote/AEX.pm line 
72.Price retrieval failed: Unrecognized Finance::Quote Error: GET 
https://live.euronext.com/en/search_instruments/DIA failed: 500 Can't connect 
to live.euronext.com:443 (Temporary failure in name resolution) at 
/app/lib/perl5/site_perl/5.32.0/Finance/Quote/AEX.pm line 72.
real    55m59.087suser    0m0.066ssys     0m0.084s
----------------------------------------------------------Found Finance::Quote 
version 1.59.* 00:41:03  WARN <gnc.price-quotes> 
[GncQuotesImpl::parse_one_quote()] Skipped NYSE:CMCSA - Finance::Quote returned 
fetch failure.Reason Error retrieving quote for CMCSA. Attempt to fetch the URL 
https://query2.finance.yahoo.com/v11/finance/quoteSummary/?symbol=CMCSA&modules=price,summaryDetail,defaultKeyStatistics
 resulted in HTTP response 500 (Internal Server Error)* 00:41:03  WARN 
<gnc.price-quotes> [GncQuotesImpl::parse_one_quote()] Skipped FUND:WFILX - 
Finance::Quote returned fetch failure.Reason Error retrieving quote for WFILX. 
Attempt to fetch the URL 
https://query2.finance.yahoo.com/v11/finance/quoteSummary/?symbol=WFILX&modules=price,summaryDetail,defaultKeyStatistics
 resulted in HTTP response 500 (Internal Server Error)* 00:41:03  WARN 
<gnc.price-quotes> [GncQuotesImpl::parse_one_quote()] Skipped FUND:FDCAX - 
Finance::Quote returned fetch failure.Reason Error retrieving quote for FDCAX. 
Attempt to fetch the URL 
https://query2.finance.yahoo.com/v11/finance/quoteSummary/?symbol=FDCAX&modules=price,summaryDetail,defaultKeyStatistics
 resulted in HTTP response 500 (Internal Server Error)* 00:41:03  WARN 
<gnc.price-quotes> [GncQuotesImpl::parse_one_quote()] Skipped FUND:RYVLX - 
Finance::Quote returned fetch failure. . . . .



    On Tuesday, April 2, 2024 at 01:23:11 PM EDT, john <jra...@ceridwen.us> 
wrote:  
 
 I pushed a new flatpak to Flathub last night that I hope fixes the JSON-Parse 
problem. Please give it a try.

Regards,
John Ralls

> On Apr 2, 2024, at 08:54, David G. Pickett via gnucash-user 
> <gnucash-user@gnucash.org> wrote:
> 
> I tried timing all for a common NYSE stock VZ but they seemed all slow or 
> failed, so I asked others what worked for them.
> 
> Now I am on a broken flatpak dist of Finance Quote 1.59 (flatpak stuff runs 
> in an alternate universe, and even though 1.58 had json, 1.59 fails for the 
> lack of perl json parser), so waiting continues.  Yahoo JSON was actually 
> working pretty well, for most of my securities.
>    On Tuesday, April 2, 2024 at 09:34:37 AM EDT, Kalpesh Patel 
><kalpesh.pa...@usa.net> wrote:  
> 
> Not sure if anyone answered it or not but really it is a moving target in 
> terms you have to match up which source provides which quotes. Internet is 
> always moving and these data sourcer/aggregator always update along with it 
> as they add/modify/remove what they offer... no one offers entire universe 
> out there for free although yahoo json has been a good source.
> 
> You can also custom write your own way of pulling them which some of us have 
> done. If not you can always import prices using csv importation method. Take 
> a look at https://github.com/ka-patel/dl_quotes which might be a starting 
> point (fyi: this is not sanctioned by F::Q or GNC; strictly my own personal 
> project in spare time)
> 
> -----Original Message-----
> From: David G. Pickett <dgpick...@aol.com> 
> Sent: Thursday, March 28, 2024 10:59 PM
> To: Gnucash Users <gnucash-user@gnucash.org>
> Subject: Re: [GNC] Finance Quotes Yahoo off the rails again?
> 
> So anyone care to recommend a source setting for quotes that works?
> 
> 
> _______________________________________________
> 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