The single order endpoint doesn’t seem to support legs and the multi order endpoint seems to place separate orders. How does one place a multi leg option order?
If you’re requirement is of Basket order , then the Multi order API can be used where the orders input will be seperate but the execution will happen at the same time .
If you’re requirement is to place multiple legs in single order ( like stoploss , target ) then the Order type can be mentioned as CO , BO . CO is cover order where the Stoploss can be given during the entry , and BO is Bracket order where Stoploss and Target can be given during entry .
Please find the order placement guide :
Thanks!
How do I set a combined price for the order. For example generally when I place a spread order, I set a single price for it.
Hey @111031139272252945482 the price should be set individually for all orders in spread .
If I do that is it guaranteed that all orders will execute or none will?
The execution of orders depends on the bid and ask , if the inputs are right the order placement will happen
@WWhYB2qrsx - usually when I place multileg option orders in US brokerages, the legs are all or none. Either all execute or none do. This makes it possible to get reliable fills for advanced strategies like spreads, butterflies, condors etc. Without that kind of functionality advanced options orders may not make the expected return. I have sent screenshots and details by email to @naresh_janagam