Updating funds rate
Thomas Baumgart
thb at net-bembel.de
Sat Jul 27 13:12:45 BST 2024
Philippe,
On Dienstag, 23. Juli 2024 12:58:27 CEST Philippe Debrabant via KMyMoney wrote:
> Hi,
>
> I'd like to use the fund price updating functionality of KMM for the
> first time with the *5.1.2* version.
>
> I created a new fund "Conservateur Obligations Moyen Terme (C) with the
> code FR0010564328.
>
> After some tries, I found that I could use the "Financial Times" to get
> the current price as the fund is known :
>
> https://markets.ft.com/data/funds/tearsheet/summary?s=FR0010564328:EUR
>
> But when I click on the update button there's an error :
>
> Also, I don't know what is the correct value for "Symbole" field (french
> label of the creation/update dialog box). It's a mandatory value and I
> entered "Conservateur" but I don't know if this value is used in the
> api. I found the symbol "0P0000INO5.F" on the Yahoo Finance page, but
> the api has been deactivated.
I was able to download a price information for the said source and symbol
using a newer version of KMyMoney. My values in the profile are as follows
and you may have to adjust yours in the settings:
URL: https://markets.ft.com/data/funds/tearsheet/charts?s=%1
Format: HTML
Identifier: empty
Selected by: Symbol
Price: <span class="mod-ui-data-list__value">([^<]*)</span>
Date: Data delayed at least 15 minutes, as of ([^\.]*)\.
Date format: MMM dd yyyy
The result I get is:
Fetching URL https://markets.ft.com/data/funds/tearsheet/charts?s=FR0010564328:EUR...
URL found: https://markets.ft.com/data/funds/tearsheet/charts?s=FR0010564328:EUR...
Symbol found: ''
Price found: '286.69' (286,69)
Date found: 'Jul 25 2024'
Date format found: 'Jul 25 2024' -> 'Do. Juli 25 2024'
FR0010564328:EUR FR0010564328:EUR Do. Juli 25 2024 286.69
> Thanks for your help.
Hope it does help.
--
Regards
Thomas Baumgart
-------------------------------------------------------------
Doing something is like wanting to do it ... just more blatant!
-------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 868 bytes
Desc: This is a digitally signed message part.
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20240727/485ac755/attachment.sig>
More information about the KMyMoney
mailing list