git clone [HTTPS/SSH URL]
cd [project-name]
chmod +x setup_repo.sh
./setup_repo.sh
. venv/bin/activate
or follow the step-by-step instructions below between the two horizontal rules:
- MacOS / Linux
python3 -m venv venv- Windows
python -m venv venv- MacOS / Linux
. venv/bin/activate- Windows (in Command Prompt, NOT Powershell)
venv\Scripts\activate.batpip install toml
pip install -e ".[dev]"put your APIs in .env:
COINGLASS_SECRET="abc123"
KAIKO_API_KEY="abc123"
TALLY_API_KEY="xxx"
SNAPSHOT_API_KEY="aaa"
OPENAI_API_KEY="sk-xxx"
export $(cat .env | xargs)
python scripts/fetch_spaces.py