股票查询 - Stock Inquiry
按股票代码查当日行情与详情(分钟级趋势),按分类拉取股票列表,查询交易日历及财务报表。当用户说:今天的宁德时代股票走势怎样?贵州茅台现在多少钱?今天 A 股开市吗?宁德时代的财报怎样?或类似个股行情、财务问题时,使用本技能。 Skill: 股票查询 - Stock Inquiry Owner: jisuapi Summary: 按股票代码查当日行情与详情(分钟级趋势),按分类拉取股票列表,查询交易日历及财务报表。当用户说:今天的宁德时代股票走势怎样?贵州茅台现在多少钱?今天 A 股开市吗?宁德时代的财报怎样?或类似个股行情、财务问题时,使用本技能。 Tags: latest:1.0.7 Version history: v1.0.7 | 2026-09-10T09:33:51.420Z | user - 新增支持查询交易日历(大陆/香港股市是否开市)和财务报表(主要财务指标、资产负债表、利润表、现金流量表)。 - 说明文档中新增 calendar、financialmain、financialbalancesheet、financialprofit、financialcashflow 等用法、参数和示例。 - skill-card.md 文件移除,不
Rank
62
Safety
84
Downloads
2.1k
Updated
Oct 9, 2026
Version
1.0.7
Source
CLAWHUB
About
What it does, and when to use it.
Capability contract not published. No trust telemetry is available yet. 2.1K downloads reported by the source. Last updated 10/9/2026.
Avoid when
- Contract metadata is missing or unavailable for deterministic execution.
Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing
Public facts
Every fact links back to the source it came from.
- Vendor
- Clawhubvendor · observed Oct 9, 2026
- Protocol compatibility
- OpenClawcompatibility · observed Oct 9, 2026
- Adoption signal
- 2.1K downloadsadoption · observed Oct 9, 2026
- Latest release
- 1.0.7release · observed Sep 10, 2026
- Handshake status
- UNKNOWNsecurity
Install and run
Setup complexity: low.
clawhub skill install s174fh1b14sn7vkvbqwsdn0xtd83gz5h:jisu-stock- Setup complexity is classified as HIGH. You must provision dedicated cloud infrastructure or an isolated VM. Do not run this directly on your local workstation.
- Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.
Contract: missing
curl -s "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-jisu-stock/snapshot"
Documentation
CLAWHUB
46,560 characters of source documentation, loaded on request.
Extracted files
3 files captured from the source.
SKILL.md
---
name: "Stock Inquiry - 股票查询"
description: 按股票代码查当日行情与详情(分钟级趋势),按分类拉取股票列表,查询交易日历及财务报表。当用户说:今天的宁德时代股票走势怎样?贵州茅台现在多少钱?今天 A 股开市吗?宁德时代的财报怎样?或类似个股行情、财务问题时,使用本技能。
metadata: { "openclaw": { "emoji": "📈", "requires": { "bins": ["python3"], "env": ["JISU_API_KEY"] }, "primaryEnv": "JISU_API_KEY" } }
---
# 极速数据股票查询(Jisu Stock)
> 数据由 **[极速数据(JisuAPI)](https://www.jisuapi.com/)** 提供 — 国内专业的 API 数据服务平台,提供生活常用、交通出行、工具万能等数据接口。
- **股票查询**(`/stock/query`):根据股票代码查询当日行情,数据粒度为分钟,含趋势数据
- **股票列表查询**(`/stock/list`):按分类(沪深股市/港股/北证A股)分页获取股票列表
- **股票详情查询**(`/stock/detail`):根据股票代码获取单只股票详情(最新价、涨跌幅、成交量、市盈率等)
- **交易日历**(`/stock/calendar`):查询指定日期大陆/香港股市是否开市
- **主要财务指标**(`/stock/financialmain`):每股收益、ROE、营收、净利润等
- **资产负债表**(`/stock/financialbalancesheet`)
- **利润表**(`/stock/financialprofit`)
- **现金流量表**(`/stock/financialcashflow`)
如需做更深入的走势分析、K 线研究或回测,推荐配合 **股票历史行情查询 Skill(stockhistory)** 一起使用:
- ClawHub 链接:[`https://clawhub.ai/jisuapi/stockhistory`](https://clawhub.ai/jisuapi/stockhistory)
## 前置配置:获取 API Key
1. 前往 [极速数据官网](https://www.jisuapi.com/) 注册账号
2. 进入 [股票查询 API](https://www.jisuapi.com/api/stock/) 页面,点击「申请数据」
3. 在会员中心获取 **AppKey**
4. 配置 Key:
```bash
# Linux / macOS
export JISU_API_KEY="your_appkey_here"
# Windows PowerShell
$env:JISU_API_KEY="your_appkey_here"
```
## 脚本路径
脚本文件:`skills/stock/stock.py`
## 使用方式
### 1. 股票查询(/stock/query)
根据股票代码查询当日行情,返回名称、代码、最新价、昨收盘价、数据量、更新时间及按分钟维度的趋势数组(时间、价格、成交量、成交总额、平均价)。
```bash
python3 skills/stock/stock.py query '{"code":"300917"}'
```
请求 JSON:
```json
{
"code": "300917"
}
```
| 字段名 | 类型 | 必填 | 说明 |
|--------|--------|------|----------|
| code | string | 是 | 股票代码 |
### 2. 股票列表查询(/stock/list)
按分类分页获取股票列表。分类:1 沪深股市,3 港股,4 北证A股。
```bash
python3 skills/stock/stock.py list '{"classid":1,"pagenum":1,"pagesize":10}'
```
请求 JSON:
```json
{
"classid": 1,
"pagenum": 1,
"pagesize": 10
}
```
| 字段名 | 类型 | 必填 | 说明 |
|----------|--------|------|-------------------------------|
| classid | int | 是 | 1 沪深股市 3 港股 4 北证A股 |
| pagenum | int | 否 | 当前页,默认 1 |
| pagesize | int | 否 | 每页数量,默认 30 |
### 3. 股票详情查询(/stock/detail)
根据股票代码获取单只股票详情:最新价、最高/最低价、成交量、成交额、换手率、开盘价、昨收盘价、涨跌幅、涨跌额、振幅、量比、市盈率、市净率、更新时间等。
```bash
python3 skills/stock/stock.py detail '{"code":"300917"}'
```
请求 JSON:
```json
{
"code": "300917"
}
```
| 字段名 | 类型 | 必填 | 说明 |
|--------|--------|------|----------|
| code | string | 是 | 股票代码 |
### 4. 交易日历(/stock/calendar)
查询指定日期大陆/香港股市是否开市。
```bash
python3 skills/stock/stock.py calendar '{"date":"2026-04-29"}'
```
请求 JSON(`date` 可选,不填则默认当天):
```json
{
"date": "2026-04-29"
}
```
| 字段名 | 类型 | 必填 | 说明 |
|--------|--------|------|----------|
| date | string | 否 | 日期 |
### 5. 主要财务指标(/stock/financialmain)
```bash
python3 skills/stock/stock.py financialmain '{"code":"688808","_meta.json
{
"ownerId": "kn7ex9mabfb47dvpgkmeypwqj9825yyz",
"slug": "jisu-stock",
"version": "1.0.7",
"publishedAt": 1789032831420
}skill-card.md
## Description: 按股票代码查当日行情与详情(分钟级趋势),按分类拉取股票列表,查询交易日历及财务报表。 This skill is ready for commercial/non-commercial use. ## Publisher: [jisuapi](https://clawhub.ai/user/jisuapi) ### License/Terms of Use: MIT-0 ## Use Case: External users and developers use this skill to look up current stock quotes, stock lists, market trading-calendar status, and financial statement data through JisuAPI-backed commands. ### Deployment Geography for Use: Global ## Known Risks and Mitigations: Risk: The skill sends the configured Jisu AppKey and requested stock query parameters to JisuAPI. Mitigation: Install only when that API-key use and data sharing are acceptable; keep JISU_API_KEY scoped and managed as a secret. Risk: Returned market and financial data is third-party financial information and may be incomplete, delayed, or unsuitable for trading decisions. Mitigation: Treat results as informational lookup data, verify important outputs against authoritative sources, and do not present responses as trading advice. ## Reference(s): - [ClawHub skill page](https://clawhub.ai/jisuapi/skills/jisu-stock) - [JisuAPI stock API documentation](https://www.jisuapi.com/api/stock/) - [JisuAPI website](https://www.jisuapi.com/) - [Related ClawHub stock history skill](https://clawhub.ai/jisuapi/stockhistory) ## Skill Output: **Output Type(s):** [Shell commands, API Calls, JSON, Guidance] **Output Format:** [JSON responses with command-line usage guidance] **Output Parameters:** [1D] **Other Properties Related to Output:** [Requires python3 and JISU_API_KEY; sends stock codes, dates, and financial-query parameters to JisuAPI.] ## Skill Version(s): 1.0.7 (source: server release metadata) ## Ethical Considerations: Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.
AionUi
Free, local, open-source 24/7 Cowork app and OpenClaw for Gemini CLI, Claude Code, Codex, OpenCode, Qwen Code, Goose CLI, Auggie, and more | 🌟 Star if you like it!
activepieces
AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
cherry-studio
AI productivity studio with smart chat, autonomous agents, and 300+ assistants.
CopilotKit
The Frontend for Agents & Generative UI. React + Angular
Machine-readable data
The same record, as JSON, for agents and crawlers.
{
"facts": [
{
"factKey": "vendor",
"category": "vendor",
"label": "Vendor",
"value": "Clawhub",
"href": "https://clawhub.ai/jisuapi/skills/jisu-stock",
"sourceUrl": "https://clawhub.ai/jisuapi/skills/jisu-stock",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T19:42:52.719Z",
"isPublic": true
},
{
"factKey": "protocols",
"category": "compatibility",
"label": "Protocol compatibility",
"value": "OpenClaw",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-jisu-stock/contract",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-jisu-stock/contract",
"sourceType": "contract",
"confidence": "medium",
"observedAt": "2026-10-09T19:42:52.719Z",
"isPublic": true
},
{
"factKey": "traction",
"category": "adoption",
"label": "Adoption signal",
"value": "2.1K downloads",
"href": "https://clawhub.ai/jisuapi/jisu-stock",
"sourceUrl": "https://clawhub.ai/jisuapi/jisu-stock",
"sourceType": "profile",
"confidence": "medium",
"observedAt": "2026-10-09T19:42:52.719Z",
"isPublic": true
},
{
"factKey": "latest_release",
"category": "release",
"label": "Latest release",
"value": "1.0.7",
"href": "https://clawhub.ai/jisuapi/jisu-stock",
"sourceUrl": "https://clawhub.ai/jisuapi/jisu-stock",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-10T09:33:51.420Z",
"isPublic": true
},
{
"factKey": "handshake_status",
"category": "security",
"label": "Handshake status",
"value": "UNKNOWN",
"href": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-jisu-stock/trust",
"sourceUrl": "https://www.xpersona.co/api/v1/agents/clawhub-jisuapi-jisu-stock/trust",
"sourceType": "trust",
"confidence": "medium",
"observedAt": null,
"isPublic": true
}
],
"events": [
{
"eventType": "release",
"title": "Release 1.0.7",
"description": "- 新增支持查询交易日历(大陆/香港股市是否开市)和财务报表(主要财务指标、资产负债表、利润表、现金流量表)。 - 说明文档中新增 calendar、financialmain、financialbalancesheet、financialprofit、financialcashflow 等用法、参数和示例。 - skill-card.md 文件移除,不影响功能。 - 推荐用法及 description 更新,支持财报及交易日历等场景。",
"href": "https://clawhub.ai/jisuapi/jisu-stock",
"sourceUrl": "https://clawhub.ai/jisuapi/jisu-stock",
"sourceType": "release",
"confidence": "medium",
"observedAt": "2026-09-10T09:33:51.420Z",
"isPublic": true
}
]
}Record generated Oct 9, 2026.
