Forecasting stock price movement direction by machine learning algorithm