DataQuant Connector gives AI agents a secure REST API workflow for retrieving multi-market financial data, screening securities, and supporting quantitative research.
The fastest way to install a skill directly from the registry.
npx clawhub@latest install dataquant-connector
Copy the skill folder to one of these locations
~/.openclaw/skills/ <project>/skills/ Priority: Workspace > Local > Bundled
Copy this prompt to OpenClaw to install it automatically.
Help me install dataquant-connector using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).
Get the raw skill files in a ZIP archive.
DataQuant Connector is an Openclaw Skills integration for the DataQuant quantitative data platform. It provides a practical command-line interface over DataQuant REST APIs, covering A-shares, Hong Kong stocks, U.S. stocks, cryptocurrencies, global indices, and ETFs.
The skill supports historical K-lines, adjusted pricing, real-time valuation snapshots, batch retrieval, condition-based screening, symbol search, macroeconomic indicators, and quota inspection. It is designed for backtesting, stock selection, market analysis, and data-driven agent workflows while keeping API authentication in the user's environment.
DATAQUANT_API_KEY, DQ_API_KEY, or an equivalent instruction.DATAQUANT_API_KEY from the environment first; if it is unavailable, request the key from the user rather than fabricating credentials.ashare, hkstock, usstock, crypto, indices, or etfs.https://api.dataquant.trade using the X-API-Key header.raise_for_status(), applying backoff and retry handling for rate-limit or temporary service errors.adj_factor, adjusted prices, screen-field allowlists, pagination metadata, and macro data objects.python -m pip install requests
Register for a DataQuant API key at https://app.dataquant.trade.
Store the key in an environment variable instead of hard-coding it:
export DATAQUANT_API_KEY="your_dataquant_api_key"
python scripts/dataquant.py quota --api-key "$DATAQUANT_API_KEY"
python scripts/dataquant.py kline ashare sh600519 --start 2020-01-01 --end 2025-12-31 --adj qfq --api-key "$DATAQUANT_API_KEY"
python scripts/dataquant.py batch ashare sh600519,sz000858 --start 2025-01-01 --adj bfq --api-key "$DATAQUANT_API_KEY"
python scripts/dataquant.py detail ashare sh600519,sz000858 --api-key "$DATAQUANT_API_KEY"
python scripts/dataquant.py screen ashare --min-pe-ratio 0 --max-pe-ratio 30 --min-total-market-cap 1000 --sort chg_20d --api-key "$DATAQUANT_API_KEY"
python scripts/dataquant.py search ashare 600519 --api-key "$DATAQUANT_API_KEY"
python scripts/dataquant.py macro gdp --start 2020 --end 2025 --api-key "$DATAQUANT_API_KEY"
references/api-reference.md and the online DataQuant API documentation for the complete field definitions, screen allowlist, response examples, package limits, and error-code reference. Batch requests should generally be separated by at least 0.5 seconds, and clients should respect the global 200 requests-per-minute server limit.| File | Role | Required |
|---|---|---|
SKILL.md |
Agent activation rules, endpoint behavior, and workflow guidance | Yes |
skill.json |
Skill metadata and packaging configuration | Yes |
scripts/dataquant.py |
CLI wrapper that authenticates and calls the REST API | Yes |
references/api-reference.md |
Detailed fields, response examples, screen allowlist, plans, and errors | Yes |
README.md |
Optional project documentation | No |
LICENSE |
Optional license file | No |
| Code | Coverage |
|---|---|
ashare |
A-shares, approximately 3,000 instruments |
hkstock |
Hong Kong stocks, approximately 1,000 instruments |
usstock |
U.S. stocks, approximately 2,000 instruments |
crypto |
Cryptocurrencies, approximately 100 instruments |
indices |
Global indices, approximately 15 instruments |
etfs |
ETFs, approximately 11 instruments |
symbol and date, and always include adj_factor; supported fields include open, high, low, close, volume, and amount.o,h,l,c,v,a and their full names. Single-symbol requests default to all fields, while batch requests default to close,volume.limit and offset; single and batch requests default to 100 rows, subject to the plan's max_single_rows limit.symbol and date, do not include adj_factor, and default to all fields.min_<column> and max_<column> only for allowlisted columns.market, total, count, offset, and a symbols array of code strings; search matches symbol substrings, not Chinese instrument names.data[] array. The data field is already parsed as an object, so callers do not need a second json.loads operation.bfq: Unadjusted prices and the default mode.qfq: Forward-adjusted prices, recommended for indicator calculations to reduce dividend-related gaps.hfq: Backward-adjusted prices.adj_factor = hfq_close / bfq_close; adjusted prices affect open, high, low, and close, while volume and amount remain unscaled.adj_factor.min_ and max_ filters, configurable sorting, pagination, and a service-side field allowlist.Loading
Playwright Stealth Verify measures whether an automated browser presents a coherent, internally consistent fingerprint without modifying or evading detection.

ManualGen analyzes a project’s business workflows and generates a complete, validated user operations manual through an automated state-machine process.

A multi-source A-share decision-support skill for screening Shanghai and Shenzhen main-board stocks, analyzing market events, optimizing portfolios, and enforcing trading discipline.

Conspect analyzes Excel data, selects effective visualizations, and renders presentation-ready dashboards and business reports through a controlled multi-agent workflow.

Postflight is a safety-first X publishing workflow that drafts posts, requests explicit approval, and publishes only the approved package.

Christa is an adaptive body-shaping coach that assesses readiness, answers evidence-based nutrition questions, and generates a personalized HTML fitness report.








































