Could you please explain how to delay or set the order of execution of multiple orders placed through basket order in kite publisher. This is because to achieve spread/margin benefits by placing buy option order first(may be a few Milli seconds) before the sell option order of another strike price. I tried thru kite publisher spread order during non market hours with 2 orders in a basket but the result seems random. Please advise.
The Kite Publisher will just make API call in parallel, the order of execution is not guaranteed. A feasible solution would be to use Kite Connect app.