cn_market
A-share and HK stock data via AKShare: OHLCV history, current price, symbol search, index daily data.
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": {
"action": "<action>"
},
"name": "cn_market"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Calendar days of history (default 365) | |
| action | Yes | ||
| adjust | No | Price adjustment: empty=none, qfq=forward, hfq=backward | |
| market | No | Market: a=A-share (default), hk=Hong Kong | |
| period | No | Period (default: daily) | |
| symbol | No | A-share code (000001), HK code (00700), index (sh000001) |