Question: How to get the margin available (or MIS Multiplier) on particular security in MIS product? There's no field in above example response object.
Hi @Sowmay, margin: 0 means for CNC orders, we provide 0 margins. Margins on cover order ranges between the lower and upper level based on the stop-loss you set. In this case between 3 to 16.5 times. So if you have Rs 100, you can buy 3M for between Rs 300 to Rs 1650 based on where you set SL. mis_multiplier: 3 means for MIS orders you can buy for 3 times the margin in your account of this stock. So if Rs 100, you can buy for Rs 300 of 3M. mis_margin: 33 means for MIS orders we provide 33% margins. (essentially MIS_multiplier and MIS_margin are the same) To buy Rs 300 worth of 3M, you need 33% or Rs 100.
How to check whether the security is blocked on MIS product?
This link (https://api.kite.trade/margins/equity) provides details of around 400 equities which have MIS margins above 1. Remaining have 1 MIS_multiplier. But as per this spreadsheet there are still some securities which are blocked on MIS trades. How to get them programmatically?
@Sowmay, As of now, we don't have any other solution as of now since the whole OMS setup is vendor-based and there is very little scope for changes to that. We will provide a better solution in the future.
@vijaysahu, You don't need to use that. You can check required margins here.
This API call is for fetching the market quote. Check out this thread for margins.
https://api.kite.trade/margins/futures
https://api.kite.trade/margins/equity
https://api.kite.trade/margins/commodity
https://api.kite.trade/margins/currency
On more question:
When are these APIs are updated? When should I store them in my DB to get updated version?
It will be updated by 9:30 AM, you can try fetching data after that.
{
"margin": 0,
"co_lower": 4.0,
"mis_multiplier": 3.0,
"tradingsymbol": "3MINDIA",
"co_upper": 16.5,
"nrml_margin": 0,
"mis_margin": 33.0
},
There we get many fields other than mis_multiplier and tradingsymbol. Waht does they mean?
margin: 0 means for CNC orders, we provide 0 margins.
Margins on cover order ranges between the lower and upper level based on the stop-loss you set. In this case between 3 to 16.5 times.
So if you have Rs 100, you can buy 3M for between Rs 300 to Rs 1650 based on where you set SL.
mis_multiplier: 3 means for MIS orders you can buy for 3 times the margin in your account of this stock. So if Rs 100, you can buy for Rs 300 of 3M.
mis_margin: 33 means for MIS orders we provide 33% margins. (essentially MIS_multiplier and MIS_margin are the same) To buy Rs 300 worth of 3M, you need 33% or Rs 100.
This link (https://api.kite.trade/margins/equity) provides details of around 400 equities which have MIS margins above 1. Remaining have 1 MIS_multiplier. But as per this spreadsheet there are still some securities which are blocked on MIS trades. How to get them programmatically?
You can get it from this link.
Getting above error while calling from angular or javascript..
Any suggestion why it's not working...
As of now, we don't have any other solution as of now since the whole OMS setup is vendor-based and there is very little scope for changes to that. We will provide a better solution in the future.
@vijaysahu,
You don't need to use that. You can check required margins here.