kite margins
Calculate margin requirements for an order list. Pure read-only — no --yes required,
no --dry-run supported.
Commands
Section titled “Commands”| Command | Purpose |
|---|---|
kite margins orders --file <json> [--compact] |
Margins for one or more orders. |
kite margins basket --file <json> [--consider-positions] [--compact] |
Basket margins, optionally including existing positions. |
Required input fields per order
Section titled “Required input fields per order”| Field | Required | Notes |
|---|---|---|
exchange |
Yes | Example: NSE |
tradingsymbol |
Yes | Example: INFY |
transaction_type |
Yes | Usually BUY or SELL |
quantity |
Yes | Numeric |
price |
Yes | Numeric |
trigger_price |
No | Numeric, for trigger orders |
product |
Yes | Example: CNC, MIS, NRML |
order_type |
Yes | Example: MARKET, LIMIT, SL, SL-M |
variety |
No | Defaults to regular |
Example
Section titled “Example”[ { "exchange": "NSE", "tradingsymbol": "INFY", "transaction_type": "BUY", "quantity": 1, "price": 1500, "product": "CNC", "order_type": "LIMIT", "variety": "regular" }]kite margins orders --file ./orders.json --compact --json --no-colorkite margins basket --file ./orders.json --consider-positions --compact --json --no-colorSee also
Section titled “See also”kite charges— virtual contract-note charges (post-trade estimate).