contract_rules
Retrieve trading rules for a contract by ID, including minimum tick, size increment, valid exchanges, and supported order types to validate orders before submission.
Instructions
Get trading rules for a contract: min tick, size increment, valid exchanges, order types.
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": {
"conId": "<conId>"
},
"name": "contract_rules"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| conId | Yes | Contract ID | |
| exchange | No | Exchange |