Files
ravixalgorithmandClaude Opus 5.5 130a69734d fix(stocks): no more stuck charts for blocked exchanges or Hong Kong
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>
2026-09-25 16:59:20 +05:30
..