Files
2025-10-09 09:41:52 +01:00

20 lines
567 B
Bash

#!/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"