/Building Stock Market Based Telegram Bots using Python

Building Stock Market Based Telegram Bots using Python

Learn with Rajandran R

4 modules

Lifetime access


Introduction and Overview
- Course Goals: Learn to build Telegram bots fetching real-time financial data, generating dynamic Plotly charts, and sending

personalized alerts.
- Target Audience: Python developers integrating financial data and bot functionalities.
- Technologies Used: Python, `python-telegram-bot`, `yfinance`, Plotly, DigitalOcean.

 Session 1: Introduction and Basic Bot Development
1. Overview of Telegram Bots:
  - What are Telegram Bots?: Automated users performing predefined tasks.
  - Use Cases: Financial alerts, trading summaries, data retrieval.

2. Setting Up Your Development Environment:
  - Installing Python: Steps to install Python.
  - Necessary Libraries: Install `python-telegram-bot`, `yfinance`, `pandas`.
  - Virtual Environment: Setup with `venv`.

3. Creating Your First Telegram Bot:
  - Registering with BotFather: Steps to get a bot token.
  - Hello World Bot: Basic bot responding with "Hello World".

4. Telegram Bot API Basics:
  - Understanding Bot API: Sending/receiving messages.
  - Commands and User Inputs: Handling `/start`, `/help`.

5. Integrating with Financial APIs:
  - Fetching Stock Data: Using `yfinance`.
  - Displaying Quotes: Simple bot to show stock prices.

 Session 2: Advanced Bot Features and Plotly Charts
1. Building Interactive Bots:
  - Inline Keyboards: Creating interactive buttons.
  - Handling Callbacks: Processing user actions.

2. Creating Plotly Charts:
  - Introduction to Plotly: Basics of data visualization.
  - Fetching Stock Data: Use `yfinance`.
  - Candlestick Charts: Creating and customizing charts.
  - Sending Charts: Bots sending images of charts.

3. Fetching and Displaying Market Data:
  - Real-time Data Commands: Bot commands for current market data.
  - Market Summaries: Summarizing stock details.

4. Creating and Sending Scanner Alerts:
  - Stock Scanners: Introduction and setup.
  - Criteria for Alerts: Setting conditions.
  - Real-time Alerts: Sending alerts with charts.

 Session 3: Hosting, Deployment, and Enhancements
1. Hosting and Deployment on DigitalOcean:
  - DigitalOcean Account: Setting up.
  - Droplet Configuration: Creating and configuring.
  - Server Environment: Setting up.
  - Deploying the Bot: Steps to deploy.

2. Adding Notifications and Alerts:
  - Stock Price Alerts: Setting up notifications.
  - Market Summaries: Daily/weekly updates.

3. Final Project and Course Wrap-Up:
  - Comprehensive Trading Bot: Combining all skills.
  - Q&A: Troubleshooting.
  - Future Learning Paths: Additional resources.

 Course Materials
- Code Samples: Provided for each session.
- Reading Materials: Links to documentation and articles.
- Video Tutorials: Step-by-step guides and demonstrations.
- Prompts: All GPT-4 prompts used for coding.

 Tools and Technologies
- Programming Language: Python.
- Libraries: `python-telegram-bot`, `yfinance`, Plotly, `pandas`, `requests`.
- Hosting Platform: DigitalOcean.
- Development Environment: Visual Studio Code.

By completing this course, you'll be equipped to build and deploy robust Telegram bots for real-time stock market data and alerts, enhancing your Python development skills and providing valuable tools for traders and investors. All code and prompts will be generated using ChatGPT-4 (GPT-4) for a deeper understanding and application.

Customer Support : +91 9535133445
Support Timings : 9a.m - 6p.m IST



20th July 24 - Morning Session ( 10:00am - 12:00pm IST )

20th July 24 - Afternoon Session ( 02:00pm - 04:00pm IST )

21st July 24 - Morning Session ( 10:00am - 12:00pm IST )

21st July 24 - Afternoon Session ( 02:00pm - 04:00pm IST )


How can I enrol in a course?

Enrolling in a course is simple! Just browse through our website, select the course you're interested in, and click on the "Enrol Now" button. Follow the prompts to complete the enrolment process, and you'll gain immediate access to the course materials.

Can I access the course materials on any device?

Yes, our platform is designed to be accessible on various devices, including computers, laptops, tablets, and smartphones. You can access the course materials anytime, anywhere, as long as you have an internet connection.

How can I access the course materials?

Once you enrol in a course, you will gain access to a dedicated online learning platform. All course materials, including video lessons, lecture notes, and supplementary resources, can be accessed conveniently through the platform at any time.

Can I interact with the instructor during the course?

Absolutely! we are committed to providing an engaging and interactive learning experience. You will have opportunities to interact with them through our community. Take full advantage to enhance your understanding and gain insights directly from the expert.

About the creator

About the creator

Learn with Rajandran R

Welcome to Marketcalls, the premier destination for traders seeking insightful commentary  on trading strategies, software, quantitative analysis, and more. Our founder, Rajandran R, is a Creator of OpenAlgo - OpenSource Algo Trading framework for Indian Traders. Telecom Engineer turned Full-time Derivative Trader. Mostly Trading Nifty, Banknifty, High Liquid Stock Derivatives. Trading the Markets Since 2006 onwards. Using Market Profile and Orderflow for more than a decade.  trading tools. 


Rate this Course

₹ 2500.00



Order ID:

This course is in your library

What are you waiting for? It’s time to start learning!

Illustration | Payment success

Share this course




Wait up!

We see you’re already enrolled in this course till Lifetime. Do you still wish to enroll again?

Illustration | Already enrolled in course