As per recent email "Market orders will require market protection. Orders placed with market protection set to "0" will be rejected. Learn more." so ... if my python script places a market order with protection=2 ... there is a possibility that it might not get executed .. right? But how will my script know whether its still waiting to get executed?
@nagavenij ... yes I figured that out. Suppose I give 1% protection and the price surged ahead .. my order wont get fulfilled right? can i search the pending order and cancel it? .. because I dont want my script to "assume" that I have bought a NIFTY LOT and then proceed with its SL or Target. That would be disaster because ... I dont want to place SELL order (under assumption that I already have a successful BUY earlier) in order to sqaure-off a position that was never opened.
You can refer to the documentation.
if my python script places a market order with protection=2,Here, ‘2’ refers to 2% protection, and the behavior should be as expected.