Requirements and version

This commit is contained in:
Florian Kellermann 2022-05-07 19:34:54 +02:00
parent ec4a6f98e3
commit a38d0c6e59
2 changed files with 3 additions and 5 deletions

View File

@ -1,6 +1,5 @@
pyTelegramBotAPI~=4.5.0 pyTelegramBotAPI~=4.5.0
Markdown~=3.3.6 Markdown~=3.3.6
yfinance~=0.1.70
newsapi-python~=0.2.6 newsapi-python~=0.2.6
python-dotenv~=0.20.0 python-dotenv~=0.20.0
requests~=2.27.1 requests~=2.27.1

View File

@ -3,18 +3,17 @@ script for share fetching (by symbols (e.g. AAPL, TSLA etc.))
""" """
__author__ = "Florian Kellermann, Linus Eickhoff" __author__ = "Florian Kellermann, Linus Eickhoff"
__date__ = "15.03.2022" __date__ = "15.03.2022"
__version__ = "0.0.2" __version__ = "1.0.0"
__license__ = "None" __license__ = "None"
import yfinance
import investpy import investpy
import pandas import pandas
def get_share_price(str_search_for): def get_share_price(str_search_for):
"""_summary_ """get stock price per share for company name or isin or symbol
Args: Args:
str_search_for (_type_): _description_ str_search_for (string): search for this string/isi
Returns: Returns:
_type_: _description_ _type_: _description_