Hey everyone! Just released the first version of TradePulse, a custom integration that brings financial market data into Home Assistant as proper native sensor entities.
The idea is simple: you add the tickers you want (e.g. TSLA, BTC-USD, EURUSD=X, VWCE.DE) and for each one it creates a HA device with up to three sensors — price, news, and insider trades. From there they work like any other entity: dashboards, automations, history graphs, the whole deal.
What you get per ticker:
Price — current value with OHLC, volume, change %, market cap in attributes
News — aggregated articles from Yahoo Finance and Google News (title, URL, source, summary)
Insider — insider transactions from the last 90 days, buy/sell ratio, and a cluster signal that fires when ≥2 distinct insiders bought within the last 30 days (stocks only — ETFs, forex and crypto are skipped)
No API key needed for full US market coverage, everything works out of the box. A free Finnhub key adds EU/UK PDMR data and an extra news source.
One thing I focused on: if a data provider goes down, entities don't go unavailable — they keep their last known value with a stale: true attribute so automations don't break.
Still v0.1.0 so feedback, bug reports and ideas are very welcome. Install it as a custom repo in HACS for now (PR to the default store is pending review).