Hi @sujith My modify orders are still not working .I see the time being updated once the request is sent but the order properties are not changing
I don't see any failure reason in the order status 12:32:14","variety":"regular","exchange":"NFO","tradingsymbol":"NIFTY2121815200PE","instrument_token":12223234,"order_type":"SL-M","transaction_type":"SELL","validity":"DAY","product":"NRML","quantity":75,"disclosed_quantity":0,"price":0,"trigger_price":119,"average_price":0,"filled_quantity":0,"pending_quantity":75,"cancelled_quantity":0,"market_protection":0,"meta":{},"tag":null,"guid":"19Xarxsstbzcwnv"}]}
Order History shows.. 12:32:14 MODIFIED 12:32:14 12:32:14 75 0 0 0
My modify orders are still not working .I see the time being updated once the request is sent but the order properties are not changing
We are not able to understand your issue here. Do you mean, postback status for SL-M order modification is showing the previous/non-updated value or complete order book fetch is showing non-updated value? You can go through this thread, which explains a similar scenario.
Hi Rakesh, Not the postback status.. 1.I send a modify request(http PUT as mentioned in my above comment. 2.I got the following response { "status": "success", "data": { "order_id": "XXXXXXXXXXXXXX" } }
3. checked the order status under https://api.kite.trade/orders..my order has the updated timestamp here but the trigger price ,tag etc didnt change 4. I checked the order history in https://kite.zerodha.com/orders ,which shows the order has been modified "12:32:14 MODIFIED 12:32:14 12:32:14 75 0 0 0"
basically , modify is not working except for the timestamp change..Am I missing naything in my http-put request shown above ?
A 200 response for modify request only means the request is placed successfully. One needs to fetch orderbook and check if the order is actually modified or not because every order modify goes through RMS checks.
Hi @sujith , I am checking for the status in the order book only ..there is no update on my pending order except time ..I see the status changing like this..TRIGGER PENDING(initial state)-->MODIFY VALIDATION PENDING-->MODIFY PENDING--> MODIFIED ->TRIGGER PENDING
however ,after this , i dont see the modified value in the order.
I also dont see any status message. please help on this
Is this not the update trigger_price in orderbook? If not, then you need to check if you are sending the same trigger_price is modify order as well. We just checked the same scenario of updating pending SLM trigger_price at our end and it's working fine.
My modify orders are still not working .I see the time being updated once the request is sent but the order properties are not changing
I don't see any failure reason in the order status
12:32:14","variety":"regular","exchange":"NFO","tradingsymbol":"NIFTY2121815200PE","instrument_token":12223234,"order_type":"SL-M","transaction_type":"SELL","validity":"DAY","product":"NRML","quantity":75,"disclosed_quantity":0,"price":0,"trigger_price":119,"average_price":0,"filled_quantity":0,"pending_quantity":75,"cancelled_quantity":0,"market_protection":0,"meta":{},"tag":null,"guid":"19Xarxsstbzcwnv"}]}
Order History shows..
12:32:14 MODIFIED 12:32:14 12:32:14 75 0 0 0
My new request is something like this..
PUT /orders/regular/XXXXXXXXXXXXX HTTP/1.1
Authorization: token aaaaaaaa:bbbbbbbbbb
Host: api.kite.trade
X-Kite-Version: 3
Content-Length: 71
transaction_type='SELL'&order_type='SL-M'&trigger_price=50.0&tag='test'
Could you please help me resolving this issue...
thanks in Advance
You can go through this thread, which explains a similar scenario.
Not the postback status..
1.I send a modify request(http PUT as mentioned in my above comment.
2.I got the following response
{
"status": "success",
"data": {
"order_id": "XXXXXXXXXXXXXX"
}
}
3. checked the order status under https://api.kite.trade/orders..my order has the updated timestamp here but the trigger price ,tag etc didnt change
4. I checked the order history in https://kite.zerodha.com/orders ,which shows the order has been modified "12:32:14 MODIFIED 12:32:14 12:32:14 75 0 0 0"
basically , modify is not working except for the timestamp change..Am I missing naything in my http-put request shown above ?
infact, i dont see the status message field even for the orders placed using the kite app
however ,after this , i dont see the modified value in the order.
I also dont see any status message.
please help on this
SELL NIFTY2121815250CE NFO#210215103173434
Time Status Exch. time Exch. update Qty. Filled qty. Avg. price Price
14:27:28 TRIGGER PENDING 14:27:28 14:27:28 75 0 0 0
14:27:28 MODIFIED 14:27:28 14:27:28 75 0 0 0
14:27:28 MODIFY PENDING 14:26:51 14:26:51 75 0 0 0
14:27:28 MODIFY VALIDATION PENDING 14:26:51 14:26:51 75 0 0 0
14:26:51 TRIGGER PENDING 14:26:51 14:26:51 75 0 0 0
14:26:51 MODIFIED 14:26:51 14:26:51 75 0 0 0
14:26:51 MODIFY PENDING 14:26:00 14:26:00 75 0 0 0
14:26:51 MODIFY VALIDATION PENDING 14:26:00 14:26:00 75 0 0 0
14:26:00 TRIGGER PENDING 14:26:00 14:26:00 75 0 0 0
14:26:00 OPEN PENDING — — 75 0 0 0
14:26:00 VALIDATION PENDING — — 75 0 0 0
14:26:00 PUT ORDER REQ RECEIVED — — 75 0 0 0
14:26:00 SELL NIFTY 18th w FEB 15250 CE NFO
NRML 0 / 75 126.90 0.00 / 30.00 trg. TRIGGER PENDING
If not, then you need to check if you are sending the same
trigger_price
is modify order as well.We just checked the same scenario of updating pending SLM trigger_price at our end and it's working fine.