-
Notifications
You must be signed in to change notification settings - Fork 725
Closed
Description
Feature Request
Add a xueqiu comments or xueqiu discuss command to fetch comments/discussions for a specific stock.
Current Behavior
Currently xueqiu supports these commands:
xueqiu stock SH600519— stock quote (works)xueqiu search 茅台— search stocks (works)xueqiu hot— trending posts (works)xueqiu hot-stock— trending stocks (works)
But there's no way to get comments/discussions for a specific stock (e.g. posts in the discussion section of https://xueqiu.com/S/SH600519).
Proposed API
# Get latest comments/discussions for a stock
opencli xueqiu comments SH600519 --limit 10
# Or alternatively
opencli xueqiu discuss SH600519 --limit 10Expected Output
| Author | Text | Created_at | Likes | Comments | Retweets |
|---|---|---|---|---|---|
| 用户名 | 评论内容... | 2026-03-29 | 42 | 5 | 3 |
Xueqiu API Reference
Xueqiu has a public API for stock discussions:
GET https://xueqiu.com/query/v1/symbol/search/status
Parameters: symbol=SH600519&count=10&sort=time
Cookie: required (from browser session)
Use Case
AI agents need to analyze market sentiment for specific stocks by reading investor discussions. The hot command only returns global trending posts, not stock-specific discussions.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels