https://bugs.kde.org/show_bug.cgi?id=528306

--- Comment #11 from [email protected] <[email protected]> ---
(In reply to Thomas Baumgart from comment #9)
> This might be a bit confusing, but the CSV format is meant to import lists
> of (historic) prices for a single currency or stock item. In this case, the
> first line needs to be a header line and the regex for price and date
> identify the column from which the data can be extracted. It may also
> require a start and end data (but I am not sure about that right now).
> Anyway, your approach using a small script should use the following settings:
> 
> > URL: file:/home/wgking/get-stock-price.sh  %1
> > Download mode: Default
> > Data format: Stripped HTML
> > Identifier: ^[^,]+,([^,]+),
> > Select by: Symbol
> > Price: (\d+\.\d+)
> > Price decimal separator: Period (.)
> > Date: (\d{4}\-\d{2}\-\d{2})
> > Date format: %y-%m-%d
> > Default identifier: 
> > Remote source: not checked
> 
> Notice the change in the regex for the identifier to extract the value in
> the second column and the Data format.

Thank you. That works perfectly!
I had completely misunderstood what the "identifier" field should contain - I
thought it should be the parameter passed (ticker)  instead of a regex to
extract the parameter from the source stream. Weird that it worked in KMM 5.1
which made me believe I had configured the online quote correctly. 

You can close this bug report. User misunderstanding/ user error.

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to