Machine learning for forecasting stock prices up and down the next day using ensemble stacking learning in Python — 1. tool installation $ pip install scikit-learn pandas_datareader rgf-python xgboost 2. file creation 3. execution $ python pred.py 4. result As a result of calculation with the same data and features, MLP are the best among XGBoost, DNN, LSTM, GRU, RNN, LogisticRegression, k-nearest neighbor, RandomForest, BernoulliNB, SVM, RGF, MLP, Bagging, Voting, Stacking.