Stock Prediction with LSTM: Detailed Workflow