Modeling stock market regime-switching dynamics with internet search query data