Stock Market Analysis & Prediction with GPT, Claude & Gemini via Telegram

Go to Workflow
1 views
Built by Cheng Siong Chin Cheng Siong Chin
Created on June 05, 2026

Description

Introduction
Automates stock market analysis using multiple AI models to predict trends, analyze sentiment, and generate consensus-based investment insights. For traders and analysts seeking data-driven forecasts by eliminating manual research and combining AI perspectives for accurate predictions.

How It Works
Daily trigger fetches stock data, news, ratings, and sentiment → AI models analyze each source → OpenAI generates report → Three AI validators (OpenAI, Anthropic, Gemini) cross-verify → Consensus evaluation → Telegram alert with insights.

Workflow Template
Schedule → Fetch Stock Data → Fetch News → Fetch Ratings → Fetch Sentiment → AI Analysis → Combine → Generate Report (GPT) → Validate (3 AIs) → Evaluate Consensus → Send Telegram

Workflow Steps
Data Collection: Scheduled trigger fetches prices, news, analyst ratings, and social trends
AI Analysis: Separate models analyze stocks, news sentiment, ratings, and social discussions
Report Generation: OpenAI GPT combines analyses into comprehensive market report
Multi-AI Validation: Three AI models independently validate predictions for accuracy
Consensus Building: Evaluates AI agreement to determine confidence levels
Alert Delivery: Sends Telegram alerts with buy/sell/hold recommendations

Setup Instructions
Schedule: Configure daily trigger time
Data Sources: Add API keys for stock data, news APIs, and social platforms
AI Models: Configure OpenAI, Anthropic, and Google Gemini credentials
Telegram: Create bot and add token
Thresholds: Define consensus requirements for recommendations

Prerequisites
Stock data API (Alpha Vantage, Yahoo Finance)
News API key
Social media API
OpenAI API key
Anthropic API key
Google Gemini API key
Telegram bot token

Use Cases
Day Trading: Real-time volatile stock analysis with multiple AI perspectives. Portfolio Management: Daily consensus reports for rebalancing.

Customization
Add technical indicators (RSI, MACD). Include crypto analysis. Integrate portfolio tracking. Add email/Slack notifications. Configure sector-specific analysis.

Benefits
Eliminates hours of daily research. Reduces AI hallucination through multi-model validation. Provides 24/7 monitoring. Combines multiple data sources.


Nodes Used (7)

Anthropic Chat Model
@n8n/n8n-nodes-langchain.lmChatAnthropic
Basic LLM Chain
@n8n/n8n-nodes-langchain.chainLlm
Code
n8n-nodes-base.code
Google Gemini Chat Model
@n8n/n8n-nodes-langchain.lmChatGoogleGemini
HTTP Request
n8n-nodes-base.httpRequest
OpenAI Chat Model
@n8n/n8n-nodes-langchain.lmChatOpenAi
Telegram
n8n-nodes-base.telegram