Skip to content

Ivan-Finance/Volatility-index-analysis-VIX

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📉 VIX Analysis & S&P 500 Comparison

A quantitative study of market volatility and equity behavior using Python.

This project analyzes the CBOE Volatility Index (VIX) from 1990 to 2025 and compares it with the S&P 500 to identify volatility regimes and their relationship with equity returns.


What This Project Does

Starting from daily VIX data, the analysis classifies market conditions into volatility regimes and then cross-references them with monthly S&P 500 returns to quantify how fear and equity performance interact over time.


Key Analyses

  • Volatility Regimes: markets are classified as Calm or Stress based on VIX thresholds, making it easy to isolate periods of elevated fear
  • Returns & Dynamics: daily and monthly log returns, intraday ranges, and realized volatility capture how the market moves within each regime
  • Trend Smoothing: moving averages filter noise and highlight long-term structural trends
  • VIX vs S&P 500: monthly comparison using dual-axis plots to preserve scale, showing the typical inverse relationship between volatility and equity returns
  • Rolling Correlation: 12-month rolling correlation tracks how the VIX-equity relationship evolves across different market cycles

Visualizations


Data & Sources

VIX

S&P 500

  • Source: S&P 500 historical monthly data on Macrotrends
  • Dataset file used in this project: available here

About

Quantitative analysis of VIX and S&P500 to study volatility regimes and market fear using Python & Pandas.

Topics

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors