GlobalPulse is a real-time Cryptocurrency Tracking and Trading Simulator built with SwiftUI. It leverages the CoinGecko API to provide live market data, interactive historical charts, and an AI-driven sentiment analysis of the latest crypto news.
- Live Market Data: Fetches top 50 cryptocurrencies with real-time prices and 24h changes.
- Interactive Charts: View historical price action across multiple timeframes (1D, 1W, 1M, 1Y) using Swift Charts.
- Trading Simulator: Practice buying and selling assets with persistent storage using
UserDefaults. - AI Sentiment Analysis: Uses Apple's Natural Language framework to analyze news headlines and determine overall market mood.
- Portfolio Tracking: Real-time calculation of total balance and individual asset performance.
- Language: Swift 6 (SwiftUI)
- Architecture: MVVM with the
@Observablemacro. - API: CoinGecko API
- Frameworks: -
Charts: For historical data visualization.Observation: For efficient state management.NaturalLanguage: For sentiment processing.
- Clone the repository:
git clone [https://github.com/sakshar2303/GlobalPulse.git](https://github.com/sakshar2303/GlobalPulse.git)