View stock closing prices in Israeli Shekels (ILS) with interactive charts.
Fetches daily closing prices from Yahoo Finance, multiplies by the USD/ILS exchange rate for each trading day, and displays an interactive Plotly chart.
Requires Python 3.11+ and uv.
./run.shOr manually:
uv run stock-ilsThen open http://localhost:8453.
- Fetches stock prices and USD/ILS rates via
yfinance - Caches results in a local SQLite database (
~/.cache/stock-ils/cache.db) to avoid repeated API calls - Serves a single-page FastAPI app with a Plotly chart showing:
- Stock price in ILS (left axis)
- Stock price in USD (right axis, dotted)
- USD/ILS exchange rate (toggle in legend)
AGPLv3 - see LICENSE for details.
