In the past, neural network has become a popular tool in stock market research, especially in forecasting. As one of the classic models of deep learning technology, long-term memory (LSTM) neural network has a great advantage in mining long-term dependence of sequential data. In order to explore the role of neural network in the stock market, this paper uses AutoML technology to build a suitable neural network model based on LSTM, combines the data of financial statements, macroeconomic indicators and stock technical indicators into different feature combinations and applies them to five stocks in different industries of NASDAQ, which provides a reference for the selection of feature values for the future prediction of stock prices. In this paper, neural network is applied to the stock value prediction, which provides a new idea for the construction of an effective market.