You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The point of show options is to give you information on things like countries, sectors, industries, categories and such.
In this case you need to include either 'countries', 'sectors' or 'industries' as second variable to the function. The fact it doesn't work with just equities is a bug I will fix later.
If you want all equities symbols you should use the function fd.select_equities() without any input.
Thank you for the quick response. I tried etfs, which worked. I tested show 'something' because I was curious about the message if an option was not available. It returned a ValueError and printing all available options, equity was one of them. That's why I tried this option.
Fixed this issue, if you now enter 'equities' you get countries, sectors and industries, see image below. Please update to version 0.1.6 by doing the following: pip install FinanceDatabase --upgrade
By the way, I have Docstrings in all my functions so you can always call help(fd.show_options) to get more information what is possible.
Describe the bug
Was trying to view all available equities, but I am getting a ValueError which follows a JSONDecodeError (see screenshot).
To Reproduce
Steps to reproduce the behavior:
`
import FinanceDatabase as fd
equities = fd.show_options('equities')
print(equities)
`
Expected behavior
show all available equities
Screenshots
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: