https://api.lbkrs.com/v1/orders/mleg/infoRequest 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 “Get Multi-Leg Option Order Configuration” operation.codemessagedatadataobjectdata structureOrder configuration of the combination. Fields not listed here have the same meaning as in Get Order Configuration
Main security ID of the combination
Security name
Lot size
Order tag. Pass it as each leg's order_tag when estimating multi-leg fees:
1- Regular order2- Long-term order3- Grey market order
123
Current server time as a Unix timestamp in seconds
Tick table
Child attributes
Minimum price increment in this band, for example "0.01"
Lower bound of the band (exclusive)
Upper bound of the band (inclusive)
Trading configuration of the current account for this security. In addition to the fields below, the response contains several *_granted booleans (whether the corresponding authorization, certification, or risk statement is complete) with matching certification URL fields (*_url, *_granted_url). Some apply only to specific markets or businesses, and the server determines which fields are present. When a value is false, guide the user to the matching URL before submitting the order, and call this endpoint again afterward to refresh the status.
Child attributes
Account channel. Together with org_id and aaid, it identifies the account this configuration belongs to.
Tenant ID
Asset account ID
Quote currency of the security, for example USD, HKD, or GBX
Available settlement currencies. The first item is the default trading currency; pass it as currency when you query positions and cash, buying power, and estimated fees.
Order type configuration available for this security and account. Keys are order type codes, for example LO (limit order), ELO (enhanced limit order), MO (market order), LIT (limit-if-touched), and MIT (market-if-touched). An order type that does not appear is unavailable. When this object is returned, use the per-order-type configuration for sessions and time in force.
Whether the current account channel supports trading. When false, do not offer order entry.
Online trading restriction:
1- Online buying is not allowed2- Online selling is not allowed3- Neither online buying nor online selling is allowed
If the field is absent or has another value, no such restriction applies. For a restricted direction, direct the user to contact the Broker offline.
123
Whether pre-market and after-hours trading is supported. When order_type_config is returned, support_sessions in it takes precedence.
Whether overnight trading is supported. When order_type_config is returned, support_sessions in it takes precedence.
Order type codes that support good-till-date (GTD) orders
Order type codes that accept attached orders
Whether US fractional-share trading is supported
Minimum amount, in USD, for a fractional-share order placed by amount. Orders below this amount are rejected.
Buying-power factor for market orders. Available buying power for a market order (including an untriggered market conditional order) equals buy_limit from Get Buying Power for Order Entry multiplied by this factor. Treat an empty value as 1.
Margin credit status:
0- Normal1- Credit limit is 0 and an adjustment request is under review2- Credit limit is 0 and no request is under review
When the value is 1 or 2, trades that require margin credit, such as opening a short stock position or selling to open options, cannot proceed. Tell the user to wait for review or request a limit adjustment.
012
Account risk level:
0- No additional statement is required1- The user must confirm the trade-anyway statement before ordering2- The user must confirm the important notice before ordering
012
Whether the user has confirmed the trade-anyway statement
Whether the user has confirmed the important notice
Authorization status of each trading qualification and risk statement. Keys are qualification type codes, for example us_overnight_risk_agreement (US overnight trading risk statement) and fractional_shares_risk_agreement (fractional-share trading risk statement). The server determines the other keys.
Display information of the multi-leg combination and the ratio of each leg
Child attributes
Combination code, used as the order title
Combination name
Strategy name
Ratio information of each leg
Child attributes
Security ID of the leg
Ratio quantity of the leg per combination unit. Pass it as legs[].ratio_quantity when you submit the multi-leg order