Skip to content

fix(xueqiu): route bare 920 symbols to Beijing exchange - #924

Merged
Panniantong merged 1 commit into
Panniantong:mainfrom
remote-controlled-man:codex/prflow-e23d4500140e
Nov 8, 2026
Merged

Panniantong merged 1 commit into
Panniantong:mainfrom
remote-controlled-man:codex/prflow-e23d4500140e

Conversation

@remote-controlled-man

Copy link
Copy Markdown
Contributor

Summary

  • Route bare 920xxx symbols to Tencent's Beijing (bj) market instead of Shanghai (sh), matching the Beijing Stock Exchange's 920 code range.
  • Add a public run_action regression for 920008, covering the external request route and returned BJ920008 identity.

Validation

  • Real public action before the fix: bare 920008 returned NOT_FOUND, while explicit BJ920008 returned 成电光信. After the fix, both forms return 成电光信 (BJ920008).
  • The new regression failed before the fix and passes after it.
  • .venv/bin/ruff check agent_reach tests — passed.
  • .venv/bin/python -m pytest -q — 524 passed.
  • .venv/bin/python -m mypy agent_reach — no issues in 49 source files.
  • git diff --check — passed.
  • agent-reach check xueqiu --text in an isolated HOME after agent-reach add xueqiu:
PASS  xueqiu quote [tencent] 138ms
PASS  xueqiu quote [xueqiu-api] 505ms
PASS  xueqiu search [tencent] 135ms
PASS  xueqiu search [xueqiu-api] 667ms
PASS  xueqiu hot_posts [xueqiu-api] 427ms
PASS  xueqiu hot_stocks [xueqiu-api] 161ms

4/4 actions working

Copilot AI balanced review requested due to automatic review settings November 6, 2026 09:49

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@Panniantong
Panniantong merged commit 76c49de into Panniantong:main Nov 8, 2026
10 checks passed
@Panniantong

Copy link
Copy Markdown
Owner

Thanks! Merged. Verified live: agent-reach xueqiu quote 920001 now returns BJ920001 (纬达光电); before this change it returned NOT_FOUND.

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.

3 participants