<div dir="ltr"><div><div><div>Hi all,<br><br></div>I am having problem with etf VNQ not avail in google finance so tried the FT<br><br></div>(a) url change from fund to etf (success)<br></div><div><a href="https://markets.ft.com/data/etfs/tearsheet/summary?s=%1">https://markets.ft.com/data/etfs/tearsheet/summary?s=%1</a></div><div><a href="https://markets.ft.com/data/etfs/tearsheet/summary?s=VNQ">https://markets.ft.com/data/etfs/tearsheet/summary?s=VNQ</a><br></div><div><br></div><div>(b) price change to catch USD (success)<br></div><div>Price \(USD\)</span><span class="mod-ui-data-list__value">(\d+\.\d+)</span><br></div><a href="https://markets.ft.com/data/funds/tearsheet/summary?s=%1" rel="noreferrer" target="_blank"></a><div><div><pre id="gmail-line1"><span>Price (USD)</span><span></<span class="end-tag">span</span>></span><span></span><span><<span class="gmail-start-tag">span</span> <span class="gmail-attribute-name">class</span>="<a class="gmail-attribute-value">mod-ui-data-list__value</a>"></span><span>85.36</span><span></<span class="end-tag">span</span>></span></pre>(c) am having problem with catching time where hh:mm GMT is present (failed)<br></div><div>, as of (\w+\s\d+\s\d+^([0-9]|0[0-9]|1[0-9]|2[0-3]):[0-5][0-9]$)GMT.</div></div><div><pre id="gmail-line1"><span>, as of Nov 14 2017 01:00 GMT.</span><span></<span class="end-tag">div</span>></span></pre></div><div>help appreciated for (c) catching date time<br></div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">2017-11-14 6:35 GMT+08:00 Geza Giedke <span dir="ltr"><<a href="mailto:geza.giedke@gmail.com" target="_blank">geza.giedke@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">thanks a lot, with your tips I got it to work:<br>
<br>
either using<br>
<a href="http://www.boerse-berlin.com/index.php/Funds?isin=%1" rel="noreferrer" target="_blank">http://www.boerse-berlin.com/<wbr>index.php/Funds?isin=%1</a><br>
with<br>
<br>
Price: Last</div><div class=".+"><span<br>
class="currency">EUR</span><<wbr>span class="nc<br>
id_\d+_last">(\d+.\d+)</span><br>
Date: Date</div><div class=".+"><span class="nc<br>
id_\d+_dateTime">(\d+/\d+/\d+)<wbr></span><br>
Date format: %d %m %y<br>
<br>
or using<br>
<a href="https://markets.ft.com/data/funds/tearsheet/summary?s=%1" rel="noreferrer" target="_blank">https://markets.ft.com/data/<wbr>funds/tearsheet/summary?s=%1</a><br>
with<br>
Price: Price \(EUR\)</span><span<br>
class="mod-ui-data-list__<wbr>value">(\d+\.\d+)</span><br>
Date: , as of (\w+\s\d+\s\d+)\.</div><br>
Date Format: %m %d %y<br>
<br>
works for me for all the funds not available in <a href="http://finance.google.com" rel="noreferrer" target="_blank">finance.google.com</a><br>
<br>
Thanks again!<br>
<br>
best regards<br>
 Geza<br>
