Skip to content

feat: remove OpptrixQuant; Tickflow universe search and instrument ID unify - #174

Merged
Travisun merged 2 commits into
mainfrom
feat/stockindex-opptrixquant
Aug 25, 2026
Merged

feat: remove OpptrixQuant; Tickflow universe search and instrument ID unify#174
Travisun merged 2 commits into
mainfrom
feat/stockindex-opptrixquant

Conversation

@Travisun

Copy link
Copy Markdown
Owner

Summary

  • Remove OpptrixQuant/stockindex provider; CN/HK/US search and universe sync use Fuyao + Tickflow (incl. public free tier).
  • On-demand search-triggered lightweight universe prep with progress UI and auto re-search.
  • Instrument ID unification (A/B): shared canonical parse, watchlist migration, HK pad repair, multi-match candidate pick for ambiguous codes.

Test plan

  • npm run build:packages
  • npm run check:ui
  • tests/instrument-id-unification-*.test.mjs, search-universe-ready, tickflow-free-tier / public-free migration
  • Manual: search with empty local universe → prep banner → auto refresh; ambiguous 700 → pick HK vs CN

Made with Cursor

Rui and others added 2 commits August 25, 2026 10:22
上游切换至 https://quant.opptrix.net/api/v1(X-API-Key 认证,单页 ≤35):
- 新增标准能力:标的搜索(/instruments)、基金历史净值(/funds/{code}/nav)、
  基金档案(/instruments/{id})、批量最新净值(POST /funds/nav/latest)
- 新增自定义方法 fundMetrics(/funds/{code}/metrics,三层文档登记)
- 移除 SECTOR_LIST 与板块/申万 custom methods;taxonomy 同步禁用为 no-op
- settings 新增 apiKey(secret required)、enabled 默认 false;旧域名自动迁移
- normalize 新增 OpptrixQuant instrument_id 冒号翻译层(CN:of→CN:PF 等),保留旧格式兼容
- market-data universe/etf 名录同步改走新上游;搜索缓存版本 bump
- 测试:tests/stockindex-opptrixquant.test.mjs 17 用例 + 现有用例改造
… unify

Drop the stockindex provider; search and CN/HK/US universe sync use Fuyao + Tickflow.
Add on-demand universe prep UX, InstrumentRef disambiguation with multi-match pick,
and HK canonical pad repair.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Travisun
Travisun merged commit 384c837 into main Aug 25, 2026
1 check failed
@Travisun
Travisun deleted the feat/stockindex-opptrixquant branch August 25, 2026 08:49
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