Working for all isins and new requirements #144
@ -13,10 +13,9 @@ def get_share_price(str_search_for):
|
||||
"""get stock price per share for company name or isin or symbol
|
||||
|
||||
Args:
|
||||
str_search_for (string): search for this string/isi
|
||||
str_search_for (string): search for this string/isin
|
||||
|
||||
Returns:
|
||||
_type_: _description_
|
||||
Returns: none
|
||||
"""
|
||||
|
||||
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):
|
||||
"""_summary_
|
||||
"""get stock price per share for company name or isin or symbol no currency
|
||||
|
||||
Args:
|
||||
str_search_for (_type_): _description_
|
||||
str_search_for (string): search for this string/isin
|
||||
|
||||
Returns:
|
||||
_type_: _description_
|
||||
Returns: none
|
||||
"""
|
||||
|
||||
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
|
||||
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
print(get_share_price("AAPL"))
|
||||
print(get_share_information("AAPL"))
|
Loading…
Reference in New Issue
Block a user