Bug 423858 - Add AMFI to Online Quotes
Summary: Add AMFI to Online Quotes
Status: RESOLVED FIXED
Alias: None
Product: kmymoney
Classification: Applications
Component: onlinebanking (show other bugs)
Version: unspecified
Platform: Other Other
: NOR normal
Target Milestone: ---
Assignee: KMyMoney Devel Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-07-04 03:41 UTC by Suresh PB
Modified: 2024-01-19 03:37 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Suresh PB 2020-07-04 03:41:42 UTC
SUMMARY
Indian Mutual Funds prices are published by AMFI at https://www.amfiindia.com/spages/NAVAll.txt  This URL has data with ";" delimited. The format is as follows:

Aditya Birla Sun Life Mutual Fund

119551;INF209KA12Z1;INF209KA13Z9;Aditya Birla Sun Life Banking & PSU Debt Fund  - Direct Plan-Dividend;154.7628;03-Jul-2020
119552;INF209K01YM2;-;Aditya Birla Sun Life Banking & PSU Debt Fund - Direct Plan-Monthly Dividend;114.3133;03-Jul-2020
119553;INF209K01YO8;-;Aditya Birla Sun Life Banking & PSU Debt Fund - Direct Plan-Quarterly Dividend;111.6641;03-Jul-2020
108272;INF209K01LX6;INF209KA11Z3;Aditya Birla Sun Life Banking & PSU Debt Fund - Regular Plan-Dividend;161.8902;03-Jul-2020
108273;INF209K01LV0;-;Aditya Birla Sun Life Banking & PSU Debt Fund - Regular Plan-Growth;273.2973;03-Jul-2020

The field lists are 
1) Scheme Identifier
2) INF Code
3) INF International code
4) Scheme Name
5) NAV / Price
6) Last Updated Date

Please can you make this available as part of the Online Quotes as under "AMFI".  Or suggest how this can be configured manually.

STEPS TO REPRODUCE
1. 
2. 
3. 

OBSERVED RESULT


EXPECTED RESULT


SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Suresh PB 2022-07-13 06:40:49 UTC
Any update on this?
Comment 2 Suresh PB 2024-01-12 03:22:28 UTC
Now that Yahoo stopped support for updating prices, AMFI price update is a great resource.
Comment 3 Jack 2024-01-13 19:16:35 UTC
Yahoo has never "supported" KMyMoney price updates, and every time they change the layout of the pages that display prices, we need to update the configuration.  At some future point, it will be possible for those update to happen automatically, but currently you need to do it yourself.  Whenever it happens, there is a discussion either at discuss.kde.com or on one of the KMyMoney mailing lists.  
If you go to Settings/Configure KMyMoney..., select Online Quotes on the left, you should be able to either edit the settings for any of the existing price sources, including "Yahoo Finance" or create a new source, such as AMFI.  While it will likely be included in the sources provided by KMyMoney at install time at some future point, you should be able to add it now.  If you need help with the syntax of any of the fields, that is better handled on discuss or the mailing list.
Comment 4 Suresh PB 2024-01-14 14:10:47 UTC
Yahoo's quoting service is no longer available (https://docs.google.com/forms/d/e/1FAIpQLSeyb7xMtZFjoNYI7XG1rjlhUopKAxdLAfSRcaPxg9p-9ii-_g/viewform). With AMFI providing a CSV file and India's 10 crore mutual fund investors, please consider adding out-of-the-box quote retrieval based on ISIN code.
Comment 5 Jack 2024-01-14 16:16:42 UTC
I don't think that KMyMoney ever used that API service, so that notice doesn't affect us.  The existing Quote Source for Yahoo Finance still works.  I have not explicitly tested it with the examples from the initial summary above, but I did confirm that INF209KA12Z1 does work at finance.yahoo.com.
Comment 6 Suresh PB 2024-01-19 03:37:23 UTC
Could use Yahoo to fetch the quotes. See https://discuss.kde.org/t/kmymoney-updating-stock-mutual-fund-issue/1228/18 for the solution.