Detecting S&P Midcap 400 Volatility Spikes Using Indices-API for Effective Risk Management