It looks like you're new here. If you want to get involved, click one of these buttons!
Node JS client
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
How to fetch the "Available margin"?
edited September 2
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!
Screen Shot 2021-09-02 at 3.55.09 PM.png
I also tried doing the same for NSE, like
margins = kite.margins("NSE")
and got a similar result.
You can refer to this
In your linked thread, it says that the net = margin available. However, at the time when I called the margins API method, I had a decent amount in my Zerodha account, however it just showed 0 as you can see in the image. How to resolve this? Thanks!
You can send a proper
and check the values.\
It only accepts equity and commodity. Not an exchange value.
Its done, thank you!
This discussion has been closed.