ftshare-market-data
SolidFTShare 市场数据技能集。根据用户对股票、ETF、指数、基金、可转债、期货、港股、美股、资金流、财务数据或宏观数据的查询意图,匹配并执行对应子 skill。
Data & Documents 63 stars
13 forks Updated today MIT
Install
Quality Score: 85/100
Stars 20%
Recency 20%
Frontmatter 20%
Documentation 15%
Issue Health 10%
License 10%
Description 5%
Skill Content
# FTShare Market Data Skills
本 skill 是统一路由入口。子 skill 位于 `sub-skills/`,由同目录的 `run.py` 动态发现和执行。
## 调用
```bash
python <RUN_PY> <子skill名> [参数...]
```
`<RUN_PY>` 是本文件同级的 `run.py` 绝对路径。不带参数运行会列出当前可用子 skill。
## 认证与请求约束
- 所有请求必须提供 `FTSHARE_API_KEY` 环境变量。
- handler 将其作为 `FTSHARE_API_KEY` 请求头发送,并设置 `Content-Type: application/json`。
- 未设置凭据时,handler 在发起请求前以非零状态退出。
- 默认基础地址为 `https://market.ft.tech/gateway`,可通过 `FTSHARE_BASE_URL` 覆盖。
- 请求使用各子 skill 文档声明的 `/api/v1`、`/api/v2`、`/api/v3` 或 `/api/v4` 路由;handler 会限制请求 scheme 和 host 与基础地址一致。
## 常用示例
```bash
python <RUN_PY> stock-description-all --symbol-id 600000.SH --page 1 --page-size 1
python <RUN_PY> stock-realtime-minute-kline --symbols 600519.SH 000001.SZ
python <RUN_PY> stock-minutes --symbol 600519.SH --since-ts-millis 1787189400000 --until-ts-millis 1787191200000
python <RUN_PY> etf-realtime-day-kline --symbols 510300.SH
python <RUN_PY> index-minutes --symbol 000300.SH --since-ts-millis 1787189400000 --until-ts-millis 1787191200000
python <RUN_PY> stock-reports --stock-code 600036.SH --page 1 --page-size 20
python <RUN_PY> stock-announcements --stock-code 600000 --page 1 --page-size 20
python <RUN_PY> stock-candlesticks-batch --symbols 600519.SH,510300.SH --interval-unit Day --since-ts-millis 1787000000000 --until-ts-millis 1787191200000
python <RUN_PY> etf-candlesticks-batch --symbols 510300.XSHG,159915.XSHE --interval-unit Day --since-ts-millis 1787000000000 --until-ts-millis 1787191200000
python <RUN_PY> index-candlesticks-b...
Details
- Author
- FTShare-Lab
- Repository
- FTShare-Lab/FTShare-skill
- Created
- 2 months ago
- Last Updated
- today
- Language
- Python
- License
- MIT
Similar Skills
Semantically similar based on skill content — not just same category
Data & Documents Listed
a-share-data
查询A股实时行情、历史数据、技术指标、事件、资金面、热门行业/概念、板块热力图与个股行业信息。Use when 用户提到股票代码、板块、热门概念、热门行业、概念涨跌、行业涨跌、热力图、市场快讯、技术分析、财务指标、指数成分、交易日历、宏观数据或个股所属行业。
0 Updated 2 weeks ago
Serennity007 Data & Documents Listed
a-share-data
Use when the user needs to fetch Chinese A-share market data, K-lines, financial indicators, cash flow, announcements, or news evidence from public data sources for stock/investment research.
0 Updated 2 days ago
Yaphet2015 Data & Documents Listed
cn-finance-data
通过 Tushare Pro 获取中国金融市场数据,覆盖 A 股、港股、美股、基金、期货、债券等 220+ 个数据接口,可查询股票行情、财务报表、指数成分、GDP/CPI 等宏观经济指标。当用户请求金融数据查询、股票历史行情、财务指标分析、宏观数据获取,或提及 Tushare、数据接口、量化数据源等关键词时触发。
6 Updated 1 months ago
serejaris