This is a stock trading application in Python that allows users to build a portfolio of stocks from real-time market data using the Python Yahoo Finance API (yfinance) and then seek recommendations on whether to buy, sell, or hold each stock. The bot uses a command line interface to process information about the user's simulated stock portfolio and present feedback for any stock using a built-in inference engine.
Further information and details of evaluation can be found here. Evaluation was performed using QuantConnect via backtesting on historical data for individual stocks.
- Install the latest version of Python
- Clone the repository to a local directory of choice
- Open a Bash terminal and install packages using the following commands:
pip install pandas --upgrade --no-cache-dir
pip install yfinance --upgrade --no-cache-dir
- Run the application in the project's directory with
python3 main.py