lookup_stock_code
Resolve 'stock code not found' errors by looking up the correct HKEXnews stockId mapping for a Hong Kong stock code.
Instructions
Look up HKEXnews stockId mapping for a Hong Kong stock code. Diagnostic tool.
<critical_rules>
Prefer refresh=false first (local cache). Use refresh=true only if cache is empty or the code is still missing. </critical_rules>
Args: stock_code: 5-digit HK stock code, e.g. "00700" or "700" refresh: Force re-download of company mappings (default: false)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| refresh | No | ||
| stock_code | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |