Skip to main content
Glama

A-Share MCP Server

MIT License
328

get_adjust_factor_data

Retrieve adjustment factor data for specified stock codes and date ranges to calculate adjusted prices using Baostock's algorithm. Input stock code, start date, and end date for accurate results.

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