alvarobartt / investpy

Financial Data Extraction from Investing.com with Python
https://investpy.readthedocs.io/
MIT License
1.59k stars 374 forks source link

ERR#0043: no results were found for the introduced name by investpy.funds.search_funds #551

Open technqvi opened 2 years ago

technqvi commented 2 years ago

Hi I search for the desired fund https://www.investing.com/funds/ in order to apply this function investpy.funds.search_funds(by, value) to get this fund data.

No matter what parameter I take into this function, it returns no result despite the fact that this fund is searchable on https://www.investing.com/funds/ What is the cause of this issue?

This screenshot ,code and error result as below are my experiments. fund link =https://www.investing.com/funds/th8068010009-chart name=Asset Plus Small And Mid Cap Equity Fund symbol=0P0001BFR7 isbn=TH8068010009

image

` import investpy import datetime import pandas as pd

https://www.investing.com/funds/

x=investpy.funds.search_funds('name', 'Asset Plus Small And Mid Cap Equity Fund')

x=investpy.funds.search_funds('symbol', '0P0001BFR7')

x=investpy.funds.search_funds('isin', 'TH8068010009')

` image

However, there is something interesting, you can search it or whatever function that you want to invoke , if the fund is in the list of funds from using investpy.get_funds I try to invoke this function and save it as an excel file then I choose one of the listed funds in this file to search, and it is done. Put it in another way, you can only get any fund information from all of them that are in investpy.get_funds function

Many funds that you want to retrieve their information in https://www.investing.com/funds/ . it won't be probably found by using this function as well as the other function on https://investpy.readthedocs.io/_api/funds.html

image