openstock/lib
Bortlesboat 02a3a68267
fix: add international exchange mappings for TradingView widgets
Expand formatSymbolForTradingView to map 40+ Finnhub exchange suffixes
to their TradingView prefix equivalents. Previously only .SS, .SZ, and
.HK were handled, causing international symbols like 2330.TW to fail
on the stock details page.

Add comprehensive test suite for utility functions including
formatSymbolForTradingView, formatMarketCapValue, formatChangePercent,
getChangeColorClass, and calculateNewsDistribution.

Closes #24
2026-03-28 15:28:12 -04:00
..
actions fix: harden sentiment insights integration 2026-03-25 21:32:26 +01:00
better-auth Update lib/better-auth/auth.ts 2025-10-04 01:05:50 +05:30
inngest fix: migrate remaining inngest v3 trigger syntax to v4 2026-03-21 22:17:23 +01:00
nodemailer added donation 2025-12-13 01:35:52 +05:30
ai-provider.ts feat: add MiniMax as alternative LLM provider with provider abstraction 2026-03-20 21:28:24 +08:00
constants.ts feat: Integrate Siray.ai fallback, modernize docs, and migrate users 2026-01-30 00:10:35 +05:30
kit.ts feat: Integrate Siray.ai fallback, modernize docs, and migrate users 2026-01-30 00:10:35 +05:30
utils.ts fix: add international exchange mappings for TradingView widgets 2026-03-28 15:28:12 -04:00