How to fetch live margin

Neophyte
Hello,
I am looking for a python function to get Live margin like we can get “live_balance” .
I know I can use kite.margins('equity') to get the “collateral”. But it remains fixed even when I am taking positions.
I take multiple entries in a day, not all at the same time. I need a mechanism to know the available margin and calculate my positions accordingly.
Tagged:
  • sujith
    You can refer to this thread to know more about the meaning of different fields in the user margins response.
Sign In or Register to comment.