Working for all isins and new requirements #144

Merged
FlorianKellermann merged 13 commits from bot into main 2022-05-08 08:44:02 +00:00
Showing only changes of commit f492c81397 - Show all commits

View File

@ -13,10 +13,9 @@ def get_share_price(str_search_for):
"""get stock price per share for company name or isin or symbol """get stock price per share for company name or isin or symbol
Args: Args:
str_search_for (string): search for this string/isi str_search_for (string): search for this string/isin
Returns: Returns: none
_type_: _description_
""" """
search_result = investpy.search_quotes(text=str_search_for, products=['stocks'], search_result = investpy.search_quotes(text=str_search_for, products=['stocks'],
@ -34,13 +33,12 @@ def get_share_price(str_search_for):
def get_share_price_no_currency(str_search_for): def get_share_price_no_currency(str_search_for):
"""_summary_ """get stock price per share for company name or isin or symbol no currency
Args: Args:
str_search_for (_type_): _description_ str_search_for (string): search for this string/isin
Returns: Returns: none
_type_: _description_
""" """
search_result = investpy.search_quotes(text=str_search_for, products=['stocks'], search_result = investpy.search_quotes(text=str_search_for, products=['stocks'],
@ -61,8 +59,3 @@ def get_share_information(str_search_for):
return str_return return str_return
if __name__ == "__main__":
print(get_share_price("AAPL"))
print(get_share_information("AAPL"))