The Net Asset Value (NAV) of Mutual Fund (we call it mutual fund in India perhaps in place of ETF), which is a group of many stocks is obtained from AMFI, which has already been implemented in PP
How ever latest or Historic price of individual stock (e. g. Siemens) has to be obtained from stock exchange, which I mentioned in my earlier posts and for which I shared GITHUB project for API link.
Thanks
Hi @ProgFriese, maybe you can help with this. The feed URL and path to Date and Close are sometimes giving results in PortfolioPerformance (see image above). The feed URL always return valid JSON in the browser. Maybe it depends on having the browser already opened that page before PP can retrieve the data? What do you think?
Hi @hug-sch,
if I haven’t completely lost my way during testing, you need several prerequisites for reliably reproducible responses from www.nseindia.com/api/historical: A cookie set by www.nseindia.com, which also contains an “nseappid”, with which you can then ask the API for historical prices, but this is only successful if you make a request with the appropriate referrer for the respective security. All very unpleasant, I lost the desire to deal with it further during testing.
I’ve been using PP for over a year and successfully fetching all scripts from Yahoo Finance without any glitches. This works seamlessly for both NSE and BSE.
AMFI data can be configured through JSON pretty efficiently too. Haven’t had any issues thus far.
Thanks lime, yahoo finance works fine, only problem is yahoo has the tendency to pull the plug at their will, so I was trying to configure fetching directly from NSE.
Yes, AMFI historic data and EOD NAV is well sorted out.