The StockBot is the inaugural open source project by Artificial Intelligence @ UCI, a student-run organization affiliated with the Donald Bren School of Information and Computer Sciences at the University of California, Irvine.
The project explores numerous machine learning based approaches to predict future stock prices.
This set up stage assumes you have Python and Git installed on your repository. Go ahead and clone the repository from the command line:
git clone https://github.com/aiatuci/StockBot.git
Once you have cloned the repository, navigate to the repository on your computer.
cd /path/to/StockBot
Create a virtual environment for StockBot before starting development, to keep your workspace and dependency trees clean.
First off, create your virtual environment by entering the commands below:
Linux/MacOSX:
Install virtual environment tool:
pip3 install virtualenv
Create and activate virtual environment:
python3 -m venv stockbotenv
source stockbotenv/bin/activate
pip3 install -r requirements.txt
Windows:
Install virtual environment tool:
pip3 install --user virtualenv
Create and activate virtual environment:
py -m venv stockbotenv
stockbotenv\Scripts\activate.bat
pip3 install -r requirements.txt
From here, proceed with downloading the dataset (~788MB) to your computer.
Linux/MacOSX:
pip3 install kaggle
./data/get_datasets.sh
Windows:
pip3 install --user kaggle
sh ./data/get_datasets.sh
General guidelines:
- Work off of your own branch to facilitate concurrent contributions.
- You can not commit to
main
directly, as branch restrictions are in place. - Use appropriate git commit messages.
- Run
python3 -m yapf --style='{based_on_style: facebook, column_limit: 120}' src/**.py
prior to each commit. This will enforce a uniform code style across the code base.