Skip to content

kite margins

Calculate margin requirements for an order list. Pure read-only — no --yes required, no --dry-run supported.

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.
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
[
{
"exchange": "NSE",
"tradingsymbol": "INFY",
"transaction_type": "BUY",
"quantity": 1,
"price": 1500,
"product": "CNC",
"order_type": "LIMIT",
"variety": "regular"
}
]
Terminal window
kite margins orders --file ./orders.json --compact --json --no-color
kite margins basket --file ./orders.json --consider-positions --compact --json --no-color
  • kite charges — virtual contract-note charges (post-trade estimate).