Get Valuation
get_valuationGet daily valuation history: PE (TTM and static), PB, PEG, price/cash, price/sales, share counts and market cap.
Instructions
Get daily valuation history: PE (TTM and static), PB, PEG, price/cash, price/sales, share counts and market cap.
The upstream is Eastmoney's per-stock valuation series, called through akshare rather than akshare-one: akshare-one has no valuation domain yet, so there is no ako.get_valuation to route through and nothing in providers.py to fall back over. Every other data tool goes through that layer, and this one should move onto it as soon as upstream gains the domain.
No other source publishes the same daily panel, so there is no source or fallback parameter: a failure surfaces instead of being answered from a series with different fields.
Unlike the other tools, the records keep the upstream's Chinese field names verbatim (数据日期, PE(TTM), ...), because akshare-one's English vocabulary does not cover this domain and inventing one here would pre-empt it.
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": {
"symbol": "<symbol>"
},
"name": "get_valuation"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| symbol | Yes | A-share stock symbol/ticker (e.g. '000001') | |
| recent_n | No | Number of most recent records to return |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |