top of page

Market Dynamics
Volatility, Correlation & Risk–Return Analysis

Project Type
Data Analysis | Financial Markets

Date

January 2026

Project Overview

​

Financial markets are inherently volatile, with asset prices influenced by macroeconomic conditions, sector dynamics, and investor behavior. This project analyzes historical monthly stock performance to uncover patterns in price trends, volatility, trading activity, correlation structures, and sector-level risk–return trade-offs.

​

The objective is to demonstrate how raw market data can be transformed into actionable investment insights using a structured analytics workflow, while maintaining clarity, scalability, and analytical rigor.

​

The project follows a Python → SQL → Tableau Public pipeline designed to mirror real-world analytics practice and portfolio management analysis.

Business Questions

​

This analysis was driven by the following core questions:

  1. Price & Trend
     

    • How have selected large-cap stocks performed over time?
       

    • Which assets exhibit stable growth versus high variability?
       

  2. Risk & Volatility
     

    • Which stocks display the highest and lowest volatility profiles?
       

    • How does volatility differ across sectors?
       

  3. Trading Activity
     

    • When does trading volume deviate meaningfully from historical norms?
       

    • Are volume spikes isolated events or part of sustained regime changes?
       

  4. Correlation & Diversification
     

    • How do stock returns move together over time?
       

    • Where do diversification opportunities exist across assets?
       

  5. Sector-Level Allocation
     

    • How do sectors compare in terms of risk–return trade-offs?
       

    • Which sectors offer attractive returns relative to their volatility?

​

Data Sources & Scope

​

  • Frequency: Monthly
     

  • Assets: Large-cap U.S. equities across multiple sectors
     

  • Time Horizon: Multi-year historical window
     

  • Key Measures:
     

    • OHLC prices
       

    • Monthly returns
       

    • Volatility metrics
       

    • Trading volume and rolling averages
       

    • Pairwise return correlations
       

The monthly granularity was chosen to reduce noise while preserving meaningful market structure, aligning with long-term investment and portfolio analysis use cases.

​

Python: Data Profiling, Engineering & Validation

​

Python was used as the foundation of the project to ensure data quality and analytical reliability.

Key steps included:

​

  • Data ingestion & profiling
     

    • Checked data completeness, date continuity, and ticker coverage
       

    • Verified consistency across assets and time periods
       

  • Feature engineering
     

    • Monthly return percentages
       

    • Volatility calculations
       

    • Rolling moving averages (price and volume)
       

    • Volume vs 12-month average ratios
       

  • Data quality controls
     

    • Validation of return distributions
       

    • Detection of extreme outliers
       

    • Consistency checks across derived metrics
       

Python ensured the dataset was analysis-ready before moving downstream, minimizing logic complexity inside visualization tools.

​

SQL: Analytical Shaping & Aggregation

​

SQL was used to structure the data into analysis-friendly tables, focusing on clarity and reusability.

Key SQL tasks included:

  • Aggregating monthly metrics at ticker and sector levels
     

  • Ranking assets by volatility and return characteristics
     

  • Generating long-form correlation tables for heatmap analysis
     

  • Creating sector-level summary views for comparative analysis
     

This separation allowed complex logic to live in SQL rather than Tableau, keeping dashboards performant and easier to maintain.

​

Tableau Public: Interactive Analytical Storytelling

Tableau Public was used to deliver executive-ready, interactive dashboards with a strong emphasis on usability and analytical intent.

 

Dashboard Structure
 

  1. Price Trend
     

    • Long-term price movements with supporting KPIs
       

  2. Volatility Analysis
     

    • Ranked volatility comparison with return distributions
       

  3. Volume Patterns
     

    • Volume regimes and abnormal trading activity detection
       

  4. Correlation Matrix
     

    • Return co-movement heatmap for diversification analysis
       

  5. Sector Performance
     

Risk–return scatter with quadrant-based decision framework
 

Design Principles

​

  • Global filters (Date, Sector, Ticker) applied consistently
     

  • Hover-based highlighting for exploration without state-breaking
     

  • Select-based filtering only where analytically justified
     

  • No parameters or sets to ensure Tableau Public stability
     

  • Clean, cinematic dark theme with consistent visual language
     

Each dashboard builds on the previous one, guiding the user from trend analysis → risk assessment → diversification → allocation decisions.
 

Key Insights & Outcomes
 

  • Volatility varies significantly across assets, even within the same sector
     

  • High returns are not always associated with high risk
     

  • Trading volume regimes reveal periods of heightened market attention
     

  • Correlation structures highlight both concentration risk and diversification opportunities
     

  • Sector-level analysis provides a clear framework for portfolio allocation decisions

Final Output

​

The final deliverable is a portfolio-quality Tableau Public dashboard suite that balances:

  • Analytical rigor
     

  • Clear business framing
     

  • Practical investment interpretation
     

This project demonstrates how complex financial data can be transformed into clear, decision-supporting insights using modern analytics tools and disciplined design choices.

© 2026 by Shah Choudhury. 

bottom of page