Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to calculate XIRR from this CAS parsed data #77

Open
girishgupta211 opened this issue Aug 8, 2023 · 3 comments
Open

How to calculate XIRR from this CAS parsed data #77

girishgupta211 opened this issue Aug 8, 2023 · 3 comments

Comments

@girishgupta211
Copy link

How to calculate XIRR from this CAS parsed data

@codereverser
Copy link
Owner

here's an example from another project that uses cas data.

https://github.com/codereverser/folioman/blob/main/api/mutualfunds/utils.py#L160

you need to pass transactions list along with current date and value (both available from cas parsed data). You may pass just transactions from a single scheme for a fund wise xirr, or merge transactions array from all schemes to get a portfolio wise xirr.

@girishgupta211
Copy link
Author

Thanks Sandeep for response.

Hi how can I get daily NAV for all schemes? Is there any way to sync users data once he uploads the CAS file for new transactions ? Also is there any API to get scheme details for given ISIN number

Regards
Girish

@isaac-philip
Copy link
Contributor

Hello @girishgupta211 ,

for your query to get daily NAV for all mutual fund schemes,

Check out https://www.mfapi.in/

eg. ICICI Prudential Nifty Next 50 Index Fund - Direct Plan - IDCW at https://api.mfapi.in/mf/120683

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants