How to fetch the "Available margin"?

AAAAAAAAAA
AAAAAAAAAA edited September 2021 in Python client
I do
margins = kite.margins("NFO")

and I get a dictionary like that where not only am I not able to see the Available Margins, it also shows NFO enabled to be False.

My account has been enabled for F&O trading since the beginning and I am able to place orders for F&O via my code as well.

However, I do need the available margin via the API. Please help me how to get it.

Thank you very much!


Tagged:
This discussion has been closed.