FastAPI backend for OpenBB Workspace serving public Polymarket prediction-market data.
docker compose up --buildRuns on http://localhost:7779. Cache is persisted to a named volume so restarts skip the initial scan.
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
uvicorn main:app --reload --port 7779 --timeout-graceful-shutdown 5Settings → Data Connectors → Add Custom Backend → http://localhost:7779
See .env.example for POLYMARKET_CACHE_DIR, POLYMARKET_CACHE_SIZE_LIMIT, and POLYMARKET_PUBLIC_BASE_URL.