# Analyze crypto trades and sentiment with Binance, NewsAPI, OpenAI, and Telegram

> Quick overview This workflow listens for a crypto ticker in Telegram, pulls multi-timeframe candlestick data from Binance and recent headlines from NewsAPI, uses OpenAI to score market sentiment and generate trade ideas, and sends back a TradingView chart image plus a two-part analysis message. How it works 1. Receives a Telegram message containing a coin ticker and converts it into a USDT trading pair symbol (for example, BTC → BTCUSDT). 2. Requests the last 200 candlesticks for five timeframes (1h, 4h, 1d, 1w, 1M) from the public Binance REST API and bundles them into a single payload. 3. Fetches popular crypto news from the last three days via NewsAPI, keeps only the article titles and descriptions, and asks OpenAI to return short-term and long-term sentiment as structured JSON. 4. Generates a TradingView chart snapshot for the Binance symbol using chart-img (with Bollinger Bands, Volume, and RSI), downloads the rendered image, and sends it to the same Telegram chat. 5. Combines the

- **Domain**: `n8n-workflow-20596.n8n.io`
- **Provider**: n8n.io (https://n8n.io)
- **Kind**: workflow
- **Live-responds (last probe)**: None
- **Signed card**: False
- **Streaming**: False
- **Quality score**: 40%

## URLs
- Agent card: https://n8n.io/workflows/20596
- Page (HTML): https://agenstry.com/agents/n8n-workflow-20596.n8n.io
- Documentation: https://n8n.io/workflows/20596
