calculate_margin
Calculate required margin for up to 20 instruments before placing orders. Provide instrument token, quantity, product type, and transaction type to get the margin requirement.
Instructions
Calculate required margin for instruments (max 20).
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": {
"instruments": "<instruments>"
},
"name": "calculate_margin"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| instruments | Yes |