Bug 474321 - Online Quote Config Dialog - Dump CSV not working
Summary: Online Quote Config Dialog - Dump CSV not working
Status: RESOLVED WORKSFORME
Alias: None
Product: libalkimia
Classification: Frameworks and Libraries
Component: General (show other bugs)
Version: 8.1.72
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: 8.2
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-09 08:27 UTC by KB.claim
Modified: 2024-05-31 16:01 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
the button wihout function (52.82 KB, image/png)
2023-09-09 08:27 UTC, KB.claim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description KB.claim 2023-09-09 08:27:29 UTC
Created attachment 161519 [details]
the button wihout function

Windows 11.

The configuration parameters of a online quote source should be "dumpable". There is a button "dump CSV" but this has no effect, there is no CSV created.

Menu -> Settings -> configure kmymoney -> Online Quotes -> Select any source and press "dump CSV" button
Comment 1 Ralf Habacker 2024-03-05 18:56:44 UTC
The aforementioned button was used to download csv content and not to read the configuration parameters of an online course source. 
With version 5.2, this functionality will be moved to the alkimia library. I have therefore assigned this ticket accordingly.
Comment 2 Ralf Habacker 2024-05-31 16:01:45 UTC
(In reply to KB.claim from comment #0)
> The configuration parameters of an online course source should be "dumpable".

The desired configuration parameters are stored in configuration files on the file system in a file called 'kmymoneyrc'. Under Windows, you can search for this file in the user's home directory using Explorer.

Under Linux, the actual paths used can be queried with a command line tool from the KDE framework. See the following example:

$ kf5-config --path config
/home/user/.config/:....

Adding 'kmymoney/kmymoneyrc' results in the actual path. 

In this file, online quotes are defined in categories like this:

[online-quote-source-<name-of-source>]
DataFormat=2
DateFormatRegex=%y-%m-%d
DateRegex=Date
StandardId=EUR-USD
DownloadType=0
IDBy=0
IDRegex=
PriceDecimalSeparator=0
PriceRegex=Close
ReferenceName=
URL=https://query1.finance.yahoo.com/v7/finance/download/%1%2=X?events=history&includeAdjustedClose=true