Skip to content

feat(market-data): add native Tushare provider - #1311

Open
Sunshine168 wants to merge 2 commits into
TraderAlice:devfrom
Sunshine168:feat/tushare-cn-data
Open

feat(market-data): add native Tushare provider#1311
Sunshine168 wants to merge 2 commits into
TraderAlice:devfrom
Sunshine168:feat/tushare-cn-data

Conversation

@Sunshine168

Copy link
Copy Markdown

Summary

  • add an opt-in native Tushare client with hot-read provider credentials, safe endpoint validation, retries, throttling, caching, and token redaction
  • support A-share search, no-lookahead qfq daily bars, point-in-time financials, corporate status, calendars, industry membership, and index data
  • expose typed traderhub china commands plus Settings UI configuration and capability probes
  • document the source contract, units, adjustment semantics, and token rotation workflow

Verification

  • npx tsc --noEmit --pretty false
  • cd ui && npx tsc -b --pretty false
  • focused Tushare/native routing/UI suite: 105 tests passed
  • pnpm build: 15/15 tasks passed
  • demo UI smoke: Tushare card, password input, endpoint and enable toggle rendered without console errors

Full-suite environment note

pnpm test completed with 5,301 passing tests and 160 failures unrelated to this change. The failures reproduce in the current local installed-app environment: Node 25 emits empty --localstorage-file state for UI workers, while inherited OPENALICE_* app paths point tests at /Applications/OpenAlice.app and cause integration timeouts. All focused affected suites pass.

@vercel

vercel Bot commented Sep 1, 2026

Copy link
Copy Markdown

Someone is attempting to deploy a commit to the luokerenx4's Team Team on Vercel.

A member of the Team first needs to authorize it.

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