KMyMoney and Finance::Quote

Andre Joost andrejoost at gmx.de
Mon Aug 8 10:41:30 BST 2022


Am 08.08.22 um 09:10 schrieb Thomas Baumgart via KMyMoney:
> On Sonntag, 7. August 2022 16:14:41 CEST Andre Joost via KMyMoney wrote:
>
>> Am 07.08.22 um 16:08 schrieb Andre Joost via KMyMoney:
>>
>>> On Windows:
>>> C:/Program Files/KMyMoney512/bin/data/kmymoney/misc/financequote.pl
>>> unionfunds
>>>    DE0008491051 wird ausgeführt ...
>>> Preis für DE0008491051 kann nicht aktualisiert werden (kein Preis oder
>>> kein Datum)
>>>
>>> C:/Program Files/KMyMoney512/bin/data/kmymoney/misc/financequote.pl deka
>>> DE0008474503 wird ausgeführt ...
>>
>> Just wondering: There is a line feed in both cases between unionfunds
>> and the symbol, but not between deka and the symbol.
>
> That maybe the culprit. But where does it come from? The only way it could
> end up there if it is contained in your data. Can you check that? Which
> storage method do you use (XML, GZIP, GPG protected, SQLite)?
>

The kmy file is XML, but zipped. inside I found:

   <SECURITY id="E000001" trading-market="FUND" type="1"
symbol="DE0009805507" rounding-method="7" pp="2" trading-currency="EUR"
name="UniImmo: Deutschland" saf="1000">
    <KEYVALUEPAIRS>
     <PAIR key="kmm-online-quote-system" value="Finance::Quote"/>
     <PAIR key="kmm-online-source" value="unionfunds&#xd;"/>
    </KEYVALUEPAIRS>
   </SECURITY>

Don't ask me where the &#xd; comes from. Without that, the price gets
updated.
Furthermore:
If I create a new security to be quoted from deka, the same appendix is
added, and no price is returned. So it must be something with the KMM
dialogue box (under Windows at least).

I use my kmy file for several years now, and added the funds with KMM
4.8. Maybe there is a bug in KMM 5.1.2. After enabling "Use
Finance:Quote", I see all modules doubled, and when I do this in KMM
4.8.4, I see no entry in KMM 5.

Greetings,
Andre



More information about the KMyMoney mailing list