KMyMoney and Finance::Quote
Andre Joost
andrejoost at gmx.de
Fri Aug 5 06:47:56 BST 2022
Hi Jack,
Am 04.08.22 um 21:42 schrieb Jack via KMyMoney:
>
> Have you tried with/without stripping the html tags. (I have no idea how
> that would work with a csv file, but it is not clear to me whether the
> request downloads a real csv file, or displays one in a web page.
The result is a "real" CSV file, with no html tags inside. You can get
it manually from
<https://www.union-investment.de/fonds_depot/fonds-finden/preise-berechnen#HistorischeTagespreise>
after selcting the funds from the right side. The URL used in perl makes
this selection, as well as date and decimal separator.
> Are you certain that you are testing against the same file the KMM
> retrieves? I know there was a way to get the exact URL used, so you can
> be sure you are testing the same data.
Inside KMM, you see the command line that KMM started, using
financequote.pl unionfunds ISIN
>
> Aside from changing the means of getting the csv file, has the format of
> that file changed any? Specifically, have they perhaps changed the
> order of columns?
Yes, they are rearranged, but I checked that. It works on the command
line and inside GnuCash, reurning the right values. In financequote.pl,
there is a disabled print option to dump all returned values, and they
look ok.
>
> Minor point, I would strongly avoid using any version 4 of KMM, it's
> older than ancient, and totally unsupported. 5.0.8 is also very old,
> although I don't think that has anything to do with your main problem.
I don't use KMM4 anymore, but it is still on my Windows machine. In this
case, it returns the same behaviour as KMM 5. I guess the code around FQ
has not been changed.
Greetings,
Andre
More information about the KMyMoney
mailing list