Skip to content
Back to skills

Nth Trade Date

ASecurity

查询第 N 个交易日。Use when user asks for 前 N 个交易日、某日期对应的第 N 个交易日或交易日倒推。

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

Works with

  • api

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned September 20, 2026

npx -y skills add FTShare-Lab/FTShare-skill --skill nth-trade-date --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Nth Trade Date?

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

Security grade badge for Nth Trade Date
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ftshare-lab-nth-trade-date/badge)](https://www.skillsdirectory.com/skills/ftshare-lab-nth-trade-date)

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: nth-trade-date
description: 查询第 N 个交易日。Use when user asks for 前 N 个交易日、某日期对应的第 N 个交易日或交易日倒推。
---

# 第 N 个交易日

接口:`GET /api/v1/market/data/time/get-nth-trade-date`。按服务端当前日期向前计算第 N 个交易日。

```bash
python <RUN_PY> nth-trade-date --n 5
```

- `--n`:必填整数,必须大于等于 1。

响应为 `code/message/data` 信封,`data` 包括 `current_date`、`nth_trade_date`(均为 `YYYY-MM-DD`)和请求的 `n`。

Files in this skill

  • SKILL.md545 B
  • scripts/handler.py1.8 KB
  • scripts/test_handler.py1011 B

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.

Comments

Loading comments…