[kmymoney] [Bug 492038] New: Currency conversion from EUR to BTC fails at yahoo.com
Ralf Habacker
bugzilla_noreply at kde.org
Thu Aug 22 11:53:44 BST 2024
https://bugs.kde.org/show_bug.cgi?id=492038
Bug ID: 492038
Summary: Currency conversion from EUR to BTC fails at yahoo.com
Classification: Applications
Product: kmymoney
Version: git (master)
Platform: Other
OS: All
Status: REPORTED
Severity: normal
Priority: NOR
Component: importer
Assignee: kmymoney-devel at kde.org
Reporter: ralf.habacker at freenet.de
Blocks: 488491
Target Milestone: ---
Created attachment 172854
--> https://bugs.kde.org/attachment.cgi?id=172854&action=edit
testcase
SUMMARY
Currency conversion rates can be found e.g. from yahoo with the following url
https://query1.finance.yahoo.com/v7/finance/download/%1-%2?events=history&includeAdjustedClose=true.
An example of this is BTC -> EUR.
The problem, however, is that it does not work the other way around, as can be
seen in the attached example.
STEPS TO REPRODUCE
1. start kmymoney
2. Add an new online quote named "User" (systems with english language) or
"Benutzer" (german language) with
URL:
https://query1.finance.yahoo.com/v7/finance/download/%1-%2?events=history&includeAdjustedClose=true
Download mode: Default
Data format: CSV
Identifier:
Select by: Symbol
Price: Close
Price decimal separator: Period (.)
Date: Date
Date format: %y-%m-%d
Default identifier: EUR-USD
Remote source: not checked
2. load appended test case
3. add account
Name: "checking (BTC)"
select "Online quotes"
OBSERVED RESULT
A message box appears that the update failed.
EXPECTED RESULT
This message should not appear and the update should finish without errors.
SOFTWARE/OS VERSIONS
Linux: openSUSE Leap 15.5
KDE Frameworks Version: 5.102
Qt Version: 5.15.8
ADDITIONAL INFORMATION
The problem is that the desired direction EUR -> BTC is not supported by the
remote source. The reverse direction, on the other hand, is available. There
should be a possibility that after a failed request, a new request is made with
a reversed direction and, if successful, the returned price is inverted.
Referenced Bugs:
https://bugs.kde.org/show_bug.cgi?id=488491
[Bug 488491] Make 5.2 release
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the KMyMoney-devel
mailing list