resolve_option_code
Generate a Futu option code from underlying, expiry, strike, and option type. Prevents errors from manual code creation, especially for HK options.
Instructions
Resolve an option's Futu code from a description - 解析期权简写代码. underlying e.g. US.JPM; expiry YYYY-MM-DD; strike e.g. 267.50; option_type CALL/PUT. Returns a code like US.JPM260320C267500. Do NOT hand-build HK option codes (abbreviation differs) - use this.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"underlying": "<underlying>",
"expiry": "<expiry>",
"strike": "<strike>",
"option_type": "<option_type>"
},
"name": "resolve_option_code"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| expiry | Yes | ||
| strike | Yes | ||
| underlying | Yes | ||
| option_type | Yes |