1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 15:17:28 +00:00

reformat plot title

This commit is contained in:
Anson 2020-07-09 00:07:38 -07:00
parent 7ec1c02a8b
commit c76784647c

2
bot.py
View File

@ -155,7 +155,7 @@ def intra(update, context):
mpf.plot(
df,
type="renko",
title=f"Intraday chart for ${symbol.upper()}\n{datetime.date.today().strftime('%d, %b %Y')}",
title=f"\nIntraday chart for ${symbol.upper()} on {datetime.date.today().strftime('%d, %b %Y')}",
volume=True,
style="yahoo",
mav=20,