Margin calculation?

healthsecure15
I read this: https://kite.trade/docs/connect/v3/margins/

Seems very interesting. I cannot find the python call for it.

I tried:

kite.margins([
{
"exchange": "NSE",
"tradingsymbol": "INFY",
"transaction_type": "BUY",
"variety": "regular",
"product": "CNC",
"order_type": "MARKET",
"quantity": 1,
"price": 0,
"trigger_price": 0

}
])

Which gave the obvious output. What would be the correct call for calculation of margin as per the kite.trade doc linked above?

Thanks
  • rakeshr
    I cannot find the python call for it.
    You can use order_margin method to make the order margin calculation call. You can refer python example code for the same here.
Sign In or Register to comment.