Skip to content
Back to skills

Daec Prev Closes

ASecurity

查询指定标的在一段日期区间内每个交易日的昨收价(前收盘价)。可用参数:--symbol、--since、--until。接口:GET /api/v1/market/data/daec/history/prev-closes。

  • 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-prev-closes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Daec Prev Closes?

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

Security grade badge for Daec Prev Closes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ftshare-lab-daec-prev-closes/badge)](https://www.skillsdirectory.com/skills/ftshare-lab-daec-prev-closes)

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-prev-closes
description: "查询指定标的在一段日期区间内每个交易日的昨收价(前收盘价)。可用参数:--symbol、--since、--until。接口:GET /api/v1/market/data/daec/history/prev-closes。"
---

# 标的昨收价

接口:GET `/api/v1/market/data/daec/history/prev-closes`。参数和响应以 [《标的昨收价》](https://market.ft.tech/gateway/doc/pages/0tati78l.md) 为准。

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

## 参数

| 参数 | 必填 | 说明 |
|---|---|---|
| `--symbol` | 是 | 标的代码,如 `600000.XSHG` |
| `--since` | 是 | 起始日期 `YYYYMMDD`,如 `20240501` |
| `--until` | 是 | 结束日期 `YYYYMMDD`,如 `20240531` |

## 返回

- 记录字段:`date`、`prev_close`

## 调用示例

```bash
python <RUN_PY> daec-prev-closes --symbol 600000.XSHG --since 20240501 --until 20240531
```

Files in this skill

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