I think the function get_fund_historical_data should use the ISIN number of a mutual fund than its name to download historical prices. This would be much more consistent and less error-prone as Fund names might not exactly match across different sources that people might be using.
For example, in order to do my job l have to run all the time a search over the ISIN of the mutual funds to get their names using the investpy.get_funds(country=None). Would have been simpler and easier to use the function for downloading historical prices if this function allowed to pass the ISIN number of the mutual funds instead of their names.
I think the function
get_fund_historical_data
should use the ISIN number of a mutual fund than its name to download historical prices. This would be much more consistent and less error-prone as Fund names might not exactly match across different sources that people might be using.So from
I would have changed the function to something like:
For example, in order to do my job l have to run all the time a search over the ISIN of the mutual funds to get their names using the
investpy.get_funds(country=None)
. Would have been simpler and easier to use the function for downloading historical prices if this function allowed to pass the ISIN number of the mutual funds instead of their names.