Detection and forecasting of extreme events in stock price triggered by fundamental, technical, and external factors