☰
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.2K
All Categories
0
Incidents
128
Node JS client
38
Go client
769
.Net API client
362
Kite Publisher
532
.Net / VBA / Excel (3rd party)
435
Algorithms and Strategies
969
Java client
1K
API clients
401
PHP client
3.8K
Python client
331
Mobile and Desktop apps
1.3K
Market data (WebSockets)
3.2K
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.