https://api.lbkrs.com/v1/orders/stock_contract/mleg/available_open_quantityRequest body application/json
Main security ID of the combination: the counter_id of the underlying stock
Combination limit price in the trading currency
Settlement currency, such as USD or HKD. Use an item of channel_infos.settlement_currency returned by Get Order Configuration
Trading currency. Pass the same value as settlement_currency
Order type code, such as LO, MO, or ELO. Use a key of channel_infos.order_type_config returned by Get Order Configuration
Order side:
1- Buy2- Sell
12
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
Combination quantity
Responses
HTTP 200The request succeeded. The response body contains the result of the “Estimate Multi-Leg Option Open Quantity” operation.codemessagedatadataobjectdata structureMaximum number of combinations that can be opened (cash and margin are not distinguished)
Margin of one combination
Initial margin before the trade
Initial margin after the trade
Maintenance margin before the trade
Maintenance margin after the trade
Available cash before the trade
Available cash after the trade
Cash book balance in the settlement currency before the trade
Cash book balance in the settlement currency after the trade