diff --git a/bot.py b/bot.py index 66fc6ce..8d185be 100644 --- a/bot.py +++ b/bot.py @@ -169,6 +169,10 @@ class StockBot(commands.Bot): embed.add_field(name="Change", value=change_str, inline=True) embed.add_field(name="Previous Close", value=f"${stock_data['previous_close']}", inline=True) + # Add FinViz 5-minute intraday chart + chart_url = f"https://finviz.com/chart.ashx?t={ticker}&ty=c&ta=1&p=i5&s=l" + embed.set_image(url=chart_url) + market_status = "🟢 Market Open" if stock_data['market_open'] else "🔴 Market Closed" embed.set_footer(text=f"{market_status}")