Closed mesoclever closed 2 years ago
Hi @suracoza, thanks for reporting this issue :hugs:
Let me check it and I'll share the outcome later with you!
BTW could you test the function above with the following piece of code instead?
import investpy
search_result = investpy.search_quotes(text="IAPJ", products=["stocks"], countries=["south africa"], n_results=1)
print(search_result)
information = search_result.retrieve_information()
print(information)
OK, it does work with the last piece of code that I sent you, I just need to test the function above, but since that function is directly using the static files (that haven't been updated in a while) some information there may be wrong. So on, I'll study this in the background, but feel free to re-open this issue if you have more information about it!
The get_stock_information function is returning an error for a particular stock.
Output