Skip to content
Back to skills

Daec History Prices

ASecurity

查询指定标的的 1 分钟分时数据(价格、均价、成交量、成交额)。可用参数:--symbol、--range、--days、--ts_ms。接口:GET /api/v4/market/data/daec/history/prices。

  • 65 stars
  • 0 votes
  • 0 copies
  • 2 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 daec-history-prices --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Daec History Prices?

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

Security grade badge for Daec History Prices
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ftshare-lab-daec-history-prices/badge)](https://www.skillsdirectory.com/skills/ftshare-lab-daec-history-prices)

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: daec-history-prices
description: "查询指定标的的 1 分钟分时数据(价格、均价、成交量、成交额)。可用参数:--symbol、--range、--days、--ts_ms。接口:GET /api/v4/market/data/daec/history/prices。"
---

# 标的分时数据

接口:GET `/api/v4/market/data/daec/history/prices`。参数和响应以 [《标的分时数据》](https://market.ft.tech/gateway/doc/pages/2fc0d5ut.md) 为准。

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

## 参数

| 参数 | 必填 | 说明 |
|---|---|---|
| `--symbol` | 是 | 标的代码,如 `600000.XSHG` |
| `--range` | 否 | 预置时间区间:`Today`(当日)/ `FiveDays`(近 5 日,默认) |
| `--days` | 否 | 近 N 个交易日至今,如 `10`;与 `range` / `ts_ms` 互斥 |
| `--ts_ms` | 否 | 起始毫秒时间戳,如 `1779931980000`;与 `range` / `days` 互斥 |

## 返回

- 记录字段:`ts_ms`、`price`、`avg_price`、`volume`、`turnover`

## 调用示例

```bash
python <RUN_PY> daec-history-prices --symbol 600519.SH
```

Files in this skill

  • SKILL.md618 B
  • scripts/handler.py3.1 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.