It looks like you're new here. If you want to get involved, click one of these buttons!
kiteconnect.exceptions.InputException: invalid json
kite.order_margins({'order_id':XXXXX,'exchange':'NFO', 'tradingsymbol':'XXXXXXXX','transaction_type':'SELL','variety':'regular','product':'MIS','order_type':'MARKET','quantity':75,'price':0,'trigger_price':0})
I am able to get the margin info. However the margin of all live trades aren't summing upto the total used margin!