Install
openclaw skills install quant-expertQuantitative analysis skill for the Chinese A-share market using Tushare Pro data and a holiday helper. Use when the user asks for stock screening, stock diagnosis, market or sector analysis, money-flow checks, ETF or option data, macro data, trading-day queries, holiday checks, or raw Tushare data related to Chinese securities.
openclaw skills install quant-expertUse this skill for Chinese A-share quantitative work in OpenClaw.
OpenClaw-friendly rule:
Recommended OpenClaw config:
{
"skills": {
"entries": {
"quant-expert": {
"apiKey": "your-tushare-token"
}
}
}
}
Because primaryEnv is set to TUSHARE_TOKEN, OpenClaw can inject the token for this skill automatically.
Required Python packages for Tushare features:
tusharepandasrequestsNote:
holiday_helper.py does not need TUSHARE_TOKEN.TUSHARE_TOKEN.TUSHARE_TOKEN are missing, stop and report the blocker clearly.When referencing bundled files in OpenClaw, use {baseDir}:
{baseDir}/scripts/tushare_helper.py{baseDir}/scripts/stock_screener.py{baseDir}/scripts/stock_diagnosis.py{baseDir}/scripts/holiday_helper.py{baseDir}/references/api_quick_reference.md{baseDir}/references/analysis_strategies.mdUse {baseDir}/scripts/tushare_helper.py.
Example:
python {baseDir}/scripts/tushare_helper.py stock_basic '{"list_status":"L"}' -n 20
python {baseDir}/scripts/tushare_helper.py daily_basic '{"trade_date":"20260302"}' -f ts_code,pe_ttm,pb,total_mv
Use {baseDir}/scripts/stock_screener.py.
value: low PE_TTM, low PB, minimum market cap, minimum ROE, exclude STdividend: minimum dv_ttm, then verify consecutive dividend yearsgrowth: revenue YoY, profit YoY, and ROEmomentum: daily gain, volume ratio, turnover rateExample:
python {baseDir}/scripts/stock_screener.py -s value --pe-max 20 --roe-min 15 --mv-min 100
python {baseDir}/scripts/stock_screener.py -s growth --rev-growth-min 20 --profit-growth-min 25
Use {baseDir}/scripts/stock_diagnosis.py.
Current built-in diagnosis is a structured snapshot, not an automatic rating model.
It covers:
Example:
python {baseDir}/scripts/stock_diagnosis.py 600519.SH
Use {baseDir}/scripts/holiday_helper.py.
Example:
python {baseDir}/scripts/holiday_helper.py check
python {baseDir}/scripts/holiday_helper.py next 2026-09-30
Always reason in Beijing time.
Minimum event evidence target:
{baseDir}/references/api_quick_reference.md{baseDir}/references/analysis_strategies.md