get_stock_basic_info
Retrieve fundamental data for Chinese A-share stocks, including company details, industry classification, and listing information, using Baostock format codes.
Instructions
Fetches basic information for a given Chinese A-share stock.
Args:
code: The stock code in Baostock format (e.g., 'sh.600000', 'sz.000001').
fields: Optional list to select specific columns from the available basic info
(e.g., ['code', 'code_name', 'industry', 'listingDate']).
If None or empty, returns all available basic info columns from Baostock.
Returns:
A Markdown formatted string containing the basic stock information table,
or an error message.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | ||
| fields | No |