get_profit_data
Retrieve quarterly profitability metrics (ROE, net profit margin) for A-share stocks by entering stock code, year, and quarter. Outputs data in a markdown table or error message for invalid requests.
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.
Input Schema
Name | Required | Description | Default |
---|---|---|---|
code | Yes | ||
quarter | Yes | ||
year | Yes |
Input Schema (JSON Schema)
{
"properties": {
"code": {
"title": "Code",
"type": "string"
},
"quarter": {
"title": "Quarter",
"type": "integer"
},
"year": {
"title": "Year",
"type": "string"
}
},
"required": [
"code",
"year",
"quarter"
],
"title": "get_profit_dataArguments",
"type": "object"
}