A stock trading bot that uses machine learning to make price predictions.
- Python 3.5+
- Pipenv
- alpha_vantage
- pandas
- numpy
- sklearn
- keras
- tensorflow
- matplotlib
- python-dotenv
- Clone the repo
- Set variable
export PIPENV_VENV_IN_PROJECT=1 - Create environment
pipenv shell - Install required packages
pipenv install - Setup
.envFile - Save the stock price history to a csv file
python save_data_to_csv.py --help - Optional - Edit model architecture
- Edit dataset preprocessing / history_points inside util.py
- Train the model
python tech_ind_model.py --helporpython basic_model.py --help - Try the trading algorithm on the newly saved model
python trading_algo.py