DeepQuant Financial Data Manager
Paste the following prompt into your AI chat to install this skill:
Follow https://skillhub.cn/install/skillhub.md to install @org-0ueytgdu/deepquant-data into your AI assistant.
About this skill
Problem Addressed
When building equity strategies, market quotes, financial statements, share capital, fund/index data, consensus estimates, and factor data often live behind different APIs and code conventions. Hand-writing gid calls is error-prone because field definitions, market code formats, and return shapes are easy to mix up. Many endpoints return a (data, code, msg) tuple, and choosing between K-line, snapshot, tick, valuation, shareholder, and dividend-adjustment interfaces requires a clearer decision path.
How It Works
The skill wraps the deepquant SDK data layer into query-oriented workflows. Initialization checks authentication and SDK readiness, then the skill supports a practical lookup chain: use code_query.py to search securities by fuzzy name or pinyin, use api_index_manager.py to locate candidate endpoints, and use data_preview.py to inspect fields on a small sample. Core coverage includes stock basics, financial statements, trading data, funds and indexes, market snapshots, tick execution and order data, consensus forecasts, and factor management. For common cases, it favors stable endpoints such as get_kline for K-lines, balancesheet, income, and cashflow for financials, derivind_factor for valuation metrics, top10holders for shareholder data, and divident and exfactor for dividends and adjustment factors.
Boundaries and Caveats
It is best used for structured financial data retrieval and strategy data preparation. It should not be used to bypass authentication, inspect secret credentials, or modify SKILL.md and initialization scripts. All gid endpoints return a tuple, so callers must unpack the DataFrame and check code. The local environment must satisfy the required deepquant version, and the SDK cache should be cleared before calls. If authentication fails, permission is missing, or the system is waiting for authorization, the workflow should stop rather than retry business queries.
Use Cases
- Before backtesting, fetch K-lines and snapshots for multiple stocks by date and verify field and code formats.
- When writing equity financial analysis, retrieve balance sheets, income statements, cash flows, ROE, and gross margin.
- For shareholder and dividend research, query top-10 holders, lockup releases, dividend events, and adjustment factors.
- When building a valuation screen, retrieve PE/PB/PS, dividend yield, consensus earnings, and target prices.
Best For
- Quantitative researchers: need stock quotes, financials, valuation, and consensus data by security and date.
- Equity analysts: need to reconcile financial statements, shareholder structure, dividends, and index constituents.
- Strategy data engineers: need to unpack deepquant gid outputs, preview fields, and convert results to DataFrames.
- Factor researchers: need TTM/MRQ, return, and derived valuation factors for screening and modeling.
Related Skills
Analyze corporate financial statements with DuPont, solvency, operations, profitability, cash-flow quality, Z-Score, and EVA.
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.