Skip to main content
Glama

FinanceMCP

MIT License
10
10
  • Apple
  • Linux

stock_data

Retrieve historical stock market data such as open, high, low, close, and volume for specified tickers and date ranges. Input stock code, start and end dates, and desired fields to access accurate financial insights.

Instructions

获取指定股票的历史行情数据

Input Schema

NameRequiredDescriptionDefault
codeYes股票代码,如'000001.SZ'表示平安银行
end_dateNo结束日期,格式为YYYYMMDD,如'20230131'
fieldsNo需要的字段,可选值包括:open,high,low,close,vol等,多个字段用逗号分隔
start_dateNo起始日期,格式为YYYYMMDD,如'20230101'

Input Schema (JSON Schema)

{ "properties": { "code": { "description": "股票代码,如'000001.SZ'表示平安银行", "type": "string" }, "end_date": { "description": "结束日期,格式为YYYYMMDD,如'20230131'", "type": "string" }, "fields": { "description": "需要的字段,可选值包括:open,high,low,close,vol等,多个字段用逗号分隔", "type": "string" }, "start_date": { "description": "起始日期,格式为YYYYMMDD,如'20230101'", "type": "string" } }, "required": [ "code" ], "type": "object" }

You must be authenticated.

Other Tools from FinanceMCP

Related Tools

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