get_stock_valuation_ratios
Calculate key stock valuation metrics including P/E ratio, dividend yield, and P/B ratio for Taiwan-listed companies using their stock codes.
Instructions
Obtain P/E ratio, dividend yield, and P/B ratio for a listed company stock based on its stock code.
Returns information including:
Date: Data date (ROC calendar YYYMMDD)
Code: Stock code
Name: Stock name
PEratio: Price-to-Earnings ratio
DividendYield: Dividend yield (%)
PBratio: Price-to-Book ratio
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": {
"code": "<code>"
},
"name": "get_stock_valuation_ratios"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |