Skip to content

GeekyVishweshNeelesh/Data-Science-Stock-Market-Comparision-Project

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

6 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸ“ˆ Stock Market Comparison using Python & Plotly

This project analyzes and compares multiple stock market indices (e.g., NIFTY, SENSEX, NASDAQ) to understand their investment growth, volatility, and market behavior over time. Using real-time data from Yahoo Finance via yfinance, we calculate cumulative returns, evaluate risk using volatility, and assess beta to understand index sensitivity.

πŸ”§ Libraries & Tools

  • yfinance – for fetching historical stock data
  • plotly.graph_objects – for interactive visualizations
  • pandas – for data processing
  • numpy – for numerical calculations (implied by finance metrics)

πŸ“Š Core Analysis

  • Cumulative Return: Tracks total return over the investment period
  • Volatility Comparison: Measures price fluctuations (risk) across indices
  • Covariance & Beta: Evaluates how one index moves relative to others
  • Scatter Plots: Shows correlation and ROI behavior visually

πŸ“ Folder Structure

πŸ“‚ Data-Science-Stock-Market-Comparision-Project
β”œβ”€β”€ Stock_Market_Comparison.ipynb # Main Jupyter Notebook
β”œβ”€β”€ images/ # Exported visuals (e.g., volatility, return plots)
└── readme.md # Project overview

πŸš€ How to Run

  1. Clone this repo:
    git clone https://github.com/GeekyVishweshNeelesh/Data-Science-Stock-Market-Comparision-Project.git

  2. Install required packages:
    pip install yfinance plotly pandas

  3. Open the notebook:
    jupyter notebook Stock_Market_Comparison.ipynb

πŸ“· Sample Visuals

Visualizations include:

  • Cumulative return line graphs
  • Bar charts for volatility

All plots are generated using plotly and are stored in the notebook and images/ folder.

❀️ Made with Love by [GeekyVishweshNeelesh]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors