Super easy stock trading rule strategy backtesting in Python
1. tool installation
$ pip install stock-backtest
2. file creation
3. execution
$ python stock.py
$ pip install stock-backtest
$ python stock.py
$ pip install portfolio-backtest
$ pip install PyPortfolioOpt
$ python backtest.py
$ pip install scikit-learn pandas_datareader rgf-python xgboost
$ python pred.py
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.
XGBoost…
$ pip install scikit-learn pandas_datareader rgf-python xgboost
$ python pred.py
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.
XGBoost…
$ pip install scikit-learn pandas_datareader
$ python pred.py
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.
XGBoost…
$ pip install scikit-learn pandas_datareader
$ python pred.py
That’s super easy!
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.
XGBoost…
$ pip install scikit-learn pandas_datareader rgf-python
$ python pred.py
That’s super easy!
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.
XGBoost…
$ pip install scikit-learn pandas_datareader
$ python pred.py
That’s super easy!
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.
XGBoost…
$ pip install scikit-learn pandas_datareader
$ python pred.py
That’s super easy!
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.
XGBoost…