Stooq.pl reliablility
Szőts Ákos
szotsaki at gmail.com
Fri Jun 8 16:56:19 UTC 2018
Dear Thomas,
2018-06-04 12:10 GMT+02:00 Thomas Baumgart <thb at net-bembel.de>:
> Ákos et al,
>
> On Donnerstag, 31. Mai 2018 10:01:39 CEST Szőts Ákos wrote:
>
> > Dear developers,
> >
> > I noticed that in my account the HUF <> EUR change works erratically.
> >
> > I downloaded two .csv files from stooq.pl which represents HUF-EUR and
> > EUR-HUF exchange rates respectively (as KMyMoney downloads it):
> > - http://stooq.pl/q/d/l/?s=HUFEUR&d1=20180501&d2=20180531&i=d
> > - http://stooq.pl/q/d/l/?s=EURHUF&d1=20180501&d2=20180531&i=d
> >
> > See 2nd of May:
> > - EUR - HUF: 314.49 Ft (correct according to the official source [1])
> > - HUF - EUR: 0.31796 €
> >
> > EURHUF == 1/HUFEUR? No. HUF-EUR should be 0,003179751343444943 but it
> > is 100 times bigger.
>
> That is certainly not expected from a users POV. I took a look at the raw
> data provided by stooq.pl for the day in question and here are the
> results:
>
> thb at thb-nb:~/tmp$ curl 'https://stooq.pl/q/d/l/?s=EURHUF&d1=20180502&d2=
> 20180502&i=d'
> Data,Otwarcie,Najwyzszy,Najnizszy,Zamkniecie
> 2018-05-02,314.07,314.721,312.978,314.49
>
> thb at thb-nb:~/tmp$ curl 'https://stooq.pl/q/d/l/?s=HUFEUR&d1=20180502&d2=
> 20180502&i=d'
> Data,Otwarcie,Najwyzszy,Najnizszy,Zamkniecie
> 2018-05-02,0.31836,0.31951,0.31774,0.31796
>
> So how should KMyMoney know, that in one case the numbers are too big by a
> factor of 100?
>
> > Besides, the response truncates results to 5 digits which reduces
> > accuracy a bit.
>
> Yes, but it's the accuracy which is provided by the server, so nothing
> KMyMoney can do about.
>
> > Please, take a look at this issue.
> >
> > Thank you and all the best,
>
> Any idea of how to improve the situation?
>
As I saw after a 10+ minute of web search there isn't a big selection of
free currency exchange rate providers. So instead of finding a new one, I
wrote to Stooq to take a look on the issue. Hopefully, they'll fix it soon.
>
>
> --
>
> Regards
>
> Thomas Baumgart
>
> https://www.telegram.org/ Telegram, the better WhatsApp
> -------------------------------------------------------------
> We can't solve problems by using the same kind of thinking we
> used when we created them. - Albert Einstein
> -------------------------------------------------------------
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20180608/de8c0a9e/attachment.html>
More information about the KMyMoney-devel
mailing list