From 787b37df8710557e8ad935f90ada913e140d56ef Mon Sep 17 00:00:00 2001 From: lewismac Date: Thu, 9 Oct 2025 09:41:52 +0100 Subject: [PATCH] setup --- setup.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 setup.sh 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