get_margin_for_orders
Calculate required margin for multiple orders in a single request. Input order details such as symbol, quantity, and type to get margin requirements for Groww.
Instructions
Calculate required margin for multiple orders (Groww only)
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": {
"orders": "<orders>"
},
"name": "get_margin_for_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| broker | No | Must be groww for bulk margin calculation | |
| orders | Yes | Array of order objects | |
| segment | No | Market segment (default: CASH) |