-
Notifications
You must be signed in to change notification settings - Fork 63
Description
Objective: Develop an enterprise treasury suite that monitors liquidity buffers, forecasts "Cash Runway" using ML-like projections, and manages Foreign Exchange (FX) risks.
Juggling Strategy: This refactors the existing currency.js and AnalyticsService to provide high-level financial health projections.
Key Files (9+):
models/TreasuryVault.js (New - Asset-sharing across entities)
models/LiquidityThreshold.js (New - Alert triggers for low cash runway)
models/ExchangeHedge.js (New - Hedging multi-currency volatility)
services/treasuryService.js (New - Global liquidity management logic)
services/runwayForecaster.js (New - Advanced predictive cash flow math)
routes/treasury.js (New - Financial health API)
public/treasury-dashboard.html (New - Premium dashboard with massive Chart.js integration)
public/js/treasury-controller.js (New - High-complexity forecasting UI logic)
utils/financialModels.js (New - Complex math for IRR, Burn-rate, and FX Variance)