FinanceMCP

MIT License
22
2
  • 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

    ID: 3y1j0fp0tm