diff --git a/setup.sh b/setup.sh new file mode 100644 index 0000000..9c89a30 --- /dev/null +++ b/setup.sh @@ -0,0 +1,20 @@ +#!/bin/bash + +# Create virtual environment +python3 -m venv venv + +# Activate virtual environment +source venv/bin/activate + +# Upgrade pip in the virtual environment +pip install --upgrade pip + +# Install your packages + +pip install websockets aiohttp python-binance pandas pandas-ta python-dotenv asyncpg fastapi uvicorn[standard] psycopg2 + +# Create a requirements.txt file for future use +pip freeze > requirements.txt + +echo "Virtual environment created and packages installed!" +echo "To activate this environment in the future, run: source ~/market_data/venv/bin/activate" \ No newline at end of file