Skip to content

Bug Fix Release - v1.0.4

Compare
Choose a tag to compare
@alvarobartt alvarobartt released this 31 Mar 11:12
· 77 commits to master since this release
db44000

Bug Fixes

  • Removed useless print statement in investpy.search_quotes(), as it was a debug message while developing the new unreleased feature investpy.search_events().

  • Now the dicts are updated using key access instead of .update() functions, as those take more computation time to update the dict's value for a certain key.

  • investpy.search_quotes() returns a single value when n_results=1, instead of a list with one single value in it. So that now, we can just:

    import investpy
    search_result = investpy.search_quotes(text='apple`, n_results=1)

    instead of:

    import investpy
    search_results = investpy.search_quotes(text='apple`, n_results=1)
    search_result = search_results[0]
  • The function investpy.get_stock_information() has been fixed so as to support the latest Investing.com changes in the HTML which were resulting in an error while trying to be parsed with the previous function. This was solved by @alexis 💪

  • The static file cryptos.csv has been updated in order to support the latest cryptocurrencies indexed on Investing.com.

  • A bug while trying to retrieve information from financial products with special characters has been solved, so that now all the investpy static information is fully accessible.

  • Sometimes when retrieving the data from a cryptocurrency, you could run into an error while parsing the volume, which has been also fixed. Thanks to @adximize 👏

  • The README.md has been refactored including emojis and some readability improvements.

  • Some other minor issues or improvements have also been fixed.

Information

Anyways, feel free to open as many issues as you think the package needs in order to improve investpy! Any kind of help is appreciated since this is an open-source project.

Contact me via email, via LinkedIn, via Twitter or via GitHub.