Library / Finance, Invoices & Accounting
Finance, Invoices & Accounting
Send portfolio price move alerts with Google Sheets, OpenAI and Telegram
On a schedule, it processes financial data with OpenAI / ChatGPT using Google Sheets, Telegram, SerpAPI.
What it does
## Portfolio price alerts, with the reason attached Checks your holdings a few times a day and messages you on Telegram only when something actually moved. Every alert carries WHY: the SEC filing or the news story behind the move, not just a percentage. ### Who's it for Anyone holding more than a handful of positions who wants to hear about a 6% drop within the hour, without watching a ticker all day. ### How it works - Reads your tickers from a Google Sheet. - Prices them through Yahoo's public chart endpoint, in batches of 20 (larger batches are rejected). - Converts to EUR using ECB rates from Frankfurter, with a separate branch for London pence, which is quoted in GBp and is otherwise 100x wrong. - Anything moving past your threshold gets explained: SEC EDGAR filings first (an 8-K is filed before it is a news story), then news through SerpAPI. - A quiet day sends nothing at all. - Every percentage is labelled with the window it covers, so a "1-day move" really is one day. ### How to set up 1. Create a Google Sheet with a portfolio tab. Columns: ticker, name, market, notes, yahoo. 2. Put the real Yahoo symbol in the yahoo column for anything non-US: .DE Xetra, .PA Paris, .AS Amsterdam, .MC Madrid, .L London. 3. Add Telegram, Google Sheets, OpenAI and SerpAPI credentials. 4. Open the Config node and set your Telegram chat id and threshold. ### Requirements Telegram bot, Google Sheets, OpenAI, SerpAPI. Price and filing data are free and need no key. ### Why the yahoo column matters A bare European ticker does not fail, it silently resolves to a different company on a US exchange. ALV returns Autoliv, not Allianz. GLE returns a penny stock, not Societe Generale. Filling that column is the difference between a real alert and a confident wrong one.
The steps
- Weekdays 10/14/18 Berlin
- Normalize Trigger
- Read Portfolio
- Build Symbol Batches
- Fetch Quotes
- Fetch FX
- Fetch CIK Map
- Compute Moves
- Anything moved?
- Fetch Filings
- Fetch News
- Aggregate Evidence
- Explain Moves
- Build Alert
17 steps in total.
Similar automations
Reports, Analytics & DashboardsSend Daily Portfolio Stock News Briefings to Telegram7 stepsFinance, Invoices & AccountingMonitor portfolio correlation and diversification with Google Sheets and Slack16 stepsFinance, Invoices & AccountingUpdate Crypto Portfolio Values in Airtable9 stepsFinance, Invoices & AccountingUpdate Crypto Portfolio Values in Airtable with CoinGecko8 steps