Skip to main content
Glama

A Share MCP

MIT License
178

get_adjust_factor_data

Retrieve adjustment factor data for a specified stock code and date range using Baostock's algorithm. This tool helps calculate adjusted prices for accurate historical stock analysis.

Instructions

Fetches adjustment factor data for a given stock code and date range. Uses Baostock's "涨跌幅复权算法" factors. Useful for calculating adjusted prices. Args: code: The stock code in Baostock format (e.g., 'sh.600000', 'sz.000001'). start_date: Start date in 'YYYY-MM-DD' format. end_date: End date in 'YYYY-MM-DD' format. Returns: A Markdown formatted string containing the adjustment factor data table, or an error message.

Input Schema

NameRequiredDescriptionDefault
codeYes
end_dateYes
start_dateYes

Input Schema (JSON Schema)

{ "properties": { "code": { "title": "Code", "type": "string" }, "end_date": { "title": "End Date", "type": "string" }, "start_date": { "title": "Start Date", "type": "string" } }, "required": [ "code", "start_date", "end_date" ], "title": "get_adjust_factor_dataArguments", "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/24mlight/a_share_mcp_is_just_I_need'

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