feat: remove OpptrixQuant; Tickflow universe search and instrument ID unify - #174
Merged
Conversation
上游切换至 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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
npm run build:packagesnpm run check:uitests/instrument-id-unification-*.test.mjs,search-universe-ready,tickflow-free-tier/ public-free migration700→ pick HK vs CNMade with Cursor