How do I run this on Linux
- User
How do I run this on Linux
- Assistant
To run the InvestorGPT repository on Linux, follow these detailed steps:
1. Prerequisites
Ensure you have the following installed on your Linux machine:
- Python: Version 3.8 or higher.
- Git: To clone the repository.
- pip: Python's package installer.
You can check if they are installed using:
bashpython3 --version git --version pip --versionIf not installed, follow these steps:
-
Install Python and pip:
bashsudo apt update sudo apt install python3 python3-pip -y -
Install Git:
bashsudo apt install git -y
2. Clone the Repository
Use Git to clone the InvestorGPT repository:
bashgit clone https://github.com/LexiestLeszek/InvestorGPT.gitNavigate into the project directory:
bashcd InvestorGPT
3. Set Up the Environment
-
Create a virtual environment (optional but recommended):
bashpython3 -m venv venv source venv/bin/activate -
Install the required dependencies: Install the libraries listed in
requirements.txt:bashpip install -r requirements.txt
4. Run the Stock Data Loader
Before running the main script, generate the fundamental analysis data using
stock_data_loader.py. This script downloads and processes data for ~10,000 stocks:bashpython3 stock_data_loader.py
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.