calculate_kite_basket_margins
Calculate margin required for a basket of Kite spread orders by providing order details like exchange, symbol, quantity, and product. Get accurate margin estimates to plan your trades.
Instructions
Calculate basket margins for spread orders on Kite
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": "calculate_kite_basket_margins"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | No | Calculation mode (optional) | |
| broker | No | Must be kite for basket margin calculation | |
| orders | Yes | Array of order objects for basket | |
| consider_positions | No | Consider existing positions (default: true) |