resolve_symbol
Look up a China A-share stock's canonical symbol by company name or partial code before querying; returns suffix, name, and delist flag, so ambiguous or delisted entries are resolved.
Instructions
Look up a symbol by company name or partial code — '茅台', 'maotai', '600519' all resolve to 600519.SH. Do this before any query when the user named a company rather than a code: a guessed suffix returns an empty result rather than an error. Delisted names are included and flagged with delist_date. Returns the canonical symbol, name and delist_date; several rows mean the fragment is ambiguous, so pick by name before querying.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max rows to return (default 200, cap 2000). Responses always report the true total and set `truncated`. | |
| query | Yes | Company-name fragment, or a code prefix with or without the exchange suffix (.SH/.SZ/.BJ). The match returns the canonical suffixed symbol to use in later calls. |