get_contract
Fetches contract specifications—name, reference, price limits, unit, day-trade, margin, and short info—for a stock, futures, option, or index code.
Instructions
Contract details: name, reference, limit up/down, unit, day-trade, margin/short info... code: stock '2330', continuous futures 'TXFR1'/'TXFR2', option 'TXO31200G6', index 'IX0001' (TAIEX).
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": {
"code": "<code>"
},
"name": "get_contract"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes |