#!/usr/bin/env bash # Daily S&P 500 option-chain snapshot after the US close (research/lab/fetch_options.py). # Started by quant-trading-options.timer (16:25 America/New_York, Mon-Fri). # Keys are read from the repo-root .env by the script itself; Alpaca is reached directly (no proxy). set -euo pipefail SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" PROJECT_ROOT="$( cd "$SCRIPT_DIR/.." && pwd )" cd "$PROJECT_ROOT" export PATH="/home/gahow/.local/bin:$PATH" export PYTHONPATH=. exec uv run python -m research.lab.fetch_options snapshot