Skip to content
Back to skills

Global Index Daily Kline

ASecurity

获取全球指数(含部分 A 股/港股宽基)的历史日K线,返回 `{total, items}` 结构(非分页,按时间区间一次性返回)。可用参数:--secid、--start_date、--end_date、--limit。接口:GET /api/v1/market/data/global-index/daily-kline。

  • 65 stars
  • 0 votes
  • 0 copies
  • 17 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 global-index-daily-kline --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Global Index Daily Kline?

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

Security grade badge for Global Index Daily Kline
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ftshare-lab-global-index-daily-kline/badge)](https://www.skillsdirectory.com/skills/ftshare-lab-global-index-daily-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: global-index-daily-kline
description: "获取全球指数(含部分 A 股/港股宽基)的历史日K线,返回 `{total, items}` 结构(非分页,按时间区间一次性返回)。可用参数:--secid、--start_date、--end_date、--limit。接口:GET /api/v1/market/data/global-index/daily-kline。"
---

# 全球指数日K线

接口:GET `/api/v1/market/data/global-index/daily-kline`。参数和响应以 [《全球指数日K线》](https://market.ft.tech/gateway/doc/pages/j0twmp6x.md) 为准。

请求必须从环境变量 `FTSHARE_API_KEY` 读取凭据,并通过请求头发送 `FTSHARE_API_KEY` 和 `Content-Type: application/json`;缺少凭据时不会发起请求。

## 参数

| 参数 | 必填 | 说明 |
|---|---|---|
| `--secid` | 是 | 东方财富全球指数编码,如 100.NDX、100.DJIA、100.SPX、100.HSI、100.N225 |
| `--start_date` | 否 | 开始日期 YYYYMMDD(含) |
| `--end_date` | 否 | 结束日期 YYYYMMDD(含) |
| `--limit` | 否 | 返回根数上限,1~5000;不传时无日期区间返回最近 100 根,带日期区间最多返回 5000 根 |

## 返回

- 记录容器:`data.items`
- 分页字段:`total`
- 记录字段:`secid`、`name`、`trade_date`、`open`、`close`、`high`、`low`、`volume`、`amount`、`amplitude`、`change_pct`、`change_amount`、`turnover`

## 调用示例

```bash
python <RUN_PY> global-index-daily-kline --secid 100.DJIA --limit 5
```

Files in this skill

  • SKILL.md687 B
  • scripts/handler.py4.2 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.