i used to get the available cash margin in my account previously by using MARGIN method. But now, when i am trying to use the same margin method and know about the available cash margin. I am getting the below data, without any actual value.
@gkaranam, Are you sure you are checking for the right segment? It looks like the segment is disabled for your account. You can check on the Kite web funds page once and contact support.
Hi Sujith, Thanks for your quick reply. As said earlier. I was getting the available cash margin for equity and commodity earlier through this method. I checked the kite.zerodha Funds page and was able to see Available cash margin over there for Equity segment.
@rakeshr - no I am not requesting for mcx. The same kite.margin() was returning me the plain cash margin available. And I am not even mentioning any segment while making the request of kite. Martin().
This was working before. And I have not done any change in my code.
@gkaranam Then you are not parsing the margins response correctly. Can you paste your complete code for margin fetch here? Also, it should be kite.margins() not kite.margin()
Are you sure you are checking for the right segment?
It looks like the segment is disabled for your account.
You can check on the Kite web funds page once and contact support.
@rakeshr @sujith
We just checked on this. You seem to be requesting for MCX, which is disabled for you.
This was working before. And I have not done any change in my code.
@rakeshr , @sujith
Then you are not parsing the margins response correctly. Can you paste your complete code for margin fetch here?
Also, it should be
kite.margins()
notkite.margin()