https://api.lbkrs.com/v1/orders/mleg/tradableRequest body application/json
Main security ID of the combination: the counter_id of the underlying stock, such as ST/US/AAPL
Strategy and legs of the combination
Child attributes
Multi-leg strategy type:
0- Covered call1- Covered put2- Vertical call spread3- Vertical put spread4- Collar5- Straddle6- Strangle7- Calendar call spread8- Calendar put spread
012345678
Legs in the combination
Child attributes
Security ID of the leg: the option contract counter_id for an option leg, or the stock counter_id for a stock leg
Responses
HTTP 200The request succeeded. The response body contains the result of the “Check Multi-Leg Option Tradability” operation.codemessagedatadataobjectdata structureMain security ID of the combination
Whether to show a dialog and block direct entry to the order page
When the order page can open, whether to show msg as a toast
Prompt text
Guidance buttons in the dialog
Child attributes
Button label
Target link, used when type is 2
Action on tap:
0- Close the dialog without entering order entry1- Open the order page for this security2- Open the page thatlinkpoints to
012
Order direction when type is 1:
0- Not restricted1- Buy only2- Sell only
012