Stooq.pl reliablility

Thomas Baumgart thb at net-bembel.de
Mon Jun 4 10:10:04 UTC 2018


Á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?


-- 

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 --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 846 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney-devel/attachments/20180604/34fe025e/attachment.sig>


More information about the KMyMoney-devel mailing list