An application built using Kotlin and Jetpack Compose that allows users to explore various stocks, ETFs, and more
This Android application provides users with real-time data and insights into stocks and ETFs. It includes two main screens and utilizes the Alpha Vantage API for data fetching.
- Displays Top Gainers and Losers in separate tabs.
- Each tab features a grid of cards with detailed stock/ETF information.
- Shows basic information and a price line graph for selected stocks/ETFs.
stockvid_2.mp4
trackDown.mp4
- API Integration: Utilizes Alpha Vantage for data endpoints and Api Ninjas For logo .
- Error Handling: Manages loading, error, and empty states effectively.
- Caching: Implements API response caching using Room with expiration.
- Dependency Injection: Uses dependency injection for efficient management (Kotlin + Android).
- UI/UX: Includes a basic yet intuitive user interface.
- Search Suggestions: Displays recently searched items as suggestions.
- UI Customization: Offers light/dark mode theme switch.
- API Exploration: Explores additional Alpha Vantage endpoints for added functionality.
- Kotlin (Android)
- Jetpack compose
- Graph MpAndroidChart
- Alpha Vantage API
- Api Ninjas For logo
To run the app:
- Clone the repository.
- Generate an API key and replace it in the app. Place it in
local.properties
like this:
sdk.dir= ...
STOCK_API_KEY= ...
LOGO_API_KEY= ...
- Apis can be generated from here STOCK_API_key and LOGO_API_KEY
- Build and run the app on an Android device or emulator.
- Kotlin: For development
- Android Studio: The integrated development environment (IDE) for Android app development.
- Compose: an open-source, Kotlin-based toolkit for building native Android user interfaces (UIs)
- Dependency Injection: Employed for efficient management of app dependencies.
- MVVM (Model-View-ViewModel): Architecture pattern for separating UI from business logic.
Thankyou 😊