Skip to content
Back to skills

Daec Market Snapshot

ASecurity

查询全市场或单个交易所的行情快照,返回市场状态、涨跌幅、成交量、成交额,以及按涨跌幅区间统计的涨跌分布(9 档)。可用参数:--scope。接口:GET /api/v1/market/data/daec/market/snapshot。

  • 65 stars
  • 0 votes
  • 0 copies
  • 5 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-market-snapshot --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Daec Market Snapshot?

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

Security grade badge for Daec Market Snapshot
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ftshare-lab-daec-market-snapshot/badge)](https://www.skillsdirectory.com/skills/ftshare-lab-daec-market-snapshot)

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-market-snapshot
description: "查询全市场或单个交易所的行情快照,返回市场状态、涨跌幅、成交量、成交额,以及按涨跌幅区间统计的涨跌分布(9 档)。可用参数:--scope。接口:GET /api/v1/market/data/daec/market/snapshot。"
---

# 市场行情快照

接口:GET `/api/v1/market/data/daec/market/snapshot`。参数和响应以 [《市场行情快照》](https://market.ft.tech/gateway/doc/pages/6fn39pnw.md) 为准。

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

## 参数

| 参数 | 必填 | 说明 |
|---|---|---|
| `--scope` | 否 | 市场范围:`ChinaStock`(默认)/ `Xshg` / `Xshe` / `Bjse` |

## 返回

- 记录字段:`status`、`change_rate`、`volume`、`turnover`、`prev_turnover`、`distribution`、`up_limited`、`up_5pct_to_limited`、`up_1pct_to_5pct`、`up_0pct_to_1pct`、`flat`、`down_0pct_to_1pct`、`down_1pct_to_5pct`、`down_5pct_to_limited`、`down_limited`

## 调用示例

```bash
python <RUN_PY> daec-market-snapshot
```

Files in this skill

  • SKILL.md603 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.