https://api.lbkrs.com/v2/orders/stock_contract/available_open_quantityParameters
order_idstringqueryOriginal order id passed in when modifying an order
counter_idstringqueryRequiredUnderlying code (option contract)
currencystringqueryRequiredCurrency
actionintegerqueryRequiredBuy/sell direction:
1- Buy2- Sell
12
order_typestringqueryRequiredOrder type
pricestringqueryRequiredOrder price submitted by the Client
quantitystringqueryRequiredOrder quantity submitted by the Client
Responses
HTTP 200The request succeeded. The response body contains the result of the “Get estimated option opening quantity (server-side margin breakdown)” operation.codemessagedatadataobjectdata structureMaximum opening quantity by cash
Maximum opening quantity by financing
Initial margin
Expiry-day option margin add-on
Multi-leg margin reduction
Estimated total margin requirement
HTTP 400The service rejected the request because a business rule or input validation failed. Review the business codes and correct the request before retrying.Business status code, 0 indicates success
Human-readable result or error message.