AI Stock Analysis App
π AI Stock Analysis App
AI-powered iOS app for real-time stock market insights
βReal-time stock prices meet AI-powered analysis β in your language.β
π Demo Video:
π One-Line Summary
An iPhone app that collects real-time stock data and uses AI to provide clear investment insights in multiple languages.
It also stores your past analyses so you can track trends over time.
1οΈβ£ How It Works
1. Live Stock Data
- Pulls stock prices from Yahoo Finance API
- Shows:
- 15-minute interval prices (last 3 days)
- Daily prices (last month)
- Pre-market, regular, and after-hours prices
- Includes related news and market mood indicators (VIX, Fear & Greed Index)
2. AI-Powered Analysis
- Uses OpenAI GPT-4 to:
- Predict BULLISH, BEARISH, or NEUTRAL market direction
- Show a confidence percentage
- Explain the reasoning in your chosen language
- Predict tomorrowβs closing price
- Tracks AI usage and shows the cost in real time
3. Analysis History
- Saves past analysis results on your phone:
- Stock symbol
- Current price
- Prediction & confidence
- Expected price
- Reason for prediction
- Date & time of analysis
- Language used
4. Simple Navigation
- Home β Search and view live prices
- Analysis β Run AI prediction
- History β Review saved analyses
2οΈβ£ Cost Tracking
- Uses GPT-4 Turbo pricing (as of 2024):
- $0.01 per 1,000 prompt tokens
- $0.03 per 1,000 completion tokens
- The app logs each request and shows how much youβve spent
π Technologies Used
Step | Technology |
---|---|
iOS UI | Swift, SwiftUI |
Data Storage | Core Data |
API Calls | URLSession, JSONDecoder |
Data Source | Yahoo Finance API |
AI Analysis | OpenAI GPT-4 |
π‘ Key Benefits
- Get instant AI-powered stock insights in your own language
- Track both prices and reasoning over time
- Manage and monitor your AI usage costs
- Clean, mobile-friendly design for quick decisions
π GitHub Repository




All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.