diff --git a/functions.py b/functions.py index 85d7eac..9ef27d8 100644 --- a/functions.py +++ b/functions.py @@ -106,7 +106,7 @@ _Donations can only be made in a chat directly with @simplestockbot_ else: return ( f"{['status']['indicator']}: {['status']['description']}." - + f" Please check the status page for more information. https://status.iexapis.com" + + " Please check the status page for more information. https://status.iexapis.com" ) def message_status(self): @@ -322,6 +322,8 @@ _Donations can only be made in a chat directly with @simplestockbot_ df = df.set_index("DT") return df + return pd.DataFrame() + def chart_reply(self, symbol: str): schedule.run_pending() @@ -345,6 +347,8 @@ _Donations can only be made in a chat directly with @simplestockbot_ self.charts[symbol.upper()] = df return df + return pd.DataFrame() + def stat_reply(self, symbols: list): infoMessages = {}