An automated bot for tailing the trades of the top ranked wallets on Polymarket monthly
This guide will help you set up the project environment using the provided requirements.txt
file.
Clone the repository to your local machine using:
git clone https://github.com/Joshbazz/polymarket_copy_trader.git
cd polymarket_copy_trader
Create a virtual environment to keep your dependencies isolated:
python -m venv venv
### This will create a directory named venv in your project folder.
Activate the virtual environment using the following command:
On Windows:
venv\Scripts\activate
On macOS/Linux:
source venv/bin/activate
Once your virtual environment is activated, install the required dependencies listed in requirements.txt:
pip install -r requirements.txt
## This command will install all the packages and their respective versions specified in the requirements.txt file.
When you're done working on the project, you can deactivate the virtual environment using:
deactivate
If you add new packages or update existing ones, make sure to update the requirements.txt file with:
pip freeze > requirements.txt
## This will overwrite the old requirements.txt with the current environment's dependencies.
Troubleshooting
Virtual Environment Not Activating: Ensure you are using the correct activation command for your operating system.
Permission Errors: If you encounter permission errors while installing packages, ensure your terminal or command prompt has the necessary permissions or try running it as an administrator (Windows) or with sudo (macOS/Linux).
Dependency Conflicts: If dependencies conflict during installation, consider updating your virtual environment or reviewing the required package versions.