<br>
On Mon, Nov 13, 2017 at 9:51 AM, Thomas Baumgart <<a href="mailto:thb@net-bembel.de">thb@net-bembel.de</a>> wrote:<br>
> Geza,<br>
><br>
> looking at the source of the page, I can see<br>
><br>
>    Price (EUR)</span><span class="mod-ui-data-list__<wbr>value">11.13</span><br>
><br>
> which needs to be caught by the regex for the price. I would use something<br>
> like<br>
><br>
>    Price.*</span><span class="mod-ui-data-list__<wbr>value">([\d\.]+)</span><br>
><br>
> The date can be found here:<br>
><br>
>    , as of Nov 10 2017.</div><br>
><br>
> and a corresponding regex would look like<br>
><br>
>    , as of (\w+\s\d+\s\d+)\.<div><br>
><br>
> The date format then is<br>
><br>
>     %m %d %y<br>
><br>
> You need to activate the option "Skip HTML stripping" as parts of the regexes<br>
> rely on the HTML tags which would otherwise not be present.<br>
><br>
> Your mileage may vary as I have not tested any of these.<br>
><br>
> To get to the source: Firefox has an option which is called 'View page source'<br>
> or you can use 'wget' or 'curl' to download the page into a file on your local<br>
> system.<br>
><br>
> Hope that helps.<br>
><br>
> Regards<br>
><br>
> Thomas<br>
><br>
><br>
><br>
> On Sonntag, 12. November 2017 21:46:47 CET Geza Giedke wrote:<br>
><br>
>> thanks Jeff and Salvatore for your help; now I can use<br>
>> <a href="http://finance.google.com" rel="noreferrer" target="_blank">finance.google.com</a> for all stocks and most funds (both date and price<br>
>> are imported correctly).<br>
>> But some funds are not available there, but, for example, here:<br>
>><br>
>> <a href="http://www.boerse-berlin.com/index.php/Funds?isin=LU0069450319" rel="noreferrer" target="_blank">http://www.boerse-berlin.com/<wbr>index.php/Funds?isin=<wbr>LU0069450319</a><br>
>><br>
>> or here:<br>
>><br>
>> <a href="https://markets.ft.com/data/funds/tearsheet/summary?s=LU0069450319:EUR" rel="noreferrer" target="_blank">https://markets.ft.com/data/<wbr>funds/tearsheet/summary?s=<wbr>LU0069450319:EUR</a><br>
>><br>
>> While I think I get KMM to access the correct page, I've not managed<br>
>> to extract the data properly: I've tried to follow<br>
>> <a href="http://doc.qt.io/qt-4.8/qregexp.html#1" rel="noreferrer" target="_blank">http://doc.qt.io/qt-4.8/<wbr>qregexp.html#1</a> (as linked in the KMM Online<br>
>> help), but my construction (for Boerse Berlin) of<br>
>> Price: LastEUR.(\d+.\d+)<br>
>> and<br>
>> Date: Date.(\d+\D+\d+\D+\d+)<br>
>> does not work ("Unable to update price for LU0069450319 (no price or no<br>
>> date)").<br>
>><br>
>> I wonder if I don't understand the regexps properly or if the text<br>
>> with "all HTML tags removed" that the parser works on looks different<br>
>> than I think. How could I get the file that is sent to the page<br>
>> parser?<br>
>><br>
>> thanks a lot and best regards<br>
>>  Geza<br>
>><br>
>> On Sun, Nov 12, 2017 at 12:49 AM, Salvatore Dimartino<br>
>><br>
>> <<a href="mailto:saldimartino@yahoo.ca">saldimartino@yahoo.ca</a>> wrote:<br>
>> > I have used the following settings:<br>
>> ><br>
>> > For stock quotes I created a new entry called GoogleFinance with the<br>
>> > following parameters:<br>
>> ><br>
>> > URL: <a href="https://finance.google.com/finance?q=%1" rel="noreferrer" target="_blank">https://finance.google.com/<wbr>finance?q=%1</a><br>
>> > Symbol: %1<br>
>> > Price: "price"\s+content="((\d+|\d{1,<wbr>3}(?:[,]\d{3})).\d+)<br>
>> > Date: "quoteTime"\s+content="(\d{4}-<wbr>\d{2}-\d{2})T<br>
>> > Date Format: %y-%m-%d<br>
>> ><br>
>> > Also, because almost all of my stocks are listed on the TSX in Canada, I<br>
>> > had to modify my stocks with new tickers as follows:<br>
>> ><br>
>> > I changed for example for Bell Canada <a href="http://BCE.TO" rel="noreferrer" target="_blank">BCE.TO</a> to TSE:BCE, I had to do this<br>
>> > for all my stocks.<br>
>> ><br>
>> ><br>
>> > For currency conversion I modified  Yahoo Currency with the following<br>
>> > parameters:<br>
>> ><br>
>> > URL: <a href="https://finance.google.com/finance?q=%1%2" rel="noreferrer" target="_blank">https://finance.google.com/<wbr>finance?q=%1%2</a><br>
>> > Symbol: %1%2<br>
>> > Price: "price"\s+content="((\d+|\d{1,<wbr>3}(?:[,]\d{3})).\d+)<br>
>> > Date: "quoteTime"\s+content="(\d{4}-<wbr>\d{2}-\d{2})T<br>
>> > Date Format: %y-%m-%d<br>
>> ><br>
>> > Also, I run KmyMoney on Windows machines, I then copied<br>
>> > c:\user\sal\AppData\Roaming\.<wbr>kde\share\config\kmymoneyrc<br>
>> > onto all the other windows machines I have, so that I didn't have to redo<br>
>> > this work on all my machines.<br>
>> ><br>
>> > Regards<br>
>> > Sal Dimartino<br>
>> ><br>
>> ><br>
>> > On Saturday, November 11, 2017, 4:41:43 PM EST, Geza Giedke<br>
>> > <<a href="mailto:geza.giedke@gmail.com">geza.giedke@gmail.com</a>> wrote:<br>
>> ><br>
>> ><br>
>> > yes, the tip to use <a href="http://finance.google.com" rel="noreferrer" target="_blank">finance.google.com</a> for currency also works for me<br>
>> > (KMM 4.7.2).<br>
>> ><br>
>> > Has somebody figured out how to also get quotes for stocks, funds etc<br>
>> > via <a href="http://finance.google.com" rel="noreferrer" target="_blank">finance.google.com</a>? What's the logic behind the syntax used for<br>
>> > "symbol", "price", and "date" in the settings?<br>
>> ><br>
>> > regards<br>
>> > Geza<br>
>> ><br>
>> > On Sun, Nov 5, 2017 at 7:18 AM, timothy <<a href="mailto:timboyle@afrihost.co.za">timboyle@afrihost.co.za</a>> wrote:<br>
>> >> The solution given in the link @ comment #15 by Thomas works fine.<br>
>> >> Just go to Settings / Configure Kmymoney / Online Quotes and reconfigure<br>
>> >> 'Yahoo Currency'<br>
>> >> as per link.<br>
>> >><br>
>> >><br>
>> >> Works fine on 4.8.1. Thanks Thomas.<br>
>> >><br>
>> >> Timothy<br>
>> >><br>
>> >> On Sat, 2017-11-04 at 07:20 +0000, Thomas Baumgart wrote:<br>
>> >>> <a href="https://bugs.kde.org/show_bug.cgi?id=386462" rel="noreferrer" target="_blank">https://bugs.kde.org/show_bug.<wbr>cgi?id=386462</a><br>
>> >>><br>
>> >>> --- Comment #15 from Thomas Baumgart <<a href="mailto:tbaumgart@kde.org">tbaumgart@kde.org</a>> ---<br>
>> >>> Please see<br>
>> >>> <a href="https://forum.kde.org/viewtopic.php?f=69&t=142715&p=383426#p383426" rel="noreferrer" target="_blank">https://forum.kde.org/<wbr>viewtopic.php?f=69&t=142715&p=<wbr>383426#p383426</a><br>
>> >>> for a possible workaround.<br>
<span class="HOEnZb"><font color="#888888">><br>
> --<br>
><br>
> Regards<br>
><br>
> Thomas Baumgart<br>
><br>
> <a href="https://www.telegram.org/" rel="noreferrer" target="_blank">https://www.telegram.org/</a>       Telegram, the better WhatsApp<br>
> ------------------------------<wbr>------------------------------<wbr>-<br>
> Why do programmers wear glasses?<br>
> Cause they don't C#.<br>
> ------------------------------<wbr>------------------------------<wbr>-<br>
</font></span></blockquote></div><br></div>