
Claude Code + Telegram = Free Stock Alert Bot | Now It Texts Me at Market Open
The AI University16 June 2026Watch on YouTube
Part of series
Ep. 6 · Claude Code: Beurstools Bouwen
Praktische tutorials voor het bouwen van gratis stock screeners en alertbots met Claude Code.
View the seriesDescription
Adblitz AI Website: www.Adblitzai.com Project Files Available at Skool Community: https://www.skool.com/the-ai-university-9677/classroom You asked for it. Here it is. Claude Code + Telegram = Free Stock Alert Bot | Now It Texts Me at Market Open This video wires the free NSE stock screener (built in the previous video) directly to Telegram — your daily top picks arrive at 9:15 AM IST every weekday, ranked by composite score, before you open a single chart. Claude Code builds the complete Telegram notification module from one plain-English prompt, integrates it with the existing screener, and schedules it at market open automatically. Here's what this build adds: - Full Telegram Bot setup walkthrough — BotFather, bot token, and chat ID (step by step, 3 minutes) - A Telegram notifier module that formats top 5 screened stocks into a readable message - Composite score included in every alert so you know which stock to prioritize first - Dual-market support: NSE fires at 9:15 AM IST, NYSE fires at 9:30 AM ET — one config variable controls both the market and the timezone automatically - Market hours check — no alerts fire on weekends - Error handling so the screener keeps running even if Telegram is temporarily down Watch the stock screener video first (linked below) — you need that code before adding the Telegram layer. The screener scans 500 Nifty 500 stocks for three signals: PE under 20, volume 2x the 20-day average, and RSI above 50. It ranks the top 25 by a composite score. This video adds a Telegram delivery module that takes the top 5, formats them with the score, and sends them to your phone at market open every weekday. No paid APIs, no subscriptions — just Claude Code, the schedule library, and the Telegram Bot API. INITIAL PROMPT: I already have a working stock screener that scans stocks and gives me a daily ranked list of the best ones based on their valuation, trading volume, and price momentum. It supports two markets — NSE for Indian stocks and NYSE for US stocks. I want to add a Telegram notification to it that works for both. At the very top of the file, I want one simple setting where I choose which market I'm running alerts for — either NSE or NYSE. If NSE is chosen: send the Telegram alert every weekday at 9:15 AM India time — right when the NSE market opens. If NYSE is chosen: send the alert every weekday at 9:30 AM Eastern US time — right when the New York Stock Exchange opens. The code should handle the timezone difference automatically — I don't want to change my computer's clock or do any manual time calculations. It should know the correct time to fire based on whichever market I've chosen at the top. Either way, it should take the 10 highest-ranked stocks from that day's screener results and send a Telegram message that shows: the market name (NSE or NYSE), today's date and time, each stock's name, how much the trading volume has spiked compared to normal, the momentum reading, and the overall ranking score. I have kept my Telegram bot token and chat ID in the .env file so please get it it from there whenever needed. Keep the schedule running in the background all day until I stop it manually. DISCLAIMER: The content in this video is for educational and entertainment purposes only. I am not a financial advisor. Investing in stocks involves risk, and you may lose your capital. Past performance is not indicative of future results. The screener outputs in this video are technical signals for research purposes only — they are NOT buy or sell recommendations. Always do your own research (DYOR) before making any investment decisions. ------------------------------------------------------------------------------------------------------------ Join this channel to get access to perks: https://www.youtube.com/channel/UCv6Uw36LRbYnX4HDxKPguKg/join ------------------------------------------------------------------------------------------------------------ FOLLOW ME ON: Twitter: https://twitter.com/theaiuniverse Facebook : https://www.facebook.com/theaiuniversity Instagram: https://www.instagram.com/theaiuniversityofficial Telegram: https://t.me/theaiuniversity ****************************************************************** DISCLAIMER: This video and description may contain affiliate links, which means that if you click on one of the product links, I’ll receive a small commission. #ClaudeCode #TelegramBot #StockAlert #NSEStocks #TheAIUniversity
What you'll learn
- Build a free stock alert bot that sends your top selected stocks to your phone via Telegram at market open every weekday.
- Connect an existing stock screener directly to Telegram and automatically send ranked top 5 stocks at 9:15 AM IST (NSE) or 9:30 AM ET (NYSE).
- Use Claude Code to build a Telegram notification module in a single prompt that supports both markets with automatic timezone conversion and market hours checking.
- Integrate your Telegram bot token and chat ID from an .env file and set the bot on background scheduling to continuously deliver alerts on weekdays.
- Receive alerts with full details: stock name, volume spike comparison, momentum value and composite score ranking, without external paid APIs or subscriptions.