An open API service indexing awesome lists of open source software.

https://github.com/shubhamsoni98/capstone_project_1_financial-analytics

Predicting Stock Prices for Top 5 Global Tech Companies
https://github.com/shubhamsoni98/capstone_project_1_financial-analytics

anaconda analytics api capstone-project data-science database dbms eda jupyter-notebook machine-learning-algorithms modeltraining mysql prediction project python regression scikitlearn-machine-learning stocks tableau yahoo-finance

Last synced: about 2 months ago
JSON representation

Predicting Stock Prices for Top 5 Global Tech Companies

Awesome Lists containing this project

README

        

# Capstone Project 1: Financial Analysis

## Project Overview
This project focuses on predicting stock prices of leading tech companies using machine learning algorithms. The goal is to provide insights into future stock movements to support data-driven investment decisions.

## Objectives
The main objective is to develop a predictive model for stock prices of the following top 5 tech companies:

- **Google**
- **Microsoft**
- **Amazon**
- **Apple**
- **Meta**

## Tools and Technologies

### Programming Languages and Tools
- **Python**: For data extraction, transformation, and machine learning model development
- **SQL (MySQL)**: For data storage and querying
- **Tableau**: For visualizing the data and creating interactive dashboards

### Software
- **Jupyter Notebook**: For developing and testing Python code
- **Tableau Public Edition 2024.2.1**: For creating and publishing dashboards
- **MySQL Workbench**: For database management and SQL queries

### Libraries and APIs
- **Yahoo Finance API**: For fetching historical stock price data
- **SQLAlchemy**: For database interaction and ORM support
- **Pandas**: For data manipulation and analysis
- **NumPy**: For numerical operations
- **Seaborn**: For statistical data visualization
- **Matplotlib**: For creating static, animated, and interactive visualizations
- **Scikit-learn**: For implementing machine learning models
- **joblib**: For saving and loading model objects

## Architecture
The architecture of the project is designed to streamline data processing and model prediction:

![image](https://github.com/user-attachments/assets/1b2509c7-8c79-4c9f-9d48-f0e6e8971c92)

## Prediction Results

### Meta (Facebook)
- **Actual Prices**: Data sourced from Yahoo Finance
![image](https://github.com/user-attachments/assets/e30dadb2-e24d-49e2-b679-91132273d261)

- **Predicted Prices**:
- **Prediction for 28-08**: ![image](https://github.com/user-attachments/assets/a3913f02-ca4f-40e9-b29d-a894d16f2c48)

### Nvidia
- **Actual Prices**: Data sourced from Yahoo Finance
![image](https://github.com/user-attachments/assets/4d76ced7-239b-4dba-a5c0-d174f5806c08)

- **Predicted Prices**:
- **Prediction for 28-08**: ![image](https://github.com/user-attachments/assets/dcb0da48-2ac7-455a-9d6a-55b9cb13ee52)


## Dashboard
Interactive visualizations and insights are presented through the Tableau dashboard:

- ![Dashboard](https://github.com/user-attachments/assets/99b27638-8772-4c34-97ca-01d4817b07c0)

## Use Cases
The project has several practical applications, including:

- **Stock Price Prediction**: Forecast future stock prices based on historical data and machine learning models.
- **Data-Driven Investment Decisions**: Utilize predictive insights to make informed investment choices and strategies.

## Installation and Setup

### Prerequisites
Make sure you have the following installed:
- Python 3.x
- MySQL Server
- Tableau Public Edition

### Setup Instructions
1. **Clone the Repository**
```bash
git clone https://github.com/yourusername/Capstone-Project-1-Financial-Analysis.git

2. **Install Required Python Packages**
- pip install -r requirements.txt

3. **Set Up MySQL Database**
- Import the provided SQL schema and data.

4. **Run the Jupyter Notebook**
- Open the Jupyter Notebook and run the code cells to execute data processing and model training.

5. **View the Dashboard**
- Open Tableau Public and load the .twbx file to explore the dashboard.