It looks like you're new here. If you want to get involved, click one of these buttons!
KiteConnect.ready(function() {
// Initialize a new Kite instance.
// You can initialize multiple instances if you need.
var kite = new KiteConnect("XXXXXXXXXXXXXXXX");
kite.add({
"tradingsymbol": "WIPRO",
"exchange": "NSE",
"transaction_type": "Buy",
"order_type": "LIMIT",
"product": "MIS",
"price": 300,
"quantity": 10,
"variety": "bo",
"stoploss": 20,
"squareoff": 20,
"trailing_stoploss": 10,
"readonly": true
});
KiteConnect.ready(function() {
// Initialize a new Kite instance.
// You can initialize multiple instances if you need.
var kite = new KiteConnect("XXXXXXX");
kite.add({
"tradingsymbol": "WIPRO",
"exchange": "NSE",
"transaction_type": "Buy",
"order_type": "SL",
"product": "MIS",
"price": 300,
"trigger_price":300,
"quantity": 10,
"variety": "bo",
"stoploss": 20,
"squareoff": 20,
"trailing_stoploss": 10,
"readonly": true
});
"trigger_price":300,
But now the order is rejected stating "Invalid Trigger Price Entered"
Please help
Thanks
Sree