☰
Login
Signup
Home
›
General
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
154
Node JS client
40
Go client
793
.Net API client
378
Kite Publisher
537
.Net / VBA / Excel (3rd party)
457
Algorithms and Strategies
994
Java client
1.1K
API clients
404
PHP client
4K
Python client
346
Mobile and Desktop apps
1.4K
Market data (WebSockets)
3.3K
General
In this Discussion
September 2016
Jilani
September 2016
Vivek
SL order showing as LIMIT
Jilani
September 2016
in
General
Hi,
We have placed a SL order, but in the response this particular Order Type is returned as LIMIT, instead of SL.
Below are the parameters.
tradingsymbol=UNITECH,
exchange=NSE,
apikey=xxxxxxx,
order_type=SL,
qty=1, price=6.1,
validity=DAY,
producttype=CNC,
trigger_price=6.0
Here is the response:
{
status: "success",
data: [{
status: "COMPLETE",
product: "CNC",
pending_quantity: 0,
order_type: "LIMIT",
exchange: "NSE",
order_id: "160923000175428",
price: 6.2,
exchange_order_id: "1300000001947651",
order_timestamp: "2016-09-23 11:38:52",
transaction_type: "BUY",
trigger_price: 6.15,
validity: "DAY",
disclosed_quantity: 0,
status_message: null,
average_price: 6.2,
quantity: 1
}, {
status: "OPEN",
product: "CNC",
pending_quantity: 1,
order_type: "LIMIT",
exchange: "NSE",
order_id: "160923000175428",
price: 6.2,
exchange_order_id: "1300000001947651",
order_timestamp: "2016-09-23 11:38:52",
transaction_type: "BUY",
trigger_price: 6.15,
validity: "DAY",
disclosed_quantity: 0,
status_message: null,
average_price: 0,
quantity: 1
}, {
status: "TRIGGER PENDING",
product: "CNC",
pending_quantity: 1,
order_type: "SL",
exchange: "NSE",
order_id: "160923000175428",
price: 6.2,
exchange_order_id: "1300000001947651",
order_timestamp: "2016-09-23 11:38:52",
transaction_type: "BUY",
trigger_price: 6.15,
validity: "DAY",
disclosed_quantity: 0,
status_message: null,
average_price: 0,
quantity: 1
}, {
status: "OPEN PENDING",
product: "CNC",
pending_quantity: 1,
order_type: "SL",
exchange: "NSE",
order_id: "160923000175428",
price: 6.2,
exchange_order_id: null,
order_timestamp: "2016-09-23 11:38:52",
transaction_type: "BUY",
trigger_price: 6.15,
validity: "DAY",
disclosed_quantity: 0,
status_message: null,
average_price: 0,
quantity: 1
}, {
status: "VALIDATION PENDING",
product: "CNC",
pending_quantity: 1,
order_type: "SL",
exchange: "NSE",
order_id: "160923000175428",
price: 6.2,
exchange_order_id: null,
order_timestamp: "2016-09-23 11:38:52",
transaction_type: "BUY",
trigger_price: 6.15,
validity: "DAY",
disclosed_quantity: 0,
status_message: null,
average_price: 0,
quantity: 1
}, {
status: "PUT ORDER REQ RECEIVED",
product: "CNC",
pending_quantity: 0,
order_type: "SL",
exchange: "NSE",
order_id: "160923000175428",
price: 6.2,
exchange_order_id: null,
order_timestamp: "2016-09-23 11:38:52",
transaction_type: "BUY",
trigger_price: 6.15,
validity: "DAY",
disclosed_quantity: 0,
status_message: null,
average_price: 0,
quantity: 1
}]
}
Regards,
Jilani Basha.
Vivek
September 2016
edited September 2016
Please refer to this thread -
https://kite.trade/forum/discussion/comment/657/#Comment_657
Jilani
September 2016
Thanks Vivek!
This discussion has been closed.