I want a lightweight Python service that hooks into the Pinnacle / PS3838 API, listens for every Football and Basketball line change, and pushes those movements into either MySQL or PostgreSQL with clean, timestamped records. The script needs to run 24/7—whether as a daemon, a Dockerised container, or another always-on approach—without tripping API rate limits, yet fast enough that no shift between open and close prices slips through. Core expectations • Poll the API continuously, capturing open, intermediate, and closing odds for both sports in near real time. • Write each change (sport, league, event, market, price, timestamp) to the chosen database using an efficient schema you supply. • Keep connection handling, back-off, and logging resilient so the service can recover without manual intervention. Deliverables 1. Fully commented Python source code. 2. SQL file that creates all required tables and indexes. 3. A concise README covering environment variables, install steps, and how to start/stop the service. Please attach a detailed project proposal outlining your approach to rate-limit management, database design, and testing strategy. Past work is welcome but not required; the proposal itself will guide my selection.