Bibliothek / Finanzen, Rechnungen & Buchhaltung
Finanzen, Rechnungen & Buchhaltung
Track analyst target and rating drift with Yahoo Finance MCP, OpenAI, and Telegram
On a schedule, it processes financial data with OpenAI / ChatGPT using Data Table, Telegram.
Was sie bewirkt
## Watch Wall Street change its mind Yahoo Finance gives you today's mean price target, today's consensus rating and today's EPS estimate. It will not give you last week's, and the move is the part that carries information. This keeps its own history and messages you only about what changed. ### How it works The data comes from a Yahoo Finance MCP server, called over plain HTTP. n8n's MCP Client Tool is an agent sub-node, so the usual route is to hand an agent the tool and hope it makes the call. Streamable HTTP is JSON-RPC over POST, so the three calls are made directly, in parallel, one per ticker. Compare With Last Time does the thinking. Three signals move independently - the mean target, the consensus rating and next year's EPS - and Yahoo also returns the individual firm actions, so the brief can name who moved rather than only that something did. Save Today's Numbers hangs beside the IF, not behind it. A Data Table write emits the stored row rather than its input, and it has to run on quiet days too or the next comparison silently spans two of them. The model writes the closing paragraph. It reads no numbers and computes nothing. ### Setup 1. Run the server: npx -y yahoo-finance-mcp-server@1.3.0 --http --host 0.0.0.0 --port 8931. No API key - Yahoo Finance is free. 2. Point mcp_url in Settings at it: http://host.docker.internal:8931/mcp from n8n in Docker, http://127.0.0.1:8931/mcp otherwise. 3. Create a Data Table named analyst_watch with the columns ticker, seen_on, mean_target, consensus, eps_next_year and price. 4. An OpenAI credential, a Telegram credential and your chat ID. Put your tickers in Settings and set target_move_pct to a move worth hearing about.
Die Schritte
- Every Weekday Morning
- Or Run It Now
- Settings
- Ask What The Server Offers
- Check The Tools Are There
- Read What We Saw Last Time
- Pick The Watchlist
- Ask For The Price Targets
- Ask For The Ratings
- Ask For The Price
- Read The Price Targets
- Read The Ratings
- Read The Price
- Wait For All Three
Insgesamt 25 Schritte.
Ähnliche Automatisierungen