hello i placed a strangle order both were MKT MIS order. one order was executed but other cancled. Very dangerous situation as this creates naked option sell. Order got placed as no exception was thrown while placing order that is call of place_order() api was successfull
ORder id is : 191204000685103 ----- please check traces as i may not be able to create scenario again
Error from Zerodha client : SELL BANKNIFTY19D0532000CE NFO CANCELLED Quantity 0 / 80 Price 0 Avg. price 0 Trigger price 0 Order type MARKET Product MIS Validity DAY Order ID 191204000685103 Exchange order ID 1400000009573372 Time 2019-12-04 09:45:29 Exchange time 2019-12-04 09:45:29 Placed by FB9662
17070 : The Price is out of the current execution range
---
Order statuses : SELL BANKNIFTY19D0532000CE NFO #191204000685103 Time Status Exch. time Exch. update Qty. Filled qty. Avg. price Price 09:45:29 CANCELLED 09:45:29 09:45:29 80 0 0 0 09:45:29 OPEN 09:45:29 09:45:29 80 0 0 0 09:45:29 OPEN PENDING — — 80 0 0 0 09:45:29 VALIDATION PENDING — — 80 0 0 0 09:45:29 PUT ORDER REQ RECEIVED — — 80 0 0 0
--------------------------------------------- code ( which is good as order is placed and working as well )
@npchoubey, The order was rejected from the exchange as it was out of execution range. Whenever there is a significant move in the contract you are trading, the execution rejection set by the exchange does not get updated at the same pace and your order gets rejected. All you could do is retry the order until it goes through(once the range is updated). We've answered this in detail here.
can you please confirm this order indeed got rejected to due execution range? I am sure sysstem would have logged some details regarding rejection reasons.
The order was rejected from the exchange as it was out of execution range. Whenever there is a significant move in the contract you are trading, the execution rejection set by the exchange does not get updated at the same pace and your order gets rejected. All you could do is retry the order until it goes through(once the range is updated).
We've answered this in detail here.
can you please confirm this order indeed got rejected to due execution range? I am sure sysstem would have logged some details regarding rejection reasons.
The rejection message(17070 : The Price is out of the current execution range) is from the exchange itself.