mirror of
https://github.com/Open-Dev-Society/OpenStock.git
synced 2026-10-02 04:54:32 +08:00
Some stock pages showed widgets that never loaded. I tested every mapped exchange in a real-browser session: - Hong Kong symbols broke in every widget: Finnhub pads codes (0700.HK) but TradingView wants HKEX:700. The zero padding is now stripped. - TradingView refuses the candle chart in free embeds for 13 exchanges (Tokyo, Hong Kong, London, Korea, Taiwan, Singapore, New Zealand, Thailand, Malaysia, Istanbul, TSX Venture, Mexico, Johannesburg), each confirmed with two tickers. Those pages now say so and link to the chart on TradingView. Financials, technicals and profile still load. - Prague mapped to PSE, which is the Philippine exchange on TradingView; it is now PSECZ. Every other widget loaded in repeated loads and client navigations. A headless browser gets no chart data at all (TradingView blocks the HeadlessChrome user agent), so test with a normal user agent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>