get_profit_data
Fetch quarterly profitability metrics like ROE and net profit margin for stocks to analyze financial performance.
Instructions
Fetches quarterly profitability data (e.g., ROE, net profit margin) for a stock.
Args:
code: The stock code (e.g., 'sh.600000').
year: The 4-digit year (e.g., '2023').
quarter: The quarter (1, 2, 3, or 4).
Returns:
Markdown table with profitability data or an error message.
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>",
"year": "<year>",
"quarter": "<quarter>"
},
"name": "get_profit_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| year | Yes | ||
| quarter | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |