Back to skills
SKILL.md
Nth Trade Date
ASecurity查询第 N 个交易日。Use when user asks for 前 N 个交易日、某日期对应的第 N 个交易日或交易日倒推。
- 65 stars
- 0 votes
- 0 copies
- 0 views
- Added September 20, 2026
Works with
Security analysis
100/100Pro scans all 3 files and shows the line behind each finding
npx -y skills add FTShare-Lab/FTShare-skill --skill nth-trade-date --agent claude-codeAre you the author of Nth Trade Date?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/ftshare-lab-nth-trade-date)---
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.md
- scripts/handler.py
- scripts/test_handler.py
Attribution
Comments
Loading comments…