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

            Bug ID: 486360
           Summary: No support for date ranges in generated download urls
    Classification: Frameworks and Libraries
           Product: libalkimia
           Version: master
          Platform: Other
                OS: Other
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: Online quotes widget
          Assignee: kmymoney-de...@kde.org
          Reporter: ralf.habac...@freenet.de
  Target Milestone: ---

SUMMARY
yahoo currently has their api for downloading citations in csv format. See the
following example

https://query1.finance.yahoo.com/v7/finance/download/EURUSD=X?period1=1682874783&period2=1714497183&interval=1d&events=history&includeAdjustedClose=true

It contains two parameters (period1, period2) to specify the desired date
range. If these parameters are removed from the URL as shown below: 

https://query1.finance.yahoo.com/v7/finance/download/EURUSD=X?interval=1d&events=history&includeAdjustedClose=true

only data for the current day is downloaded. 

Alkimia from the git master branch currently has no support for specifying
corresponding parameters.

STEPS TO REPRODUCE
1. Inspect the source code where the url is generated from the template
(https://invent.kde.org/office/alkimia/-/blame/master/src/alkonlinequote_p.cpp?ref_type=heads#L110)

OBSERVED RESULT
There is currently no support for date ranges in the generated url.

EXPECTED RESULT
Date ranges should be support in generated urls

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

Reply via email to