From a38d0c6e59b79b5a7832d2f8bcf116d2646e4246 Mon Sep 17 00:00:00 2001 From: Florian Kellermann Date: Sat, 7 May 2022 19:34:54 +0200 Subject: [PATCH] Requirements and version --- telegram_bot/requirements.txt | 1 - telegram_bot/shares/share_fetcher.py | 7 +++---- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/telegram_bot/requirements.txt b/telegram_bot/requirements.txt index 8b22f44..aec97ff 100644 --- a/telegram_bot/requirements.txt +++ b/telegram_bot/requirements.txt @@ -1,6 +1,5 @@ pyTelegramBotAPI~=4.5.0 Markdown~=3.3.6 -yfinance~=0.1.70 newsapi-python~=0.2.6 python-dotenv~=0.20.0 requests~=2.27.1 diff --git a/telegram_bot/shares/share_fetcher.py b/telegram_bot/shares/share_fetcher.py index 1a24172..f6d0333 100644 --- a/telegram_bot/shares/share_fetcher.py +++ b/telegram_bot/shares/share_fetcher.py @@ -3,18 +3,17 @@ script for share fetching (by symbols (e.g. AAPL, TSLA etc.)) """ __author__ = "Florian Kellermann, Linus Eickhoff" __date__ = "15.03.2022" -__version__ = "0.0.2" +__version__ = "1.0.0" __license__ = "None" -import yfinance import investpy import pandas def get_share_price(str_search_for): - """_summary_ + """get stock price per share for company name or isin or symbol Args: - str_search_for (_type_): _description_ + str_search_for (string): search for this string/isi Returns: _type_: _description_