Generate AI stock trade recommendations from TwelveData, NewsAPI and Gemini via Telegram
This n8n template automates intraday trading insights by combining candlestick pattern analysis and news sentiment aggregation to suggest actionable Buy / Sell / Hold decisions across international stock markets. Use cases Automatically analyze stock trends using live candlestick data. Aggregate real-time news sentiment to strengthen trading confidence. Generate AI-backed Buy / Sell / Hold recommendations for traders. Build an automated Telegram trading assistant or analytics bot. Create a backend for AI-powered portfolio advisors or trading dashboards. Good to know This workflow integrates both market and news APIs, processes data intelligently, and leverages an Gemini AI for trading recommendations. It runs smoothly on both n8n Cloud and self-hosted instances, and setup typically takes 10–15 minutes. Requirements n8n Cloud or self-hosted instance TwelveData API key (for fetching OHLC & candlestick data) → twelvedata.com NewsAPI.org key (for aggregating relevant stock news) → newsapi.org AI model API key (Google Gemini or OpenAI) for sentiment reasoning Telegram Bot Token (via @BotFather) for command input & output Customising this workflow Replace Telegram with Slack, Discord, or Notion for alternate alerts. Integrate TradingView or Alpaca API for executing mock trades. Modify the candlestick intervals (1m, 15m, 1h) or patterns as per strategy. Add portfolio tracking or alert thresholds for advanced users. Expand to cover crypto, forex, or commodities with minimal edits. This n8n template automates intraday trading insights by combining candlestick pattern analysis and news sentiment aggregation to suggest actionable Buy / Sell / Hold decisions across international stock markets. Use cases Automatically analyze stock trends using live candlestick data. Aggregate real-time news sentiment to strengthen trading confidence. Generate AI-backed Buy / Sell / Hold recommendations for traders
Rank
78
Safety
80
Updated
Jun 1, 2026
Source
n8n
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. Last updated 6/1/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
Install and run
Setup complexity: low.
- Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/n8n-10630-generate-ai-stock-trade-recommendations-from-twelveda/snapshot"
Documentation
n8n
1,507 characters of source documentation, loaded on request.
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"label": "Vendor",
"value": "N8n",
"category": "vendor",
"href": "https://n8n.io/workflows/10630-generate-ai-stock-trade-recommendations-from-twelvedata-newsapi/",
"sourceUrl": "https://n8n.io/workflows/10630-generate-ai-stock-trade-recommendations-from-twelvedata-newsapi/",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-05-30T06:41:38.487Z",
"isPublic": true,
"metadata": {}
},
{
"factKey": "handshake_status",
"label": "Handshake status",
"value": "UNKNOWN",
"category": "security",
"href": "https://www.xpersona.co/api/v1/agents/n8n-10630-generate-ai-stock-trade-recommendations-from-twelveda/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/n8n-10630-generate-ai-stock-trade-recommendations-from-twelveda/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true,
"metadata": {}
}
],
"events": []
}Record generated Oct 9, 2026.
