Skip to main content
Glama

akshare-one-mcp

get_hist_data

Retrieve historical stock market data for A, B, or H shares, with customizable intervals, date ranges, adjustments, and technical indicators.

Instructions

Get historical stock market data. 'eastmoney_direct' support all A,B,H shares

Input Schema

NameRequiredDescriptionDefault
adjustNoAdjustment typenone
end_dateNoEnd date in YYYY-MM-DD format2030-12-31
indicators_listNoTechnical indicators to add
intervalNoTime intervalday
interval_multiplierNoInterval multiplier
recent_nNoNumber of most recent records to return
sourceNoData sourceeastmoney
start_dateNoStart date in YYYY-MM-DD format1970-01-01
symbolYesStock symbol/ticker (e.g. '000001')

Input Schema (JSON Schema)

{ "properties": { "adjust": { "default": "none", "description": "Adjustment type", "enum": [ "none", "qfq", "hfq" ], "title": "Adjust", "type": "string" }, "end_date": { "default": "2030-12-31", "description": "End date in YYYY-MM-DD format", "title": "End Date", "type": "string" }, "indicators_list": { "anyOf": [ { "items": { "enum": [ "SMA", "EMA", "RSI", "MACD", "BOLL", "STOCH", "ATR", "CCI", "ADX", "WILLR", "AD", "ADOSC", "OBV", "MOM", "SAR", "TSF", "APO", "AROON", "AROONOSC", "BOP", "CMO", "DX", "MFI", "MINUS_DI", "MINUS_DM", "PLUS_DI", "PLUS_DM", "PPO", "ROC", "ROCP", "ROCR", "ROCR100", "TRIX", "ULTOSC" ], "type": "string" }, "type": "array" }, { "type": "null" } ], "default": null, "description": "Technical indicators to add", "title": "Indicators List" }, "interval": { "default": "day", "description": "Time interval", "enum": [ "minute", "hour", "day", "week", "month", "year" ], "title": "Interval", "type": "string" }, "interval_multiplier": { "default": 1, "description": "Interval multiplier", "minimum": 1, "title": "Interval Multiplier", "type": "integer" }, "recent_n": { "anyOf": [ { "minimum": 1, "type": "integer" }, { "type": "null" } ], "default": 100, "description": "Number of most recent records to return", "title": "Recent N" }, "source": { "default": "eastmoney", "description": "Data source", "enum": [ "eastmoney", "eastmoney_direct", "sina" ], "title": "Source", "type": "string" }, "start_date": { "default": "1970-01-01", "description": "Start date in YYYY-MM-DD format", "title": "Start Date", "type": "string" }, "symbol": { "description": "Stock symbol/ticker (e.g. '000001')", "title": "Symbol", "type": "string" } }, "required": [ "symbol" ], "type": "object" }

Other Tools from akshare-one-mcp

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/zwldarren/akshare-one-mcp'

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