estimate_margin
Calculate margin needed for a batch of prospective orders to prevent shortfalls before placing trades.
Instructions
Calculate margin requirements for a batch of potential orders before placing them.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| positions | Yes | JSON array of position objects. Each: { "exchange": "NSE", "qty": "10", "price": "100.5", "productType": "INTRADAY", "token": "3045", "tradeType": "BUY" } |