agentsclimarketplace

Company hk

Skill FTShare-Lab/FTShare-skills/ftshare-market-data/sub-skills/company-hk

按港股交易代码查询公司介绍(market.ft.tech)。用户问港股公司简介、公司介绍、公司名称、成立日期、注册资本、法人代表、主营业务、员工人数、公司网址、企业类型、腾讯公司介绍、00700 公司信息时使用。参数 trade_code 须带后缀如 00700.HK。From its SKILL.md

Install
npx -y skills add FTShare-Lab/FTShare-skills --skill company-hk

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

2 things to look at

  • runs commandsInstructs the agent to run 2 commands, including `python <RUN_PY> company-hk --trade_code 00700.HK` and 1 more.
  • fetches URLsInstructs the agent to fetch 1 URL, including /api/v1/market/data/hk/company-hk?trade_code=00700.HK.

SKILL.md

2.4 KB, 672 tokens by cl100k_base, as published. Nobody here has run it

查询港股公司介绍(company-hk)

1. 接口描述

项目说明
接口名称查询港股公司介绍
外部接口/api/v1/market/data/hk/company-hk
请求方式GET
适用场景按港股交易代码查询该公司介绍,含公司名称、成立日期、注册资本、法人代表、公司简介、主营业务等

2. 请求参数

参数名类型是否必填描述取值示例备注
trade_codestring港股交易代码00700.HK带市场后缀,如 00700.HK

3. 响应说明

返回值为港股公司介绍对象(CompanyHkResponse),主要字段如下:

字段名类型说明
security_nameString证券简称
trade_codeString交易代码
company_nameString公司名称
company_name_enString公司英文名称
reg_dateint成立日期,YYYYMMDD 整数(如 19991123),东八区
business_statusString经营状态
reg_moneyString注册资本(元)
currencyidint币种 ID
currencyString币种
legalString法人代表
reg_addressString注册地址
office_addressString办公地址
company_profString公司简介
business_mainString主营业务
staff_numint员工人数
websiteString公司网址
phoneString公司电话
faxString公司传真
enterprise_typeString企业类型

4. 调用方式

本 handler 与上级 FTShare-hk-data/run.py 配合使用:

python <RUN_PY> company-hk --trade_code 00700.HK

其中 <RUN_PY>FTShare-hk-data/run.py 的绝对路径。

直接执行 handler(调试)

python scripts/handler.py --trade_code 00700.HK

(需在 sub-skills/company-hk 目录下执行,或传入脚本完整路径。)

5. 请求示例

GET /api/v1/market/data/hk/company-hk?trade_code=00700.HK

What ships with it: 1 file

1.7 KB alongside SKILL.md, 1 of them executable

scripts/

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.