← 返回 Skills 市场
itick-stock-quote
作者
ChnMasterOG
· GitHub ↗
· v1.0.0
513
总下载
1
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install itick-stock-quote
功能描述
查询股票实时盘中行情、股票信息等功能。支持HK(港股)、SH(上证)、SZ(深证)、US(美股)、SG(新加坡)、JP(日本)、TW(中国台湾)、IN(印度)、TH(泰国)、DE(德国、MX(墨西哥)、MY(马来西亚)、TR(土耳其)、ES(西班牙)、NL(荷兰)、GB(英国)等,可获取实时报价和深度行情(买卖盘...
使用说明 (SKILL.md)
股票实时行情查询
使用itick API查询股票实时行情。
⚠️ Token 与鉴权(必读)
API Token 通过环境变量 ITICK_API_TOKEN 自动注入(由 ClawHub 管理),不需要用户在对话中手动提供或粘贴 Token。
使用方法
1. 股票信息
curl -X GET "https://api.itick.org/stock/info?type=stock®ion=\x3Cregion>&code=\x3Ccode>" \
-H "accept: application/json" \
-H "token: $ITICK_API_TOKEN"
响应参数示例:
{
"code": 0, //响应code
"msg": "ok", //响应描述
"data": { //响应结果
"c": "AAPL", //股票代码
"n": "Apple Inc.", //股票名称
"t": "stock", //类型
"e": "NASDAQ", //交易所
"s": "Electronic Technology", //所属板块
"i": "Telecommunications Equipment", //所属行业
"r": "USD", //区域/国家代码
"bd": "Apple, Inc. engages in the design, manufacture, and sale of smartphones, personal computers, tablets, wearables and accessories, and other varieties of related services. It operates through the following geographical segments: Americas, Europe, Greater China, Japan, and Rest of Asia Pacific. The Americas segment includes North and South America. The Europe segment consists of European countries, as well as India, the Middle East, and Africa. The Greater China segment comprises China, Hong Kong, and Taiwan. The Rest of Asia Pacific segment includes Australia and Asian countries. Its products and services include iPhone, Mac, iPad, AirPods, Apple TV, Apple Watch, Beats products, AppleCare, iCloud, digital content stores, streaming, and licensing services. The company was founded by Steven Paul Jobs, Ronald Gerald Wayne, and Stephen G. Wozniak in April 1976 and is headquartered in Cupertino, CA.", //公司简介
"wu": "http://www.apple.com", //公司网站URL
"mcb": 3436885784335, //总市值
"tso": 14840389413, //总股本
"pet": 35.3865799154784, //市盈率
"fcc": "USD" //货币代码
}
}
2. 股票IPO
curl -X GET "https://api.itick.org/stock/ipo?type=\x3Ctype>®ion=\x3Cregion>" \
-H "accept: application/json" \
-H "token: $ITICK_API_TOKEN"
响应参数示例:
{
"code": 0, //响应code
"msg": "ok", //响应描述
"data": { //响应结果
"content": [
{
"dt": 1755820800000, //上市日期时间戳(单位:毫秒)
"cn": "Picard Medical Inc", //股票公司名称
"sc": "PMI", //股票代码
"ex": "NYSE", //交易所名称
"mc": "19.1M", //市值
"pr": "3.50-4.50", //价格
"ct": "US", //国家代码
"bs": 1648403200, //开始申购时间(单位:秒)
"es": 1648998400, //申购截止时间(单位:秒)
"ro": 1649001600 //公布中签结果时间(单位:秒)
},
{
"dt": 1755734400000,
"cn": "Elite Express Holding Inc",
"sc": "ETS",
"ex": "NASDAQ",
"mc": "16.0M",
"pr": "4.00",
"ct": "US",
"bs": 1648403200,
"es": 1648998400,
"ro": 1649001600
}
],
"page": 0,
"totalElements": 28,
"totalPages": 14,
"last": false,
"size": 2
}
}
3. 股票除权因子
curl -X GET "https://api.itick.org/stock/split?region=\x3Cregion>" \
-H "accept: application/json" \
-H "token: $ITICK_API_TOKEN"
响应参数示例:
{
"code": 0, //响应code
"msg": "ok", //响应描述
"data": { //响应结果
"content": [
{
"d": 1768521600000, //复权日期时间戳(单位:毫秒)
"r": "HK", //国家/地区代码
"n": "Polyfair Holdings", //股票名称
"c": "8532", //股票代码
"v": "1:10" //复权因子,拆股/合股的比例
},
{
"d": 1768262400000,
"r": "HK",
"n": "China Supply Chain Holdings",
"c": "3708",
"v": "1:10"
}
],
"totalPages": 1,
"totalElements": 3,
"page": 0,
"last": true,
"size": 20
}
}
4. 实时成交
curl -X GET "https://api.itick.org/stock/tick?region=\x3Cregion>&code=\x3Ccode>" \
-H "accept: application/json" \
-H "token: $ITICK_API_TOKEN"
响应参数示例:
{
"code": 0, //响应code
"msg": null, //响应描述
"data": {
"s": "700", //产品代码
"ld": 567, //最新价
"t": 1754554087000, //最新成交的时间戳:2025-08-07 08:08:07 UTC
"v": 1134500, //成交数量
"te": 0 //交易时段 0:常规交易 1:盘前交易 2:盘后交易
}
}
5. 实时报价
curl -X GET "https://api.itick.org/stock/quote?region=\x3Cregion>&code=\x3Ccode>" \
-H "accept: application/json" \
-H "token: $ITICK_API_TOKEN"
响应参数示例:
{
"code": 0, //响应code
"msg": null, //响应描述
"data": { //响应结果
"s": "700", //产品代码
"ld": 616, //最新价
"o": 608, //开盘价
"p": 608, //前日收盘价
"h": 616, //最高价
"l": 601.5, //最低价
"t": 1765526889000, //最新成交的时间戳:2025-12-12 08:08:09 UTC
"v": 17825495, //成交数量
"tu": 10871536434.36, //成交额
"ts": 0, //交易状态 0:正常交易 1:停牌 2:退市 3:熔断
"ch": 8, //涨跌额
"chp": 1.32 //涨跌幅百分比
}
}
6. 实时盘口
curl -X GET "https://api.itick.org/stock/depth?region=\x3Cregion>&code=\x3Ccode>" \
-H "accept: application/json" \
-H "token: $ITICK_API_TOKEN"
响应参数示例:
{
"code": 0, //响应code
"msg": null, //响应描述
"data": { //响应结果
"s": "700", //产品代码
"a": [ //卖盘
{
"po": 1, //档位
"p": 567, //价格
"v": 13400, //挂单量
"o": 3 //订单数量
},
{
"po": 2,
"p": 567.5,
"v": 170200,
"o": 52
},
{
"po": 3,
"p": 568,
"v": 268400,
"o": 217
},
{
"po": 4,
"p": 568.5,
"v": 126000,
"o": 72
},
{
"po": 5,
"p": 569,
"v": 132200,
"o": 133
},
{
"po": 6,
"p": 569.5,
"v": 185800,
"o": 108
},
{
"po": 7,
"p": 570,
"v": 423200,
"o": 706
},
{
"po": 8,
"p": 570.5,
"v": 108500,
"o": 58
},
{
"po": 9,
"p": 571,
"v": 141400,
"o": 221
},
{
"po": 10,
"p": 571.5,
"v": 83600,
"o": 90
}
],
"b": [ //买盘
{
"po": 1, //档位
"p": 566.5, //价格
"v": 24700, //挂单量
"o": 5 //订单数量
},
{
"po": 2,
"p": 566,
"v": 27500,
"o": 7
},
{
"po": 3,
"p": 565.5,
"v": 35000,
"o": 17
},
{
"po": 4,
"p": 565,
"v": 177200,
"o": 80
},
{
"po": 5,
"p": 564.5,
"v": 42800,
"o": 30
},
{
"po": 6,
"p": 564,
"v": 43000,
"o": 53
},
{
"po": 7,
"p": 563.5,
"v": 82600,
"o": 34
},
{
"po": 8,
"p": 563,
"v": 103900,
"o": 78
},
{
"po": 9,
"p": 562.5,
"v": 58700,
"o": 31
},
{
"po": 10,
"p": 562,
"v": 36900,
"o": 92
}
]
}
}
7. K线查询
curl -X GET "https://api.itick.org/stock/kline?region=\x3Cregion>&code=\x3Ccode>&kType=\x3Cktype>&limit=\x3Climit>&et=\x3Cet>" \
-H "accept: application/json" \
-H "token: $ITICK_API_TOKEN"
响应参数示例:
{
"code": 0, //响应code
"msg": null, //响应描述
"data": [ //响应结果
{
"tu": 56119888070.5, //成交金额
"c": 534.5, //该K线收盘价
"t": 1741239000000, //时间戳:2025-03-06 05:30:00 UTC
"v": 104799385, //成交数量
"h": 536, //该K线最高价
"l": 534.5, //该K线最低价
"o": 535 //该K线开盘价
}
]
}
查询参数说明
| 参数 | 说明 |
|---|---|
| region | 市场代码,支持HK(港股)、SH(上证)、SZ(深证)、US(美股)、SG(新加坡)、JP(日本)、TW(中国台湾)、IN(印度)、TH(泰国)、DE(德国、MX(墨西哥)、MY(马来西亚)、TR(土耳其)、ES(西班牙)、NL(荷兰)、GB(英国)等 |
| type | 类型(upcoming 即将上市、recent 近期上市的股票) |
| code | 产品代码 |
| ktype | 周期 1分钟、2五分钟、3十五分钟、4三十分钟、5一小时、8一天、9一周、10一月 |
| et | 查询截止时间戳 如(1751328000000)为空时默认为当前时间戳 |
| limit | 查询条数 |
示例
# 查询港股南方两倍做多恒生科技实时报价
curl -X GET "https://api.itick.org/stock/quote?region=HK&code=7226" \
-H "accept: application/json" \
-H "token: d267a8c7d18a4ba4b19c81225a2ffd3eae0e9ca3bd1a4bd9b969dfee99ee7acd"
# 查询沪A贵州茅台实时报价
curl -X GET "https://api.itick.org/stock/quote?region=SH&code=600519" \
-H "accept: application/json" \
-H "token: d267a8c7d18a4ba4b19c81225a2ffd3eae0e9ca3bd1a4bd9b969dfee99ee7acd"
安全使用建议
This skill appears coherent: it simply calls api.itick.org and expects one API token. Before installing, confirm you trust the itick.org service (there is no homepage/source link in the manifest). Treat ITICK_API_TOKEN as a secret — do not paste it into chat — and supply it via your platform's secure env mechanism. Consider creating a least-privilege or read-only token if supported, monitor/rotate the token periodically, and revoke it immediately if you see unexpected requests. Because the skill can be invoked by the agent, ensure you only grant the token to agents you trust and review audit/network logs for unusual activity.
功能分析
Type: OpenClaw Skill
Name: itick-stock-quote
Version: 1.0.0
The skill bundle provides legitimate functionality for querying global stock market data via the itick.org API. It follows security best practices by instructing the agent to use an environment variable (ITICK_API_TOKEN) for authentication rather than requesting sensitive credentials from the user. No evidence of malicious intent, data exfiltration, or harmful command execution was found in SKILL.md or claw.json.
能力评估
Purpose & Capability
Skill name/description (real-time stock quotes via itick.org) matches the declared requirement for a single ITICK_API_TOKEN and the SKILL.md shows curl calls to api.itick.org endpoints — this is proportionate. Note: the package/source has no homepage or external provenance information in the manifest; you may want to verify the itick.org service before trusting the token.
Instruction Scope
SKILL.md contains explicit curl examples for specific itick.org endpoints and instructs the agent to use the ITICK_API_TOKEN environment variable. It does not instruct reading unrelated files, filesystem paths, or other environment variables, nor does it attempt to exfiltrate data to unexpected endpoints.
Install Mechanism
This is an instruction-only skill with no install spec and no code files; nothing is downloaded or written to disk by the skill itself, which lowers installation risk.
Credentials
Only a single environment variable (ITICK_API_TOKEN) is required and declared as the primary credential. That is appropriate for an API-based stock-quote integration and matches the SKILL.md usage. No unrelated secrets are requested.
Persistence & Privilege
The skill is not always-enabled and has no install scripts or requests to modify other skills or system-wide settings. Model invocation is enabled (the platform default) but that is expected for a usable integration and is not combined with other red flags here.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install itick-stock-quote - 安装完成后,直接呼叫该 Skill 的名称或使用
/itick-stock-quote触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of itick-stock-quote.
- Supports real-time stock quotes and information queries.
- Covers major stock markets including HK, SH, SZ, US, SG, JP, TW, IN, TH, DE, MX, MY, TR, ES, NL, GB.
- Provides endpoints for stock info, IPO events, stock splits, real-time trades, quotes, market depth, and K-line data.
- Access secured by ITICK_API_TOKEN (managed via environment variable).
- Detailed API request and response examples for each feature included in documentation.
元数据
常见问题
itick-stock-quote 是什么?
查询股票实时盘中行情、股票信息等功能。支持HK(港股)、SH(上证)、SZ(深证)、US(美股)、SG(新加坡)、JP(日本)、TW(中国台湾)、IN(印度)、TH(泰国)、DE(德国、MX(墨西哥)、MY(马来西亚)、TR(土耳其)、ES(西班牙)、NL(荷兰)、GB(英国)等,可获取实时报价和深度行情(买卖盘... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 513 次。
如何安装 itick-stock-quote?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install itick-stock-quote」即可一键安装,无需额外配置。
itick-stock-quote 是免费的吗?
是的,itick-stock-quote 完全免费(开源免费),可自由下载、安装和使用。
itick-stock-quote 支持哪些平台?
itick-stock-quote 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 itick-stock-quote?
由 ChnMasterOG(@chnmasterog)开发并维护,当前版本 v1.0.0。
推荐 Skills