Skip to content
Back to skills

Index Realtime Day Kline

ASecurity

查询指数当前交易日实时日 K 线。必填 --symbols,按空格分隔。接口:GET /api/v4/market/data/index-realtime-day-kline。

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

Works with

  • cli
  • 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 index-realtime-day-kline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Index Realtime Day Kline?

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

Security grade badge for Index Realtime Day Kline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ftshare-lab-index-realtime-day-kline/badge)](https://www.skillsdirectory.com/skills/ftshare-lab-index-realtime-day-kline)

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: index-realtime-day-kline
description: 查询指数当前交易日实时日 K 线。必填 --symbols,按空格分隔。接口:GET /api/v4/market/data/index-realtime-day-kline。
---

# 指数实时日K线

接口:`GET /api/v4/market/data/index-realtime-day-kline`。在线文档:[《指数实时日K线》](https://market.ft.tech/gateway/doc/pages/g4mvoo8c.md)

查询指数当前交易日实时日 K 线。必填 `--symbols`,CLI 按空格分隔;接口侧以逗号分隔发送(如 `000300.CSI,000905.CSI`),也兼容旧的 JSON 字符串数组格式,支持 `.SH`/`.XSHG`、`.SZ`/`.XSHE`、`.BJ`/`.BJSE`、`.CSI` 后缀和可推断市场的六码裸代码。接口:GET /api/v4/market/data/index-realtime-day-kline。

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

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

```bash
python <RUN_PY> index-realtime-day-kline --symbols 000300.CSI 000905.CSI
```

## 参数

| 参数 | 必填 | 说明 |
|---|---|---|
| `--symbols` | 是 | 逗号分隔的指数代码列表,如 `000300.CSI,000905.CSI`;也兼容 JSON 字符串数组格式;支持带交易所后缀和可推断市场的六码裸代码 |

## 返回

- 返回:`data` 为记录数组(无外层容器,直接遍历)
- 分页字段:`total`
- 记录字段:`symbol`、`open`、`high`、`low`、`close`、`ts_millis`、`ts_millis_open`、`turnover`、`volume`

Files in this skill

  • SKILL.md664 B
  • scripts/handler.py2.3 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.