On Wed, 2026-11-04 at 11:38 -0800, Bruce Schuck wrote:
> On Wed Nov 4 04:09:15 EST 2026, Wm Tarr <wm at ilipsis.net> wrote:
> 
> > I'd suggest trying "germany" first. See Bruce's posting here
> > "Finance-
> > Quote 1.72 released!" on 2026-10-25
> 
> 
> In reply to:
> 
> 
> Wed Nov 4 01:40:05 EST 2026, rsbrux wrote:
> 
> 
> > I need quotes for this tracker certificate and haven't found a way
> > to 
> > get them from F::Q. The only source I have found is the Julius
> > Baer 
> > website: https://derivatives.juliusbaer.com/de/produkte/details? 
> > Isin=CH0143849245
> 
> > Obviously, I haven't tried *all* of the F::Q modules. Is there one
> > anyone
> > would recommend? If not, how hard would it be to write a scraper
> > for
> > the JB website? I used to code, but haven't written anything more
> > complicated than a simple command script in 25 years.
> 
> 
> I tried the "germany" method that attempts the different modules
> configured to be tried, also NG. During this test I also discovered
> that
> the "consorsbank" module has stopped working. This will need further
> review, but the module may be removed in a future release of
> Finance::Quote.
> 
> 
> An initial look into the https://derivatives.juliusbaer.com/ website
> shows a heavy use of JavaScript. For F::Q, that *usually* means
> scraping 
> the web pages may not be possible. Especially if the JS is used to 
> generate and pass tokens and/or cookies.
> 
> 
>  From the https://www.globalinvestments.net/tools/isin-lookup web
> page, 
> a search for CH0143849245 seems to indicate that Julias Baer comes
> up, 
> because that is the company. Also indicated is that it is not a
> listed 
> security. Probably why it is not found on any of the current F::Q
> sources.
> 
> 
> Bruce S

Thanks to both of you for your responses!

The security in question is a derivative peculiar to Julius Baer (a
virtual investment tracking the performance of an internally managed
fund). For the time being I will just enter the quote from the website
into GnuCash manually from time to time, until I have time to try
writing a scraper.

On another note, while playing around with this, I noticed that F::Q
is throwing an error:
>>
Found Finance::Quote version 1.71.
* 11:28:45 ERROR <gnc.price-quotes> [parse_quotesource_error()]
Unrecognized Finance::Quote Error Can't call method "as_text" on an
undefined value at
/app/lib/perl5/site_perl/5.42.0/Finance/Quote/BVB.pm line 109.
Price retrieval failed: Unrecognized Finance::Quote Error: Can't call
method "as_text" on an undefined value at
/app/lib/perl5/site_perl/5.42.0/Finance/Quote/BVB.pm line 109.
<<

I am unaware of any attempt on my part to retrieve quotes from the
Bucharest Stock Exchange, so it is a mystery to me why this is even
being called. Any ideas what might be triggering this?

I tried to fix it by replacing the contents of 
/var/lib/flatpak/app/org.gnucash.GnuCash/current/active/files/lib/perl
5/site_perl/5.42.0/Finance/Quote/BVB.pm with the raw code from 
https://github.com/finance-quote/finance-quote/blob/master/lib/Finance/Quote/BVB.pm
(presumably from F::Q v1.72). This has worked for me before to correct
problems fixed in the newest F::Q that hadn't yet been ported to
flatpak. In this case, however, the error remains unchanged.
Is this a persistent bug in F::Q, or do I need to perform a more
thorough replacement of 1.71 with 1.72 in my flatpak installation?

Thanks to all of you for your support and continued development of
both GC and  F::Q!
_______________________________________________
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