Hi, Due to unexpected volatility, RMS had decided to reduce the margins to 45% of the NRML margin. It will be brought back to normalcy after some time.
@sujith The problem is, the API is not updated simultaneously. You update the margin requirements for obvious reasons, but, it would be good if the team can update the margins API instantly with the change too
Unfortunately, It is not one file to change. All the things are not connected in the backend. It is a complex process. We are trying to come up with an alternate solution. Hopefully, that should solve the issue.
@sujith As given in the kite api documentation "Funds and margins" section; the margins(self, segment=None) api returns the funds, cash, and margin information for the user for equity and commodity segments.
But the example in that section only shows the funds of a client and here I find the discussion about margins needed for scripts of futures!!
So is this return "data" :: "a list of dict" of funds of client + margins of all the scripts??
There are two things, one is user funds and another is instruments margins. Both are different URLs and serves different purposes. Instruments margin is the leverage and margin requirement in the account for taking a position whereas the user margin is the amount the user has in his account.
You can check out the API documentation for user funds API (margins) and you can refer to this thread regarding instruments margins.
Due to unexpected volatility, RMS had decided to reduce the margins to 45% of the NRML margin. It will be brought back to normalcy after some time.
Could you pls tell, at what time the margins are updated?
https://api.kite.trade/margins/futures
As given in the kite api documentation "Funds and margins" section; the margins(self, segment=None) api returns the funds, cash, and margin information for the user for equity and commodity segments.
But the example in that section only shows the funds of a client and here I find the discussion about margins needed for scripts of futures!!
So is this return "data" :: "a list of dict" of funds of client + margins of all the scripts??
Pls clarify (with an example is possible)
Instruments margin is the leverage and margin requirement in the account for taking a position whereas the user margin is the amount the user has in his account.
You can check out the API documentation for user funds API (margins) and you can refer to this thread regarding instruments margins.