Skip to content
Order Page Setup

Get Available Order Expiry Dates

Call this endpoint when the order page loads. It returns the dates that can be selected as the good-till-date (GTD) expiry for orders in the given market. When the Client chooses "good till date" for a limit order, conditional order, grid trading order, or take-profit/stop-loss order, the Broker App renders the expiry date picker from this list and submits the selected date as the order expiry date.

The Broker enables this capability in tenant configuration. If it is not enabled or the list is empty, the Broker App uses its own date picker and limits the selectable range according to the order configuration (the time-in-force support returned by GET /v5/orders/info).

GEThttps://api.lbkrs.com/v1/bingo/order/expiry_dates

Parameters

marketstringqueryRequired

Market code of the security, such as HK or US. It matches the market segment of the security counter_id.

Responses

HTTP 200The request succeeded. The response body contains the result of the “Get Available Order Expiry Dates” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
datearray<string>

Selectable expiry dates in yyyy-MM-dd format, in ascending order.

Whale Docs