Skip to content
获取融资融券明细 logo

获取融资融券明细

非凸科技金融数据技能集。覆盖 A 股股票列表、行情、IPO、大宗交易、融资融券、单股行情估值、可转债、ETF、基金、指数(含分页指数描述、下载描述 PDF、权重汇总/成份明细、下载权重 xlsx、详情/K 线/分时)、宏观经济,以及港股公司介绍/估值分析/基础视图/K线等接口

SKILL.md

Full skill instructions

获取融资融券明细

接口说明

项目说明
接口名称获取融资融券明细
外部接口/​data/​api/​v1/​market/​data/​margin-trading-details
请求方式GET / POST
适用场景获取 A 股融资融券明细列表,按融资净买入额降序排列,支持分页查询

请求参数

参数名类型是否必填描述取值示例备注
pageint是页码,从 1 开始1必须大于等于 1
page_sizeint是每页记录数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
}

顶层字段说明

字段名类型是否可为空说明
itemsArray否当前页融资融券明细列表
total_pagesint否总页数
total_itemsint否总记录数(未分页前)

items 元素字段说明(MarginTradingDetail)

字段名类型是否可为空说明单位
dateString否交易日期,格式 YYYY-MM-DD-
margin_trading_balanceint否融资余额元
margin_trading_buying_amountint否融资买入额元
margin_trading_repayment_amountint否融资偿还额元
securities_lending_balance_volumeint否融券余量股
securities_lending_repayment_volumeint否融券偿还量股
securities_lending_selling_volumeint否融券卖出量股
total_balanceint否融资融券余额元
symbolString否标的代码,带市场后缀-
symbol_nameString否标的名称-

注意事项

  • page 和 page_size 为必填项
  • 返回结果已按融资净买入额(margin_trading_buying_amount - margin_trading_repayment_amount)降序排列,无需客户端再排序
  • 如需全量数据,使用 --all 参数自动翻页合并,或按 page 递增循环至 total_pages
  • 金额字段单位为元,展示时可按需转换为万元或亿元

More Other skills

Delegate independent tasks to specialized agents working concurrently with isolated context.

295.4K 206.3K
View

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.

179.7K 100.1K
View

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.

179.7K 89.5K
View

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.).

179.7K 76.1K
View

Fundamental design principles for writing maintainable, testable Python code.

40.2K 21.9K
View

Modern responsive layouts using container queries, fluid typography, CSS Grid, and mobile-first strategies.

40.2K 20K
View

Generate Playwright tests from scenarios using interactive browser exploration and validation.

39.7K 18.2K
View

Modern React state management with Redux Toolkit, Zustand, Jotai, and React Query for every state category.

40.2K 14.7K
View

GDPR-compliant data handling with consent management, data subject rights, and privacy controls.

40.2K 14.3K
View

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.

40.2K 13.5K
View

Detailed multi-file refactor planning with safety checks and rollback guidance.

39.7K 13K
View