☰
Login
Signup
Home
›
API clients
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Register
Categories
Recent Discussions
Activity
Categories
13.9K
All Categories
0
Incidents
156
Node JS client
40
Go client
793
.Net API client
380
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
998
Java client
1.1K
API clients
404
PHP client
4K
Python client
347
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
June 2018
sujith
NodeJS BO Order issue
quadcodes
June 2018
edited June 2018
in
API clients
I'm using following code with NodeJs to place my BO order.
kc.placeOrder("bo", {
"exchange": "NSE",
"tradingsymbol": "CANBK",
"transaction_type": "BUY",
"quantity": 200,
"product": "MIS",
"order_type": "LIMIT",
"price" : 100,
"stoploss" : 5,
"squareoff" : 2,
"trailing_stoploss" : 1,
"validity": "DAY"
}).then(function(order) {
console.log(order);
}).catch(function(err) {
console.log(err);
});
I'm able to place BO order. For large quantities, sometimes BO orders are placed in multi-part quantities. Say, ( 150 + 50) for total of 200 qty.
System correctly place leg orders for STOPLOSS. I do get 2 leg orders for STOPLOSS. One with quantity 150 & another with qty 50.
but Trigger/Target order is placed only ONCE with either of the quantity (150 OR 50).
Even Kite orderbook show only ONE Trigger/Target order id.
So I'm unable to exit BO Order for whole quantity as Only one order is placed for Trigger/Target.
Am I placing BO order incorrectly OR is this a system bug ?
Tagged:
bracket orders
BO order
api client
BO exit
sujith
June 2018
Can you private message your api_key and order id for which this happened?
Sign In
or
Register
to comment.