Skip to content

BASSASRILAKSHMI/Stocks-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

15 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Stocks-Analysis

Project Link : https://colab.research.google.com/github/BASSASRILAKSHMI/Stocks-Analysis/blob/main/Copy_of_Candlestick_Chart_Fully_Working_Final.ipynb

πŸ“‰ Stock Candlestick Chart Visualization
Visualize Financial Data Using Candlestick Charts – Data Analysis & Visualization

This project explores stock price trends using historical financial data. It utilizes interactive candlestick charts and moving averages to highlight market behavior for major companies like Microsoft, Apple, Google, and Reliance.


πŸ“Œ Features of the Project:

βœ… Data Loading & Preprocessing

  • Downloading stock data from Yahoo Finance using the yfinance library
  • Handling multi-index columns and parsing date information
  • Resampling daily data into weekly summaries for better trend analysis

πŸ” Exploratory Data Analysis (EDA)

  • Descriptive statistics of Open, Close, High, and Low prices
  • Calculating moving averages (20-day and 50-day) to identify trends
  • Identifying potential support/resistance levels and volatility

πŸ“Š Visualizations using Plotly & Matplotlib

  • Interactive daily and weekly candlestick charts
  • Overlays of moving averages to detect crossovers
  • Comparative view of multiple stocks in subplot format

πŸ“‚ Dataset: The data is retrieved directly from Yahoo Finance for stocks including:

  • MSFT (Microsoft)
  • AAPL (Apple)
  • GOOG (Alphabet/Google)
  • RELIANCE.NS (Reliance Industries)

Historical data spans from 2022-01-01 to 2024-01-01.


πŸ›  Technologies Used:

  • Python
  • yfinance (for fetching stock data)
  • Pandas, NumPy (for data handling and calculations)
  • Plotly, Matplotlib (for visualization)
  • Google Colab (for notebook execution)

πŸ“ How to Use:

  1. Open the Stock_Candlestick_Visualization_Final.ipynb notebook in Google Colab
  2. Run all cells to fetch stock data and generate interactive charts
  3. Modify the list of stock tickers to explore other companies
  4. Use moving average trends to study bullish/bearish signals

πŸ“ˆ Key Insights:

  • Moving average crossovers effectively highlight trend reversals
  • Tech stocks like AAPL and GOOG showed strong momentum
  • Weekly charts help smooth out short-term noise for better long-term analysis
  • Comparative charts support cross-sector performance analysis

Course-end project for Data Analysis & Visualization.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published