Skip to main content
Glama

FinanceMCP

MIT License
603
60
  • Apple
  • Linux

margin_trade

Access margin trading data including target stocks, trade summaries, details, and securities lending information. Retrieve specific data by stock code, date range, or exchange for financial analysis.

Instructions

获取融资融券相关数据,支持多种数据类型:标的股票、交易汇总、交易明细、转融券汇总等

Input Schema

NameRequiredDescriptionDefault
data_typeYes数据类型,可选值:margin_secs(融资融券标的股票)、margin(融资融券交易汇总)、margin_detail(融资融券交易明细)、slb_len_mm(做市借券交易汇总)
end_dateNo结束日期,格式YYYYMMDD,如'20240131'(可选,默认为当前日期)
exchangeNo交易所代码,可选值:SSE(上海证券交易所)、SZSE(深圳证券交易所)、BSE(北京证券交易所),仅margin_secs接口使用
start_dateYes起始日期,格式YYYYMMDD,如'20240101'
ts_codeNo股票代码,如'000001.SZ'、'600000.SH'等(部分接口可选)

Input Schema (JSON Schema)

{ "properties": { "data_type": { "description": "数据类型,可选值:margin_secs(融资融券标的股票)、margin(融资融券交易汇总)、margin_detail(融资融券交易明细)、slb_len_mm(做市借券交易汇总)", "type": "string" }, "end_date": { "description": "结束日期,格式YYYYMMDD,如'20240131'(可选,默认为当前日期)", "type": "string" }, "exchange": { "description": "交易所代码,可选值:SSE(上海证券交易所)、SZSE(深圳证券交易所)、BSE(北京证券交易所),仅margin_secs接口使用", "type": "string" }, "start_date": { "description": "起始日期,格式YYYYMMDD,如'20240101'", "type": "string" }, "ts_code": { "description": "股票代码,如'000001.SZ'、'600000.SH'等(部分接口可选)", "type": "string" } }, "required": [ "data_type", "start_date" ], "type": "object" }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/guangxiangdebizi/FinanceMCP'

If you have feedback or need assistance with the MCP directory API, please join our Discord server