Financial Data Systems & Quantitative Analytics

Deployed

NSE Stock Explorer

Interactive market dashboard analyzing six calendar years of daily data across 10 NSE blue-chip stocks to evaluate tail risk and drawdowns.

Key Performance Metrics

1,480
DAYS OF DATA2019 to 2024, 10 stocks plus NIFTY50
20.29
PEAK KURTOSISADANIENT, skew -1.14, -77% drawdown
1ST
SUNPHARMA RANKBest Sharpe, shallowest drawdown

Executive abstract

Long-term equity allocation requires looking beyond simple cumulative returns to understand interim drawdowns and tail risk. NSE Stock Explorer evaluates 10 major NSE blue-chip stocks spanning energy, banking, IT, auto, pharma, NBFC, and consumer sectors to determine which holdings provide true risk-adjusted performance.

Empirical exhibit

Exhibit 2.1: Sectoral risk spectrum

Volatility vs Return Dispersion (NIFTY Sectors)

Live NSE Daily Bars (Adjusted)
Interactive sectoral risk comparison across NIFTY sectors. NIFTY Auto shows highest 1-year Sharpe ratio of 1.98 with 17.2% volatility, while NIFTY IT exhibits 22.1% volatility and 24.5% maximum historical drawdown.
NIFTY BankSharpe: 0.77
Ann. Volatility
18.4%
1-Yr Return
14.2%
Max Drawdown
-16.8%
NIFTY ITSharpe: 1.29
Ann. Volatility
22.1%
1-Yr Return
28.6%
Max Drawdown
-24.5%
NIFTY AutoSharpe: 1.98
Ann. Volatility
17.2%
1-Yr Return
34.1%
Max Drawdown
-12.4%
NIFTY PharmaSharpe: 1.41
Ann. Volatility
13.8%
1-Yr Return
19.5%
Max Drawdown
-9.8%
NIFTY EnergySharpe: 1.02
Ann. Volatility
20.6%
1-Yr Return
21%
Max Drawdown
-18.2%
NIFTY FMCGSharpe: 1.11
Ann. Volatility
11.5%
1-Yr Return
12.8%
Max Drawdown
-7.5%
View tabular sector risk summary
SectorAnnualized Vol1Y ReturnSharpe RatioMax Drawdown
NIFTY Bank18.4%+14.2%0.77-16.8%
NIFTY IT22.1%+28.6%1.29-24.5%
NIFTY Auto17.2%+34.1%1.98-12.4%
NIFTY Pharma13.8%+19.5%1.41-9.8%
NIFTY Energy20.6%+21%1.02-18.2%
NIFTY FMCG11.5%+12.8%1.11-7.5%

Data Ingestion & Hygiene via YFinance

Daily adjusted OHLCV bars were extracted for 10 representative tickers and the NIFTY50 benchmark (^NSEI). Stocks with >5% missing data were excluded, remaining gaps forward-filled, and log returns computed to ensure temporal additivity across multi-year holding windows.

Empirical Findings: Tail Risk vs. Consistency

ADANIENT generated ~15x cumulative growth over the 2019–2024 period but exhibited a kurtosis of 20.29 and skewness of -1.14 with a -77% maximum drawdown. Conversely, SUNPHARMA emerged as the strongest risk-adjusted candidate with low volatility, shallow drawdowns, and weak correlation with the rest of the basket.

Six Interactive Risk & Performance Views

The Streamlit application provides six dynamic views: Log Returns Distribution with normal overlay, Normalized Growth vs. NIFTY50, Rolling 21-Day Volatility, Peak-to-Trough Drawdown, 63-Day Rolling Sharpe (7% risk-free rate), and Correlation Heatmaps.

What I would do differently

I would replace the static 7% risk-free rate assumption with a dynamic 10-year Indian Government Bond (G-Sec) yield curve, and add automated Value at Risk (VaR) calculations.

Technical implementation stack

PythonStreamlitPandasYFinancePlotly
Notification message