You can use the market order with the market protection feature after the SEBI Algo ID implementation. Market protection will be enabled by default for all market orders placed through the API.
When i entred "market_protection" as 15 , I got the error while placing order as --'invalid variety' - what should i pass in parameter 'variety' currently we are passing as 'normal' .
The market protection feature is currently available in the raw HTTP APIs and Java library only. The order parameter for variety should be 'regular'. Please refer to the API documentation here.
By when it will be apllicable? After SEBI Algo ID implementation will you allow Maret orders with Market protection feature for API offsite order execution?
Below is code:
document.getElementById("basket").value = "[{\"exchange\": \"NSE\",\"tradingsymbol\": \"GTLINFRA\",\"quantity\": 30,\"transaction_type\": \"BUY\",\"order_type\": \"MARKET\",\"variety\": \"normal\",\"tag\": \"10942\",\"readonly\": true,\"market_protection\": 15}]";
document.getElementById("basket-form").submit();
Kindly confirm.
After SEBI Algo ID implementation will you allow Maret orders with Market protection feature for API offsite order execution?