Xueqiu Data Fetching
Paste the following prompt into your AI chat to install this skill:
Please install @user_6eb4c6c0/xueqiu-skill according to https://skillhub.cn/install/skillhub.md.
About this skill
Problem to solve
Investment research workflows often need Xueqiu data such as users, portfolios, posts, NAV, and rebalancing details. Scraping pages directly can lead to auth issues, rate limits, and inconsistent fields. @user_6eb4c6c0/xueqiu-skill wraps Xueqiu-related endpoints into callable skill actions, so agents or scripts can request data by parameters.
How the skill works
The skill sends POST JSON requests to a configured base URL, with common fields app_id and secure_key. Key capabilities include:
- Search: searchUser, searchCube, searchStatus, and searchCubeRanked find users, portfolios, and posts, with ranked filtering by gains.
- Quotes: getCubeQuote returns real-time portfolio NAV; getCubeNavHistory returns daily historical NAV.
- Details and history: getCubeInfo returns portfolio metadata, holdings, and owner info; getCubeRebalancing returns rebalancing time, cash ratio, and stock changes.
- User dimension: getUserCubes and getUserTimeline list a user's created portfolios and original posts.
A typical flow is to obtain credentials, choose the endpoint, pass parameters such as keyword, symbol, cubeId, or userId, then handle pagination, HTML descriptions, null values, and error codes.
Boundaries and notes
The skill is for data retrieval, not investment advice. Post description is HTML and should be cleaned before display. Full URLs should be built as https://xueqiu.com{target}. Some legacy portfolios or delayed sync may return null fields. Successful calls are billed; failed calls are refunded. The shared upstream limit is 10 requests per 60 seconds, and clients should pace requests around every 6 seconds. Handle 401, 402, 429, 502, and 503 by checking credentials, balance, rate limiting, or retrying later.
Use Cases
- When investment research requires searching Xueqiu portfolios by keyword and inspecting total and annualized returns.
- When analyzing a portfolio's recent performance, retrieve daily NAV history and plot the curve.
- When tracking a user's views, fetch their original posts and organize summaries by publish time.
- When reviewing portfolio rebalancing, retrieve rebalance time, cash ratio, and stock change details.
Best For
- Quant researcher: needs to bulk-fetch Xueqiu portfolio NAV and rebalancing records for backtesting.
- Fund research analyst: inspects Xueqiu portfolio details, holdings, and return fields.
- Investment content editor: searches Xueqiu users, posts, and portfolios to verify information.
- Individual investor: tracks a followed user's portfolio list and original posts.
Related Skills
Provides compliance self-check and remediation guidance for medical aesthetics and jewelry businesses, covering tax categories, invoicing, and private-account risk.
Covers literature review, data analysis, visualization, drug discovery, paper writing, and grant writing workflows.
A retrieval assistant for Chinese laws and regulations, supporting semantic queries, validity checks, clause location, and regulation comparison with CLI-based output.
Wraps the Tonghuashun finance data MCP service for querying stocks, funds, macro data, news, bonds, global stocks, and indices.