Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By quantskillsGPL-3.0In 1 marketplace
Turns natural-language data requests into working panda_data Python SDK calls, using bundled API docs for exact parameter names. Live calls are optional and need a Pandadata account login; the docs are in Chinese.
Trending plugins
7-day copy clicks
Claude hands work to one, or you mention it with @.
Of the plugin's README
Chinese
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
简体中文 | English
把自然语言数据需求,精准路由到正确的
panda_dataAPI,并生成可直接运行的 Python 调用。
pandadata-api 是一个 Agent Skill(技能包)——它把 Pandadata / panda_data Python SDK 的中文接口文档(323 个数据入口,含别名与兼容名称)打包成 AI Agent 可以查询、引用、校验的本地知识库。
当你向 Agent(Claude Code、Codex、Cursor 等)提出诸如 "帮我查 000001.SZ 的 A 股日线" 这类需求时,这个技能会:
panda_data 调用核心原则:Prefer the bundled reference over memory. 先查文档,再回答。
mindmap
root((panda_data<br/>323 methods))
交易工具
交易日历
交易日推算
在售股票列表
A股数据
行情/分钟线
概念/行业/指数
龙虎榜/融资融券
财务/分红/股东
期货数据
行情/主力合约
DeepView 持仓
基差/库存/套利
期权数据
基本信息
日线行情
隐含波动率
量化因子
回测因子
复权因子
港美股
港股/美股行情
公司事件
一致预期/因子
宏观数据
中国/国际宏观
行业/特色数据
经济日历
基金数据
基础/行情
ETF申赎
优先股数据
基础/分红/评级
发行/配售/交易
| 数据域 | 代表接口 | 说明 |
|---|---|---|
| 🛠️ 交易工具 | get_trade_cal · get_last_trade_date | 交易日历、交易日推算、在售股票 |
| 📈 A股数据 | get_stock_daily · get_stock_dividend · get_fina_reports | 行情、概念行业、资金、公司行为、财务 |
| 🔩 期货数据 | get_future_daily · get_future_dominant · get_broker_netmarg | 行情、主力合约、DeepView 持仓席位 |
| ⚖️ 期权数据 | get_option_daily · get_option_implied_volatility | 期权信息、日线、波动率 |
| 🧮 量化因子 | get_factor · get_adj_factor | 回测因子、复权因子 |
| 🌏 港美股 | get_hk_daily · get_us_daily | 行情、公司事件、一致预期、财务因子 |
| 🏛️ 宏观数据 | get_macro_na · get_macro_cal | 中国/国际宏观、行业、特色数据、经济日历 |
| 🧾 基金数据 | get_fund_detail · get_fund_daily | 基金基础信息、行情、ETF 申赎清单 |
| 💠 优先股数据 | get_stock_preferred_detail · get_stock_preferred_dividend | SDK 1.0.6 已导出;上游仍提示须确认服务端支持 |
完整 323 个接口映射见 references/method-index.md。
原有 218 个网关接口均已导出,另补录 105 个 SDK 数据入口(含别名与兼容入口),共 323 个可检索名称;导出不代表服务端已上线,详细兼容说明见 references/sdk-1.0.6.md。
flowchart TD
A[用户自然语言需求] --> B{识别数据域}
B --> C[查 method-index.md<br/>或 search_api_docs.py --list-methods]
C --> D[加载精确接口契约<br/>search_api_docs.py --method get_xxx]
D --> E[按文档示例生成 Python 调用]
E --> F{需要真实数据?}
F -- 否 --> G[输出可运行代码示例]
F -- 是 --> H[call_api.py 自动登录并调用]
H --> I[返回 JSON / DataFrame]
style A fill:#e3f2fd,stroke:#1976d2
style G fill:#e8f5e9,stroke:#388e3c
style I fill:#e8f5e9,stroke:#388e3c
style H fill:#fff3e0,stroke:#f57c00
pandadata-api/
├── SKILL.md # 技能入口:工作流、调用约定、规则
├── requirements.txt # panda_data==1.0.6, requests
├── references/
│ ├── method-index.md # 📇 323 接口速查表(按域分组 + 文档行号)
│ ├── sdk-1.0.6.md # 🧩 SDK 版本、认证变化与接口差异
│ ├── api_catalog.json # 🧭 方法到 MCP 网关 /pandaData endpoint 的映射
│ ├── api-docs.md # 📚 完整中文接口文档
│ └── agent-integration.md # 🔌 各 Agent 安装/加载/冒烟测试
├── scripts/
│ ├── search_api_docs.py # 🔍 检索/抽取接口文档
│ ├── call_api.py # 📞 凭证感知的接口运行器
│ ├── setup_runtime.py # 🔐 交互式安装 + 登录 + 保存凭证
│ ├── pandadata_runtime.py # 同进程初始化 SDK 的运行时助手
│ ├── sdk_compat.py # SDK 版本与文档接口兼容约束
│ └── build_method_index.py # 从 api-docs.md 重建 method-index
└── agents/
├── cursor-rule.mdc # Cursor 规则适配
├── openai.yaml # OpenAI/Codex 适配
└── portable-loader.md # 通用加载器
# 列出全部方法(应为 323)
python scripts/search_api_docs.py --list-methods
# 查看某个方法的完整参数 / 字段 / 示例
python scripts/search_api_docs.py --method get_stock_daily
# 关键词检索(多个词需命中同一行)
python scripts/search_api_docs.py 股票 分红 --context-lines 4
python scripts/setup_runtime.py
该脚本会:安装 panda_data → 隐藏输入用户名/密码 → 校验登录 → 可选保存凭证到 ~/.pandadata/pandadata.env。
python scripts/call_api.py \
--method get_stock_daily \
--params '{"symbol":["000001.SZ"],"start_date":"20250101","end_date":"20250131","fields":[]}'
call_api.py 会自动:读取当前环境或 ~/.pandadata/pandadata.env 的凭证 → 缺失则触发交互式 setup_runtime.py → 同进程 init_token() → 执行接口 → 默认输出 JSON。
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
pandadata-api@quantskills is listed by quantskills/registry — review the source before installing
npx claudepluginhub quantskills/registry --plugin pandadata-apiPlugins from other owners that cover similar ground