Skip to content
Back to skills

Etf Minutes

ASecurity

ETF历史分钟行情。必填 --symbol;可选日期和分页参数。 用户询问ETF历史分钟行情时使用。

  • 65 stars
  • 0 votes
  • 0 copies
  • 7 views
  • Added September 20, 2026
ai-agentspythonbashapi

Works with

  • api

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned November 27, 2026

npx -y skills add FTShare-Lab/FTShare-skill --skill etf-minutes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Etf Minutes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Etf Minutes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ftshare-lab-etf-minutes/badge)](https://www.skillsdirectory.com/skills/ftshare-lab-etf-minutes)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: etf-minutes
description: ETF历史分钟行情。必填 --symbol;可选日期和分页参数。 用户询问ETF历史分钟行情时使用。
---

# ETF历史分钟行情

接口:`GET /api/v2/market/data/etf_minutes`。在线文档:[《ETF历史分钟行情》](https://market.ft.tech/gateway/doc/pages/oj78iq7k.md)

外部接口:`GET /api/v2/market/data/etf_minutes`。

必填 --symbol;可选日期和分页参数。

所有请求必须设置环境变量 `FTSHARE_API_KEY`;handler 将其作为 `FTSHARE_API_KEY` 请求头发送。缺失凭据时不会发起请求。

通过主目录 `run.py` 调用:

```bash
python <RUN_PY> etf-minutes --symbol 510300.SH --since-ts-millis 1787189400000 --until-ts-millis 1787191200000 --limit 5
```

接口返回 JSON;HTTP 错误输出到 stderr 并以非零状态退出。

## 参数

| 参数 | 必填 | 说明 |
|---|---|---|
| `--symbol` | 是 | ETF 标的代码(带交易所后缀,如 `510300.SH`、`159915.SZ`) |
| `--interval-value` | 否 | 分钟周期数值,必须大于 0 的整数;缺省为 `1`(1 分钟 K 线) |
| `--adjust-kind` | 否 | 复权类型:`None`(默认,不复权)/ `Forward`(前复权)/ `Backward`(后复权) |
| `--since-ts-millis` | 是 | 开始时间戳(毫秒);与 until 跨度不超过 30 个北京时间自然日(包含起止日期) |
| `--until-ts-millis` | 是 | 结束时间戳(毫秒) |
| `--limit` | 否 | 返回条数上限(1~1000);不传时返回查询范围内全部记录 |

## 返回

- 记录字段:`open`、`high`、`low`、`close`、`ts_millis`、`ts_millis_open`、`turnover`、`volume`

Files in this skill

  • SKILL.md689 B
  • scripts/handler.py3 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.