[kmymoney] [Bug 408451] New: Financial Times online price update fails for LSE equities

David Mason bugzilla_noreply at kde.org
Sat Jun 8 12:13:45 BST 2019


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

            Bug ID: 408451
           Summary: Financial Times online price update fails for LSE
                    equities
           Product: kmymoney
           Version: unspecified
          Platform: Other
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: general
          Assignee: kmymoney-devel at kde.org
          Reporter: djm at tarp.org.uk
  Target Milestone: ---

Created attachment 120690
  --> https://bugs.kde.org/attachment.cgi?id=120690&action=edit
Patch to make Financial Times date regexp more flexible

SUMMARY

I've noticed that online price update fails for LSE (London Stock Exchange)
equities when using the "Financial Times" source.

The date regexp for this data source searches for the text: "Data delayed at
least 15 minutes". However, LSE equities have a delay of 20 minutes, so the
match fails: https://markets.ft.com/data/equities/tearsheet/summary?s=IHG:LSE

Making the date regexp more flexible allows price update to work as expected.

I've attached a patch that updates the default date regexp.

STEPS TO REPRODUCE
1. Add an LSE equity, such as IHG:LSE
2. Set the online source to Financial Times
3. Update the price

OBSERVED RESULT

Price found: '123.40' (123.4)
Unable to update price for xxx (no price or no date)

EXPECTED RESULT

Price found: '123.40' (123.4)
Date found: 'Fri Jun 7 2019'
Price for xxx updated (ID E000001)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the KMyMoney-devel mailing list