build a model to predict the stock market