TGIR QuantLib Tools
Protected workstation
Protected Access
Sign in to the rates workstation.
This repo keeps the compact Flask architecture from its local sandbox design, but follows the `app_architecture` security guidance by gating the workstation behind a session login instead of leaving pricing tools open.
Architecture Fit
Low-cost auth without a stack rewrite
The broader app standard prefers Clerk, React, and FastAPI. This sandbox intentionally stays single-app Flask, so the lowest-cost compliant move is a server-side login gate with strong env secrets, protected sessions, and a public health endpoint.
Protected routes
Dashboard, trade editors, reset, and realtime pricing calls all require authentication.
Centralized config
`.env` values are loaded once and mapped into the Flask app factory for cleaner growth.
Stable pricing core
QuantLib portfolio logic remains in `portfolio.py`, separate from view and session concerns.