wait till next meeting
This commit is contained in:
parent
070c9ead3a
commit
ba93a5172d
@ -18,8 +18,7 @@ def get_share_price(str_search_for):
|
|||||||
Returns: none
|
Returns: none
|
||||||
"""
|
"""
|
||||||
|
|
||||||
search_result = investpy.search_quotes(text=str_search_for, products=['stocks'],
|
search_result = investpy.search_quotes(text=str_search_for, products=['stocks'], n_results=1, countries=['germany'])
|
||||||
countries=['germany', 'united states'], n_results=1)
|
|
||||||
|
|
||||||
currency = str(search_result.retrieve_currency())
|
currency = str(search_result.retrieve_currency())
|
||||||
|
|
||||||
@ -58,4 +57,3 @@ def get_share_information(str_search_for):
|
|||||||
str_return = "Company: " + search_result.name + "\nSymbol: " + search_result.symbol + "\nCurrent Price/Share: " + get_share_price(str_search_for)
|
str_return = "Company: " + search_result.name + "\nSymbol: " + search_result.symbol + "\nCurrent Price/Share: " + get_share_price(str_search_for)
|
||||||
|
|
||||||
return str_return
|
return str_return
|
||||||
|
|
Loading…
Reference in New Issue
Block a user