Market Sentiment Analyzer & Backtesting Engine
Discretionary investors lack objective quantitative tools to evaluate trend-following rules and frequently suffer severe drawdowns during multi-month market downturns.
Designed and wrote a Python backtesting engine with a vectorized data pipeline. Shifted execution signals by one day to prevent look-ahead bias and computed CAGR, Sharpe Ratio, and Drawdown.
Halved maximum drawdown on INFY from -36.4% (buy-and-hold) to -18.2% and lowered annualized volatility to 15.3% (Sharpe Ratio 0.35) by shifting to cash during sustained downtrends.
20/50 SMA Crossover Strategy Simulation
SimulationHistorical simulation showing Golden Cross (Buy) and Death Cross (Exit to Cash) signals over a 15-interval sample cycle.