← Back to Skills Marketplace
1266
Downloads
3
Stars
2
Active Installs
5
Versions
Install in OpenClaw
/install ths-advanced-analysis
Description
基于 thsdk 进行高级股票分析:分钟K线(1m/5m/15m/30m/60m/120m)、板块/指数行情(主要指数/申万行业/概念板块成分股)、多股票批量对比(表格+归一化走势图+相关性热力图)、盘口深度、大单流向、集合竞价异动、日内分时、历史分时。当用户提到"分钟K线"、"日内走势"、"盘口"、"大单"、"...
Usage Guidance
这个 skill 在设计上是自洽的:它只是包装/示例如何使用 thsdk 获取并分析同花顺行情数据,不会要求你的私钥或读取系统文件。但在安装和使用前请注意:1) pip install thsdk 会从 PyPI 安装第三方代码——建议先在虚拟环境或隔离容器中安装并查看该 PyPI 项目的作者、源码和版本发布记录;2) 虽然当前示例不需要凭据,高级或付费接口可能需要 API key/账号,安装或启用时留意是否出现新的 credential 要求;3) 允许模型自动调用技能意味着它可以在会话中使用该库进行网络请求——如果你不希望代理在无监督情况下访问网络或批量查询市场数据,请考虑禁用模型自动调用或仅在明确授权下使用。
Capability Analysis
Type: OpenClaw Skill
Name: ths-advanced-analysis
Version: 1.0.4
The skill bundle provides a comprehensive framework for advanced financial market analysis using the 'thsdk' library. The instructions in SKILL.md and the accompanying Python examples (01_minute_kline.py through 05_wencai_nlp.py) are strictly focused on retrieving and processing stock market data, including K-lines, sector rankings, and natural language queries via the 'wencai' interface. There is no evidence of data exfiltration, unauthorized system access, or malicious prompt injection; the code logic is entirely consistent with the stated purpose of quantitative financial research.
Capability Assessment
Purpose & Capability
名称与描述表明这是一个基于同花顺 thsdk 的高级行情/选股/分时/K 线分析工具;SKILL.md 和示例代码都调用 thsdk 提供的相应方法(klines、market_data_*、wencai_nlp、depth 等),没有要求与此目的不符的外部凭据或系统访问。
Instruction Scope
SKILL.md 明确指导通过 thsdk 的 API 获取市场数据并在内存中做分析/可视化。说明与示例仅引用 thsdk API、pandas、正则等处理,不读取系统敏感路径或未经声明的环境变量,也不将数据发送到未说明的外部端点。
Install Mechanism
安装建议是通过 pip install thsdk(指向 PyPI)。这是与该功能相符的常见做法,但安装第三方 PyPI 包有固有风险(包在安装时或导入时可执行任意代码)。建议在隔离环境(虚拟环境/容器)中安装并审查 thsdk 包源码或其维护者信息。
Credentials
声明为游客模式('with THS() as ths: # 游客模式,无需账户配置'),SKILL.md 与示例未要求任何 SECRET/TOKEN/PATH。未见不相称的凭据请求。
Persistence & Privilege
flags 显示 always:false,skill 不会被强制常驻。默认允许模型调用(disable-model-invocation:false)是平台默认行为,且本技能的功能需要网络/API 访问以获取行情数据,属于合理范畴。
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install ths-advanced-analysis - After installation, invoke the skill by name or use
/ths-advanced-analysis - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.4
THS Advanced Analysis 1.0.4
- 文档小幅调整,将 PyPI 与系统要求分行显示,排版更规范。
- 其余内容保持不变,无新增功能或接口变动。
v1.0.3
# v1.0.3 Changelog
- 场景拓展:支持港股、美股、外汇、期货、资讯等关键词自动触发能力
- 新增速查与示例:补充港股、美股、外汇、期货、快讯资讯的快速调用方法
- 文档改进:简化和优化调用示例,明确分栏说明各类行情与数据接口
- 更精细的市场代码说明与常用行情速查表,增加多市场数据覆盖指引
- 丰富板块与指数相关的接口定义和字段说明,便于批量分析与扩展
v1.0.2
ths-advanced-analysis v1.0.2
- 文档细节优化:在安装说明处新增 PyPI 包来源链接。
- 其余无功能变化,未检测到代码文件改动。
v1.0.1
- 更新了安装和认证部分:去除账户和环境变量的详细配置,统一采用游客模式连接,无需账户信息。
- 简化了安装命令说明,将 `--break-system-packages -q` 相关内容去除。
- 精简「第一步:股票代码解析」部分,不再介绍 `query_securities` 用法,仅保留 `search_symbols`。
- 明确所有调用皆为游客模式,操作更为简便。
- 其他功能、API 用法和速查表未作调整。
v1.0.0
THS Advanced Analysis Skill v1.0.0
- Initial release with advanced stock analysis features built on top of thsdk.
- Supports multi-interval minute K-line (1m/5m/15m/30m/60m/120m) and daily/historical intraday data.
- Provides access to stock, sector, and index data (major indices, SW industries, concept block constituents).
- Enables multi-stock batch comparison: tables, normalized charts, and correlation heatmaps.
- Includes detailed market depth, big order flow, call auction anomaly detection, and IPO info.
- Comprehensive code parsing, authentication, and scenario-based usage guide included in documentation.
Metadata
Frequently Asked Questions
What is 同花顺股票接口?
基于 thsdk 进行高级股票分析:分钟K线(1m/5m/15m/30m/60m/120m)、板块/指数行情(主要指数/申万行业/概念板块成分股)、多股票批量对比(表格+归一化走势图+相关性热力图)、盘口深度、大单流向、集合竞价异动、日内分时、历史分时。当用户提到"分钟K线"、"日内走势"、"盘口"、"大单"、"... It is an AI Agent Skill for Claude Code / OpenClaw, with 1266 downloads so far.
How do I install 同花顺股票接口?
Run "/install ths-advanced-analysis" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is 同花顺股票接口 free?
Yes, 同花顺股票接口 is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does 同花顺股票接口 support?
同花顺股票接口 is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created 同花顺股票接口?
It is built and maintained by bensema (@bensema); the current version is v1.0.4.
More Skills