market_get_stock_history
Retrieve historical stock K-line data by ticker, including date, open, high, low, close, and volume. Choose daily, weekly, or monthly periods for market analysis.
Instructions
Get historical K-line data for a stock.
Args:
ticker: Stock ticker symbol (e.g., "600519")
period: K-line period - "daily", "weekly", "monthly" (default: "daily")
Returns:
dict: OHLCV data with date, open, high, low, close, volume
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"ticker": "<ticker>"
},
"name": "market_get_stock_history"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | daily | |
| ticker | Yes |