Repository navigation
v3.2.0 — Production Diagnostics for Market Data & FX
Version 3.2.0 introduces structured production diagnostics for incomplete market data and currency conversion.
The goal of this release is not to hide or replace unavailable financial data, but to make its actual upstream cause observable in production.
Structured Market Data Diagnostics
The application now emits structured diagnostic events when financial data cannot be composed completely.
Diagnostics distinguish between conditions such as:
- missing market-data fields;
- missing quotes or prices;
- unavailable FX conversions;
- market-data provider failures;
- FX-provider failures;
- unexpected composition failures.
Normal successful provider operations are intentionally not logged, keeping production logs focused on anomalies that require investigation.
Cloudflare Workers Observability
Cloudflare Workers observability is now explicitly enabled for the production Worker.
Structured diagnostics are written through a small application logging abstraction and captured by Cloudflare Workers Logs. No external logging service or additional production dependency is required.
Diagnostic events intentionally exclude authentication tokens, cookies, email addresses, user IDs, complete Watchlists, and raw provider responses.
Real-World Market Data Findings
The new diagnostics were immediately used to investigate several stocks with unavailable Market Cap data:
- 2330.TW — Yahoo Finance provides Market Cap in TWD, but the current Frankfurter/ECB-based FX provider does not support TWD. The USD Market Cap therefore cannot currently be calculated.
- ASSA-B.ST — Yahoo Finance does not provide Market Cap in the quote data used by the application. The missing value is unrelated to FX conversion.
- AZO — Yahoo Finance likewise does not provide Market Cap in the quote data. Because the stock is USD-denominated, FX conversion is definitively not involved.
No symbol-specific workarounds were introduced. The diagnostics instead provide evidence for future improvements to market-data and FX coverage.
Production Troubleshooting
Missing-data cases can now be investigated through Cloudflare Workers Logs or Wrangler's live log tooling.
This makes it possible to trace a displayed — back through the provider and composition pipeline without exposing technical diagnostics in the user interface.
Small Table Improvement
Large Savings Amount values in the desktop table now expose their complete formatted value through a native tooltip when the compact column visually truncates them.
The complete value remains in the document, and the responsive Stock Card presentation continues to show the full amount normally.
Quality
The new diagnostic paths are covered by automated tests for market-data failures, missing provider fields, FX failures, successful no-warning cases, and composition anomalies.
The diagnostic behavior was also verified against real Yahoo Finance and Frankfurter data for the representative production cases above.
No financial calculations, API contracts, authentication behavior, or persistence semantics were changed in this release.