1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-06-16 15:06:53 +00:00
This commit is contained in:
Anson Biggs 2021-02-09 13:49:43 -07:00
parent bff2e40411
commit 78218834e4

View File

@ -106,7 +106,7 @@ _Donations can only be made in a chat directly with @simplestockbot_
else: else:
return ( return (
f"{['status']['indicator']}: {['status']['description']}." 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): def message_status(self):
@ -322,6 +322,8 @@ _Donations can only be made in a chat directly with @simplestockbot_
df = df.set_index("DT") df = df.set_index("DT")
return df return df
return pd.DataFrame()
def chart_reply(self, symbol: str): def chart_reply(self, symbol: str):
schedule.run_pending() schedule.run_pending()
@ -345,6 +347,8 @@ _Donations can only be made in a chat directly with @simplestockbot_
self.charts[symbol.upper()] = df self.charts[symbol.upper()] = df
return df return df
return pd.DataFrame()
def stat_reply(self, symbols: list): def stat_reply(self, symbols: list):
infoMessages = {} infoMessages = {}