Market Snapshot
A daily pipeline that fetches yesterday's high and low for any ticker, stores the results, and publishes a web view plus a reusable JSON output. Includes a live price API that streams current quotes.
Schedule
Daily
Live price
Real-time
Output
Web + JSON
Source
yfinance
How it works
How It Works
Snapshot script fetches last trading day's high/low from yfinance and writes to a JSON file with atomic writes. A Flask API on Hetzner serves live quotes with a 15-second in-memory cache. The frontend polls the API every 10 seconds, with fallback to static JSON if the API is offline.
Decisions
Live API with static fallback provides real-time pricing with graceful degradation. yfinance is free and keyless. 15s cache prevents rate limiting. JSON output means any tool can consume the data. No external dependencies beyond yfinance.
Security
- 15s cache prevents upstream rate limiting
- Static JSON fallback ensures availability
- No persistent user data storage
Want something like this built for your business?
I'll look at your problem, figure out the right approach, and ship working software. No slideshows.
Book a free consultation