- name
SKILL.md
The skill file stays in the publisher's repository.
Paste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add lzwme/finance-quant-skills --skill jqdatasdk -a cursor -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add lzwme/finance-quant-skills --skill jqdatasdk -a claude-code -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add lzwme/finance-quant-skills --skill jqdatasdk -a codex -yPaste the copied command in a terminal. It installs this SKILL.md into that agent.
npx skills add lzwme/finance-quant-skills --skill jqdatasdk -a grok -ySend the copied message in a Grok Bot chat. The Bot fetches this SKILL.md from GitHub and adds it to the skills all your Bots share.
Install this skill: https://github.com/lzwme/finance-quant-skills/tree/HEAD/skills/jqdatasdkFrom the publisher
与 joinquant-strategy 的区别:本技能是本地 Python 库(
import jqdatasdk),用于在本地环境拉取聚宽数据;joinquant-strategy面向聚宽官网策略环境(回测/模拟/研究,import jqdata),API 略有不同。二者不可混用(jqdatasdk不能在官网策略中 import)。
python scripts/market_data.py --type price --code 000001.XSHE --start 2024-01-01 --end 2024-01-31python scripts/financial_data.py --type fundamentals --code 000001.XSHE --statDate 2024python scripts/stock_info.py --type all_securities --security_type stockpython scripts/factor_data.py --code 000001.XSHE --factor valuation --start 2024-01-01 --end 2024-01-31python scripts/market_data.py --type price --code 000001.XSHE --start 2024-03-01 --end 2024-03-31 --frequency dailypython scripts/financial_data.py --type indicators --code 600036.XSHG --statDate 2023python scripts/factor_data.py --code 600519.XSHG --factor valuation --start 2024-01-01 --end 2024-03-31import jqdatasdk as jq
import pandas as pd
# 认证(需先设置环境变量 JQDATA_TOKEN 或 JQDATA_USERNAME/JQDATA_PASSWORD)
jq.auth(os.environ.get('JQDATA_USERNAME', ''), os.environ.get('JQDATA_PASSWORD', ''))
# 或使用 Token: jq.auth(token='your_token')
# 获取日K线数据
df = jq.get_price('000001.XSHE', start_date='2024-01-01', end_date='2024-12-31',
frequency='daily', fields=['open', 'high', 'low', 'close', 'volume'])
# 获取财务数据
q = jq.query(jq.valuation).filter(jq.valuation.code == '000001.XSHE')
fundamentals = jq.get_fundamentals(q, date='2024-01-01')
XXXXXX.XSHG,深圳市场为 XXXXXX.XSHE聚宽(JoinQuant)本地数据 SDK,提供 A 股行情、历史K线、财务数据、指标数据等,与聚宽官网数据同源。当用户提及 jqdatasdk、聚宽数据、需要获取A股数据,或已注册聚宽账号时使用。与 baostock(免费)和 tushare(数据最全)不同,jqdatasdk 需注册聚宽账号获取 Token,适合已在使用聚宽平台的用户。本地数据获取请用本技能,聚宽官网策略开发请用 joinqu
---name: jqdatasdkdescription: 聚宽(JoinQuant)本地数据 SDK,提供 A 股行情、历史K线、财务数据、指标数据等,与聚宽官网数据同源。当用户提及 jqdatasdk、聚宽数据、需要获取A股数据,或已注册聚宽账号时使用。与…---# skills/jqdatasdk/SKILL.mdOverview
聚宽(JoinQuant)本地数据 SDK,提供 A 股行情、历史K线、财务数据、指标数据等,与聚宽官网数据同源。当用户提及 jqdatasdk、聚宽数据、需要获取A股数据,或已注册聚宽账号时使用。与 baostock(免费)和 tushare(数据最全)不同,jqdatasdk 需注册聚宽账号获取 Token,适合已在使用聚宽平台的用户。本地数据获取请用本技能,聚宽官网策略开发请用 joinquant-strategy 技能。
FAQ
Download skills/jqdatasdk/SKILL.md from the publisher, or copy the path and open the repository. PlugMCP lists the skill and does not host the file.
The publisher keeps it at https://github.com/lzwme/finance-quant-skills.
Claude, Cursor, Codex, and Grok Build can read a SKILL.md you add from the publisher's repository. Grok Bot installs it when you send the skill's GitHub folder link in a chat.