Files
tick-stock-panel/backend/app/services
intfoo 99b0c6cb35 fix(index-quotes): compute change_pct for custom data source
Custom data source realtime quotes were missing change_pct because _build_index_quotes only kept pre-existing columns. TickFlow path computes it in _fetch_full_market_quotes, but custom source path bypasses that computation.

- _build_index_quotes computes change_pct/change_amount from last_price/prev_close when not provided by the source
- guards prev_close=0 (Polars produces inf, invalid JSON)
- aligns with TickFlow path and _fallback_index_quotes_from_daily
2026-07-24 11:35:19 +08:00
..
2026-06-18 17:18:23 +08:00
2026-07-03 14:11:27 +08:00