Forecasting Trends in the Stock Market by Using Deep Learning Approaches