← Back to Skills Marketplace
shawn92

Skills of HK-share data released by ft.tech.

by Shawn92 · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
174
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install ftshare-hk-data
Description
港股数据技能集(market.ft.tech)。覆盖公司介绍、分页估值分析(PE/PB/PS/股息率)、单票基础视图(板块/上市状态/市值/股本)、日/月/季/年 K 线(历史k线,T日18点更新当日数据)(前复权/不复权)。用户询问港股公司简介、港股估值、市盈率市净率、港股基础信息、市值总股本、港股 K 线/日...
README (SKILL.md)

FT 港股数据 Skills

本 skill 是 FTShare-hk-data统一路由入口

根据用户问题,从下方「能力总览」或「询问方式与子 skill 对应表」匹配对应子 skill,然后通过 run.py 执行并解析响应。

所有接口均以 https://market.ft.tech 为基础域名,本技能集子 skill 无需额外请求头。

时区与交易日历

港股交易时间遵循 港交所交易日历(UTC+8 / 东八区)

  • 所有 YYYYMMDD / YYYY-MM-DD 日期字段均为东八区交易日。
  • update_time(如 20260324120000)等时间戳字段也基于东八区。
  • 调用方传入日期时无需手动转时区——接口本身按东八区解释。
  • 若 Agent 所在系统时区非东八区,在计算「今天」「昨天」等相对日期时,应先转为东八区日期再传参。

调用方式(唯一规则)

run.py 与本文件(SKILL.md)位于同一目录。执行时:

  1. 取本文件的绝对路径,将末尾 /SKILL.md 替换为 /run.py,得到 \x3CRUN_PY>
  2. 调用:python \x3CRUN_PY> \x3C子skill名> [参数...]
# 示例(\x3CRUN_PY> 为实际绝对路径)
python \x3CRUN_PY> company-hk --trade_code 00700.HK
python \x3CRUN_PY> hk-valuatnanalyd --trade_code 00700.HK --page 1 --page_size 20
python \x3CRUN_PY> hk-valuatnanalyd --page 1 --page_size 20
python \x3CRUN_PY> hk-view --hk_code 00700.HK
python \x3CRUN_PY> hk-candlesticks --trade-code 00700.HK --interval-unit day --until-date 2026-03-24 --since-date 2026-03-01 --limit 20

run.py 内部通过 __file__ 自定位,无论安装在何处都能正确找到各子 skill 的脚本。


港股 — 询问方式与子 skill 对应表

询问方式(用户常说的词) 子 skill
港股公司简介港股公司介绍00700 公司信息腾讯控股 港股 介绍、成立日期、注册资本、法人代表、主营业务 company-hk
港股估值估值分析市盈率/市净率/市销率股息率港股全市场估值分页、PE TTM、PB、换手率 hk-valuatnanalyd
港股基础视图港股一览单票市值/总股本主板/上市状态关联 A 股代码(与历史分页估值区分,要「当前视图」) hk-view
港股 K 线港股日线/月线/季线/年线00700 历史行情、OHLC、前复权港股 hk-candlesticks

能力总览

子 skill 说明
company-hk trade_code(如 00700.HK)查询港股公司介绍
hk-valuatnanalyd 分页查询港股估值分析;可选 trade_code 过滤单票,不传为全市场
hk-view hk_code 查询单票基础视图(板块、上市状态、股本、市值、估值指标)
hk-candlesticks trade_code 查询日/月/季/年 K 线;until_date 必填,since_date 可选

子 skill 文档

各子目录内另有 SKILL.md,含接口路径、参数与响应字段说明;执行时以本目录 run.py 为准。

Usage Guidance
This skill appears to do exactly what it says: call market.ft.tech APIs for Hong Kong stock data and print JSON. It requires no credentials and its handlers include a strict check that outbound requests go only to market.ft.tech. If you plan to run it, review the included Python files (they are short and readable) and only run in environments where executing small, networked Python scripts is acceptable. If you do not trust the unknown publisher, avoid executing the scripts or run them in an isolated environment.
Capability Analysis
Type: OpenClaw Skill Name: ftshare-hk-data Version: 1.0.0 The skill bundle provides a legitimate interface for querying Hong Kong stock market data from the domain market.ft.tech. It features a central dispatcher (run.py) that executes sub-skill handlers (e.g., company-hk, hk-candlesticks) using runpy. The code includes proactive security measures, such as a safe_urlopen function in each handler that restricts network requests to the authorized HTTPS domain and a path-traversal check in the dispatcher to ensure only local sub-skill scripts are executed. No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description match the implemented handlers. All network calls target market.ft.tech endpoints that align with the documented data (company info, valuations, views, candlesticks). There are no unrelated credentials, binaries, or config paths requested.
Instruction Scope
SKILL.md and sub-skill docs instruct running local handler scripts which only build GET requests to market.ft.tech. Handlers do not read environment variables, arbitrary files, or send data to other domains. Date/time handling is local and scoped to request parameters.
Install Mechanism
No install spec (lower risk). The package includes Python scripts that will be executed locally by run.py; this is expected for an instruction/code skill. Review source files before running if you do not trust the publisher.
Credentials
No environment variables, credentials, or config paths are requested. Handlers perform unauthenticated HTTPS GETs to the documented domain only.
Persistence & Privilege
Skill is not forced-always, and does not alter other skills or system configurations. It can be invoked by the agent (default), which is normal and not combined with other concerning privileges.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install ftshare-hk-data
  3. After installation, invoke the skill by name or use /ftshare-hk-data
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
更新港股基础信息和历史k线
Metadata
Slug ftshare-hk-data
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Skills of HK-share data released by ft.tech.?

港股数据技能集(market.ft.tech)。覆盖公司介绍、分页估值分析(PE/PB/PS/股息率)、单票基础视图(板块/上市状态/市值/股本)、日/月/季/年 K 线(历史k线,T日18点更新当日数据)(前复权/不复权)。用户询问港股公司简介、港股估值、市盈率市净率、港股基础信息、市值总股本、港股 K 线/日... It is an AI Agent Skill for Claude Code / OpenClaw, with 174 downloads so far.

How do I install Skills of HK-share data released by ft.tech.?

Run "/install ftshare-hk-data" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Skills of HK-share data released by ft.tech. free?

Yes, Skills of HK-share data released by ft.tech. is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Skills of HK-share data released by ft.tech. support?

Skills of HK-share data released by ft.tech. is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Skills of HK-share data released by ft.tech.?

It is built and maintained by Shawn92 (@shawn92); the current version is v1.0.0.

💬 Comments