Live Stocks & Crypto Tracker
Pulse Market
Stock and crypto prices refreshed every minute, with price alerts that keep working in the background.

- Built with
- Flutter
- Provider
- CoinGecko API
- Alpha Vantage API
- flutter_background_service
- Firebase Messaging
- fl_chart
- candlesticks
- Platforms
- Android, iOS
- Year
- 2026
What it does
Live crypto prices from CoinGecko and stock quotes from Alpha Vantage, refreshed every 60 seconds.
Candlestick and sparkline charts.
Price alerts checked by a background service and delivered as local notifications, even when the app is closed.
Firebase Cloud Messaging set up for push messages, with notification channels created in native Android code.
Onboarding, a scrolling ticker tape and a portfolio overview with sample holdings.
How it’s built
Market data lives in a MarketService that extends ChangeNotifier and reaches the widgets through Provider. It fetches the coin list and price history from CoinGecko and stock quotes and daily history from Alpha Vantage, refreshes every 60 seconds with a 10-second timeout per request, and notifies the screens when new prices arrive.
Charts use two packages: fl_chart for sparklines and the candlesticks package for candles built from CoinGecko's OHLC endpoint. Screens are split by purpose (home, market, assets, asset detail and portfolio) and share widgets for asset cards, the live badge, the ticker tape and the price-alert sheet.
Alerts are saved in SharedPreferences. A separate service built on flutter_background_service, running in Android's foreground mode, reads them every 60 seconds, fetches current prices from CoinGecko's simple price endpoint and compares each one with its target.
Hardest part
The background service runs in its own Dart isolate. Its entry point is marked @pragma('vm:entry-point') and calls DartPluginRegistrant.ensureInitialized() before any plugin can be used. It can’t see the app’s state, and reads the alerts from SharedPreferences itself on every run.
Android also requires notification channels to exist before a foreground service or an alert can show anything. The app creates its channels in Kotlin, in a custom Application class, before any Dart code runs. When a price crosses its target, above or below, the service shows a notification with the symbol, the direction and the current price, removes that alert so it fires only once, and updates its own ongoing notification.
