Update Stock Prices Fails (Andy Chung) (Andy Chung)

Alexandre Perali aperali at gmail.com
Mon Apr 2 16:21:49 UTC 2018


Now I have another problem.

As I have 3 different currencies BRLxMXN, BRLxUSD and BRLxEUR...

Using this syntax:

Price \(\w+\)</span><span class="mod-ui-data-list__value">(\d+\.\d+)</span>

works very well for BRLMXN and BRLEUR but not for BRLUSD

and with this:

Price \(\s\)</span><span class="mod-ui-data-list__value">(\d+\.\d+)</span>

works only for BRLUSD

How can I get it to work with all currencies?

I tried this but doesnt work:

Price \(*\)</span><span class="mod-ui-data-list__value">(\d+\.\d+)</span>


Thank you,

2018-04-02 13:55 GMT+01:00 Alexandre Perali <aperali at gmail.com>:

> Thank you, Chung,
>
> Now it worked!
>
>
>
> 2018-03-28 14:52 GMT+01:00 <kmymoney-request at kde.org>:
>
>> Send KMyMoney mailing list submissions to
>>         kmymoney at kde.org
>>
>> To subscribe or unsubscribe via the World Wide Web, visit
>>         https://mail.kde.org/mailman/listinfo/kmymoney
>> or, via email, send a message with subject or body 'help' to
>>         kmymoney-request at kde.org
>>
>> You can reach the person managing the list at
>>         kmymoney-owner at kde.org
>>
>> When replying, please edit your Subject line so it is more specific
>> than "Re: Contents of KMyMoney digest..."
>>
>>
>> Today's Topics:
>>
>>    1. Re: Update Stock Prices Fails (Andy Chung) (Andy Chung)
>>
>>
>> ----------------------------------------------------------------------
>>
>> Message: 1
>> Date: Wed, 28 Mar 2018 21:52:27 +0800
>> From: Andy Chung <andy.chung.0 at gmail.com>
>> To: "KMyMoney Users' mailing list" <kmymoney at kde.org>
>> Subject: Re: Update Stock Prices Fails (Andy Chung)
>> Message-ID:
>>         <CA+u-DecnLkiBH=LB_4NMCyz+3OgTqz1dNufSi7qUU5Axop6g-Q at mail.
>> gmail.com>
>> Content-Type: text/plain; charset="utf-8"
>>
>> Hi there,
>>
>> does work in my case ....
>> attaching my setting as txt file. hope it helps.
>>
>>
>>
>>
>>
>>
>> 2018-03-28 1:22 GMT+08:00 Alexandre Perali <aperali at gmail.com>:
>>
>> > Hi All,
>> >
>> > These settings below work well for me except for the equities one. Could
>> > you confirm it, please? I'm trying to get quotes for VALE3:SAO but it
>> > returns "Unable to update price for VALE3:SAO (no price or no date)"
>> >
>> > Thank you,
>> >
>> >
>> >>
>> >> Today's Topics:
>> >>
>> >>    1. Re: Update Stock Prices Fails (Andy Chung)
>> >>
>> >>
>> >> ----------------------------------------------------------------------
>> >>
>> >> Message: 1
>> >> Date: Tue, 20 Mar 2018 23:32:25 +0800
>> >> From: Andy Chung <andy.chung.0 at gmail.com>
>> >> To: "KMyMoney Users' mailing list" <kmymoney at kde.org>
>> >> Subject: Re: Update Stock Prices Fails
>> >> Message-ID:
>> >>         <CA+u-Def12dr10-pa-7ha0LzqqKLisqN6z8YSb1sGi8ZtqBOf6g at mail.
>> >> gmail.com>
>> >> Content-Type: text/plain; charset="utf-8"
>> >>
>> >> Hi there,
>> >>
>> >> probably u are using google finance (as me) which ceased lately.
>> >> I just changed the setting to use FT (as ref from previous thread).
>> >> You may have to update your trading symbol according to FT.
>> >>
>> >> Below are settings. 3 sources configured.
>> >>
>> >> Yahoo currency
>> >> https://markets.ft.com/data/currencies/tearsheet/summary?s=%1%2
>> >> %1%2
>> >> Price \(\w+\)</span><span class="mod-ui-data-list__value
>> >> ">(\d+\.\d+)</span>
>> >> , as of (\w+\s\d+\s\d+)\s([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]\s
>> >> %m %d %y
>> >> Skip html skipping (checked)
>> >>
>> >>
>> >> Yahoo (for equities)
>> >> https://markets.ft.com/data/equities/tearsheet/summary?s=%1
>> >> %1
>> >> Price \(\w+\)</span><span
>> >> class="mod-ui-data-list__value">([\d\,]+\.\d+)</span>
>> >> , as of (\w+\s\d+\s\d+)\s([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]\s
>> >> %m %d %y
>> >> Skip html skipping (checked)
>> >>
>> >>
>> >> New Quote source (for etfs)
>> >> https://markets.ft.com/data/etfs/tearsheet/summary?s=%1
>> >> %1
>> >> Price \(\w+\)</span><span class="mod-ui-data-list__value
>> >> ">(\d+\.\d+)</span>
>> >> , as of (\w+\s\d+\s\d+)\s([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]\s
>> >> %m %d %y
>> >> Skip html skipping (checked)
>> >>
>> >>
>> >>
>> >>
>>
>>
>> --
>> Cheers
>> -------------- next part --------------
>> An HTML attachment was scrubbed...
>> URL: <http://mail.kde.org/pipermail/kmymoney/attachments/
>> 20180328/bd575b71/attachment.html>
>> -------------- next part --------------
>> A non-text attachment was scrubbed...
>> Name: image.png
>> Type: image/png
>> Size: 22816 bytes
>> Desc: not available
>> URL: <http://mail.kde.org/pipermail/kmymoney/attachments/
>> 20180328/bd575b71/attachment.png>
>> -------------- next part --------------
>> URL
>> https://markets.ft.com/data/equities/tearsheet/summary?s=%1
>>
>> Symbol
>> %1
>>
>> Price
>> Price \(\w+\)</span><span class="mod-ui-data-list__value
>> ">([\d\,]+\.\d+)</span>
>>
>> Date
>> , as of (\w+\s\d+\s\d+)\s([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]\s
>>
>> Date format
>> %m %d %y
>>
>> ------------------------------
>>
>> Subject: Digest Footer
>>
>> _______________________________________________
>> KMyMoney mailing list
>> KMyMoney at kde.org
>> https://mail.kde.org/mailman/listinfo/kmymoney
>>
>>
>> ------------------------------
>>
>> End of KMyMoney Digest, Vol 89, Issue 11
>> ****************************************
>>
>
>
>
> --
> Atc,
> Perali
>



-- 
Atc,
Perali
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kmymoney/attachments/20180402/94796321/attachment-0001.html>


More information about the KMyMoney mailing list