Delegate independent tasks to specialized agents working concurrently with isolated context.
获取融资融券明细
非凸科技金融数据技能集。覆盖 A 股股票列表、行情、IPO、大宗交易、融资融券、单股行情估值、可转债、ETF、基金、指数(含分页指数描述、下载描述 PDF、权重汇总/成份明细、下载权重 xlsx、详情/K 线/分时)、宏观经济,以及港股公司介绍/估值分析/基础视图/K线等接口
SKILL.md
Full skill instructions
获取融资融券明细
接口说明
| 项目 | 说明 |
|---|---|
| 接口名称 | 获取融资融券明细 |
| 外部接口 | /data/api/v1/market/data/margin-trading-details |
| 请求方式 | GET / POST |
| 适用场景 | 获取 A 股融资融券明细列表,按融资净买入额降序排列,支持分页查询 |
请求参数
| 参数名 | 类型 | 是否必填 | 描述 | 取值示例 | 备注 |
|---|---|---|---|---|---|
page | int | 是 | 页码,从 1 开始 | 1 | 必须大于等于 1 |
page_size | int | 是 | 每页记录数 | 20 | 必须大于等于 1,建议不超过 100 |
执行方式
通过根目录的 run.py 调用(推荐):
# 获取第 1 页,每页 20 条
python <RUN_PY> margin-trading-details --page 1 --page_size 20
# 指定分页参数
python <RUN_PY> margin-trading-details --page 2 --page_size 50
# 自动翻页获取全量数据
python <RUN_PY> margin-trading-details --all
<RUN_PY>为主SKILL.md同级的run.py绝对路径,参见主 SKILL.md 的「调用方式」说明。
响应结构
{
"items": [
{
"date": "2026-03-09",
"margin_trading_balance": 2440891073,
"margin_trading_buying_amount": 1423221922,
"margin_trading_repayment_amount": 874371294,
"securities_lending_balance_volume": 409500,
"securities_lending_repayment_volume": 25800,
"securities_lending_selling_volume": 34500,
"total_balance": 2453438153,
"symbol": "600989.SH",
"symbol_name": "宝丰能源"
}
],
"total_pages": 99,
"total_items": 1970
}
顶层字段说明
| 字段名 | 类型 | 是否可为空 | 说明 |
|---|---|---|---|
items | Array | 否 | 当前页融资融券明细列表 |
total_pages | int | 否 | 总页数 |
total_items | int | 否 | 总记录数(未分页前) |
items 元素字段说明(MarginTradingDetail)
| 字段名 | 类型 | 是否可为空 | 说明 | 单位 |
|---|---|---|---|---|
date | String | 否 | 交易日期,格式 YYYY-MM-DD | - |
margin_trading_balance | int | 否 | 融资余额 | 元 |
margin_trading_buying_amount | int | 否 | 融资买入额 | 元 |
margin_trading_repayment_amount | int | 否 | 融资偿还额 | 元 |
securities_lending_balance_volume | int | 否 | 融券余量 | 股 |
securities_lending_repayment_volume | int | 否 | 融券偿还量 | 股 |
securities_lending_selling_volume | int | 否 | 融券卖出量 | 股 |
total_balance | int | 否 | 融资融券余额 | 元 |
symbol | String | 否 | 标的代码,带市场后缀 | - |
symbol_name | String | 否 | 标的名称 | - |
注意事项
page和page_size为必填项- 返回结果已按融资净买入额(
margin_trading_buying_amount - margin_trading_repayment_amount)降序排列,无需客户端再排序 - 如需全量数据,使用
--all参数自动翻页合并,或按page递增循环至total_pages - 金额字段单位为元,展示时可按需转换为万元或亿元
More Other skills
brand-guidelines
Applies Anthropic's official brand colors and typography to any sort of artifact that may benefit from having Anthropic's look-and-feel. Use it when brand colors or style guidelines, visual formatting, or company design standards apply.
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with colors/fonts that you can apply to any artifact that has been creating, or can generate a new theme on-the-fly.
internal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).
Fundamental design principles for writing maintainable, testable Python code.
responsive-design
Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.
Generate Playwright tests from scenarios using interactive browser exploration and validation.
Automated website exploration and test case generation using Playwright.
Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.
gdpr-data-handling
GDPR-compliant data handling with consent management, data subject rights, and privacy controls.
Python error handling patterns including input validation, exception hierarchies, and partial failure handling. Use when implementing validation logic, designing exception strategies, handling batch processing failures, or building robust APIs.
refactor-plan
Detailed multi-file refactor planning with safety checks and rollback guidance.
