Detecting S&P Midcap 400 Volatility Spikes Using Indices-API to Inform Investment Strategies