Skip to content

feat: watchlist charts, fund detail, and quote circuit fix - #176

Merged
Travisun merged 8 commits into
mainfrom
feat/watchlist-chart-fund-detail
Aug 26, 2026
Merged

feat: watchlist charts, fund detail, and quote circuit fix#176
Travisun merged 8 commits into
mainfrom
feat/watchlist-chart-fund-detail

Conversation

@Travisun

Copy link
Copy Markdown
Owner

Summary

  • Watchlist 1m quotes, CN:000001 ID routing, chart alignment, and fund detail tabs via Fuyao / standard fund APIs
  • Slim fund_detail parallel fetches (snapshot / holdings / allocation) and harden Fuyao field mapping
  • Stop empty quote misses from opening STOCK_REALTIME circuits so equity prices stay available while index quotes work

Test plan

  • Open watchlist with CN equities — prices update without stuck「行情获取失败」
  • Open a CN fund detail — overview / holdings / allocation render; no manager/dividend tabs
  • Market dynamics index quotes still load
  • npm run check:ui and fund/quote related tests pass

Made with Cursor

Rui and others added 8 commits August 25, 2026 20:29
…tail tabs

Route quotes by InstrumentRef assetClass so SZ.000001 uses stock snapshot
instead of index; align Vol/MACD panes; enrich fund detail from Fuyao APIs.

Co-authored-by: Cursor <cursoragent@cursor.com>
Map official drawdown/allocation/manager/diagnosis shapes (ratio_pct, week/month,
manager_info, nested resilience) so fund tabs stop showing Object or empty sections.

Co-authored-by: Cursor <cursoragent@cursor.com>
Replace the handwritten REST client with a thin adapter over the official
SDK so endpoint shapes and types stay aligned while keeping fromConfig and
existing market method signatures.

Co-authored-by: Cursor <cursoragent@cursor.com>
Align normalize/UI with official adj_nav, peer ranks, drawdowns, dividends,
manager tenure and company metrics so fund detail shows real numbers.

Co-authored-by: Cursor <cursoragent@cursor.com>
Route fund financials, market dumps, limit pools, and auction APIs through
@opptrix/fuyao; merge limit-down into limitUpdown and drop raw HTTP get.

Co-authored-by: Cursor <cursoragent@cursor.com>
Cut fund_detail parallel legs to snapshot/holdings/allocation, derive
performance and holders from profile, and drop unused manager/dividend
tabs so opening a fund hits fewer upstream calls.

Co-authored-by: Cursor <cursoragent@cursor.com>
Watchlist polling treated business-empty responses as hard failures and
tripped STOCK_REALTIME, leaving equity prices stuck while index quotes
still worked. Empty misses no longer open the circuit; provider_test
success resets health.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@Travisun
Travisun merged commit 8101605 into main Aug 26, 2026
1 check failed
@Travisun
Travisun deleted the feat/watchlist-chart-fund-detail branch August 26, 2026 01:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant