mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 07:16:40 +00:00
Close #45
This commit is contained in:
parent
bff2e40411
commit
78218834e4
@ -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 = {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user