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

Unable to fetch data from AMFI. #24

Closed
vkamlesh opened this issue Jun 3, 2021 · 2 comments
Closed

Unable to fetch data from AMFI. #24

vkamlesh opened this issue Jun 3, 2021 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@vkamlesh
Copy link

vkamlesh commented Jun 3, 2021

For the last few weeks, I am unable to fetch data from AMFI.

from mftool import Mftool
mf = Mftool()
mf.get_open_ended_debt_scheme_performance()
{'Long Duration': [], 'Medium to Long Duration': [], 'Medium Duration': [], 'Short Duration': [], 'Low Duration': [], 'Ultra Short Duration': [], 'Liquid': [], 'Money Market': [], 'Overnight': [], 'Dynamic Bond': [], 'Corporate Bond': [], 'Credit Risk': [], 'Banking and PSU': [], 'Floater': [], 'FMP': [], 'Gilt': [], 'Gilt with 10 year constant duration': []}
mf.get_open_ended_equity_scheme_performance()
{'Large Cap': [], 'Large & Mid Cap': [], 'Multi Cap': [], 'Mid Cap': [], 'Small Cap': [], 'Value': [], 'ELSS': [], 'Contra': [], 'Dividend Yield': [], 'Focused': []}
mf.get_open_ended_hybrid_scheme_performance()
{'Aggressive Hybrid': [], 'Balanced Hybrid': [], 'Conservative Hybrid': [], 'Equity Savings': [], 'Arbitrage': [], 'Multi Asset Allocation': []}

@NayakwadiS
Copy link
Owner

#23

NayakwadiS added a commit that referenced this issue Aug 4, 2021
v2.2 resolved #23 #24 #25 and removed deprecated function get_mutual_fund_ranking
@NayakwadiS NayakwadiS added the duplicate This issue or pull request already exists label Aug 15, 2021
@anirudh-agarwalla
Copy link

CODE:
value = mf.get_open_ended_equity_scheme_performance(True)
print(value)

value = mf.get_open_ended_debt_scheme_performance(True)
print(value)

Output
{"Large Cap": [], "Large & Mid Cap": [], "Multi Cap": [], "Mid Cap": [], "Small Cap": [], "Value": [], "ELSS": [], "Contra": [], "Dividend Yield": [], "Focused": []}
{"Long Duration": [], "Medium to Long Duration": [], "Medium Duration": [], "Short Duration": [], "Low Duration": [], "Ultra Short Duration": [], "Liquid": [], "Money Market": [], "Overnight": [], "Dynamic Bond": [], "Corporate Bond": [], "Credit Risk": [], "Banking and PSU": [], "Floater": [], "FMP": [], "Gilt": [], "Gilt with 10 year constant duration": []}

Can someone help me why this is happening?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

3 participants