Stock Portfolio App

An iOS app that tracks stock prices in real-time using the Finnhub API

Built to learn iOS development and SwiftUI and API integration. Focused on clean architecture and working within real-world API constraints.

Platform iOS
Language Swift
Framework SwiftUI
API Finnhub
View on GitHub

Key Features

  • Real-time stock price tracking
  • Filter by Gainers (+2%) and Fallers (-2%)
  • Light/Dark mode support
  • Clean, minimalist UI focused on clarity
  • Pagination to manage API limits

What I Learned

  • SwiftUI app lifecycle (App, Scene, View)
  • State management (@State, @AppStorage)
  • Clean architecture (Views / Models / Networking)
  • Working within API rate limits

Challenges & Solutions

  • API rate limits: Finnhub's free tier allows 60 calls/minute. Implemented pagination and a "Load More" button instead of infinite scroll.
  • Data source: Used a curated list of companies to balance coverage with API constraints.

Future Improvements

  • User profiles with personalised watchlists
  • Weekly email recap of portfolio performance
  • Related news articles per stock