[Kmymoney] KMM - still other questions ...

pjp13 at free.fr pjp13 at free.fr
Fri Oct 3 22:04:35 UTC 2014


Thank you to Thomas and Cristian for their guidances (and for "subscribing" me to the mailing list) 
Regards 
Pascal. 

----- Mail original -----

De: "Cristian Oneț" <onet.cristian at gmail.com> 
À: "KMyMoney Users' mailing list" <kmymoney at kde.org> 
Envoyé: Vendredi 3 Octobre 2014 16:07:54 
Objet: Re: [Kmymoney] KMM - still other questions ... 

2014-10-03 17:01 GMT+03:00 Thomas Baumgart <thb at net-bembel.de>: 


Hi, 

On Friday 03 October 2014 15:26:05 pjp13 at free.fr wrote: 


<blockquote>
Hello, 

To improve my knowledge of KMM (windows version), I still have questions for 
which I cannot find answers in the manual or on the web. 

First, thanks to the help from Koos and Thomas, I now have a better 
understanding of regular expressions, and this led me to better locate 
where my online quotation update problem lies. I realized that KMM 
downloads a csv file from the financial website an then uses regex to 
extract code, quotation and date from this csv file. The trouble is that in 
some instances the csv file doesn't contain the correct values of quotation 
and date. Therefore I suspect that the problem comes from the URL used 
(http://finance.yahoo.com/d/quotes.csv?s=%1&f=sl1d1 in the case of Yahoo 
for instance). This finally brings me to my question : where could I find 
informations on how to build/adapt such URLs ? I understand that %1 is used 
to pass the equitie code but that's about all, I am puzzled by the 
"&f=sl1d1" for instance. 



The %1 is about the only special part introduced by KMyMoney at this point. As 
you already mention, it is the code for the security. Another one would be %2 
which is used to retrieve currency exchange information where %1 is a 
placeholder for the code of the 'from currency' and %2 the counterpart for the 
code of the 'to currency'. 

The "&f=sl1d1" is something that controls the output of the Yahoo page. 
Details are unknown and the part is usually obtained by trial and error. 

A search reveals some documentation like this [1] and [2]. 
</blockquote>


Regards, 
Cristian 

[1] https://code.google.com/p/yahoo-finance-managed/wiki/csvQuotesDownload 
[2] https://code.google.com/p/yahoo-finance-managed/wiki/enumQuoteProperty 


<blockquote>


<blockquote>
Second, and it is more a comment than a question, when I try to export a 
report it always comes out in html format, even if I chose csv format. This 
is not really a problem as I found an even quicker way to export to Libre 
Office Calc : a simple copy/paste does the job. 

Thank you in advance, whatever you can do. 

Regards. 
Pascal 
_______________________________________________ 
KMyMoney mailing list 
KMyMoney at kde.org 
https://mail.kde.org/mailman/listinfo/kmymoney 
-- 
</blockquote>


Regards 

Thomas Baumgart 

GPG-FP: E55E D592 F45F 116B 8429 4F99 9C59 DB40 B75D D3BA 
------------------------------------------------------------- 
Two of the most famous products of Berkeley are LSD and UNIX. 
I don't think that this is a coincidence. (anonymous) 
------------------------------------------------------------- 

_______________________________________________ 
KMyMoney mailing list 
KMyMoney at kde.org 
https://mail.kde.org/mailman/listinfo/kmymoney 

_______________________________________________ 
</blockquote>

KMyMoney mailing list 
KMyMoney at kde.org 
https://mail.kde.org/mailman/listinfo/kmymoney 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20141004/f6f5d687/attachment.html>


More information about the KMyMoney mailing list