resolve_stock_code
Resolves A-share stock codes from company names (exact short-name or substring full-name matches) and writes candidate matches to a CSV file.
Instructions
Resolve A-share stock code by company name (abbreviation or full name). Output is written to file_path as CSV with candidate rows (代码+名称). 简称精确命中;全称能命中简称子串则返回;城投/非上市发行人返回空候选。多候选时 Agent/用户从中选,再调 query_stock 查行情。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| keyword | Yes | Stock name or keyword, e.g. 茅台 / 贵州茅台酒股份有限公司 | |
| file_path | Yes | Output CSV file path |