<!-- Javascript plugin --> <div id="branded-trade-button"></div> <script src="https://kite.trade/publisher.js?v=1"></script> <script> KiteConnect.ready(function() { // Initialize a new Kite instance. You can initialize multiple instances if you need. var kite = new KiteConnect("kitedemo");
// Add a stock to the basket kite.add({ "exchange": "BSE", "tradingsymbol": "KRYPTONQ", "quantity": 5, "transaction_type": "BUY", "order_type": "MARKET", "product": "MIS" }); // Render the in-built button inside a given target kite.renderButton("#branded-trade-button"); }); </script> </body> </html>
I am still getting the same problem , So for that I have taken the screen short , Please go through it. In first image I have place BSE order as 'Market' and it's status is 'COMPLETE' and in second image , when i fetch order detail its type is 'Limit' .
@KUL We have market protection in place for all market orders. So all market orders are essentially limit orders placed 20% higher in case of buying and 20% lower in case of selling. Hence if you are looking either SL-M or even market entry orders, you will see them as limit orders. This was done because of many fat finger trades by traders on illiquid contracts causing big losses.
"transaction_type": "BUY",
"order_type": "MARKET",
"product": "CNC",
"quantity" :1,
"price":0,
"trigger_price":0,
"validity": "Day",
"disclosed_quantity":0,
"exchange": "BSE"
<`html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<`head>
<`meta charset="utf-8" />
<`title><`/title>
<`/head>
<`body>
<`form method="post" id="basket-form" action="https://kite.trade/connect/basket">
<`input type="hidden" name="api_key" value="**********" />
<`input type="hidden" id="basket" name="data" value="" />
<`/form>
<`script>
document.getElementById("basket").value = '[{"tradingsymbol": "AADHAARVEN","transaction_type": "BUY","order_type": "MARKET","product": "CNC","quantity" :1,"price":0,"trigger_price":0,"validity": "Day","disclosed_quantity":0,"exchange": "BSE"}]';
document.getElementById("basket-form").submit();
<`/script>
<`/body>
<`/html>
This was done because of many fat finger trades by traders on illiquid contracts causing big losses.
It is happening for BSE only and that too for highly traded scrips also.
What are the BSE instruments you're referring to? Either way, we're not going to be able to amend market protection parameters.