1
0
mirror of https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git synced 2025-07-26 08:01:26 +00:00

Finishing touches to /stat

This commit is contained in:
2020-10-10 21:35:11 -07:00
parent b3e628023b
commit 78b412ebff
2 changed files with 20 additions and 19 deletions

4
bot.py
View File

@@ -156,7 +156,7 @@ def intra(update, context):
mpf.plot(
df,
type="renko",
title=f"\nIntraday chart for ${symbol.upper()} on {datetime.date.today().strftime('%d, %b %Y')}",
title=f"\n${symbol.upper()}",
volume=True,
style="yahoo",
mav=20,
@@ -166,7 +166,7 @@ def intra(update, context):
update.message.reply_photo(
photo=buf,
caption=f"",
caption=f"\nIntraday chart for ${symbol.upper()} on {datetime.date.today().strftime('%d, %b %Y')}",
parse_mode=telegram.ParseMode.MARKDOWN,
)