Skip to content
Order Page Setup

Check Next-Trading-Day Rollover

Checks, when the order page loads, whether a day (DAY) order for this security submitted now would roll to the next trading day. When the result is true, you can show "Valid until the close of the next trading day" next to the time in force on the order confirmation page. The result applies only to day orders: read is_next_day when the order trades during regular hours only, and is_next_day_after when it also trades pre-market and after-hours. A limit order for the overnight session only follows the overnight session rules and does not use this result.

GEThttps://api.lbkrs.com/v1/orders/is_next_day

Parameters

counter_idstringqueryRequired

Security ID (counter_id), for example ST/US/AAPL or ST/HK/700

Responses

HTTP 200The request succeeded. The response body contains the result of the “Check Next-Trading-Day Rollover” operation.
Standard response envelopecodemessagedata
dataobjectdata structure
is_next_dayboolean

Whether a day order that trades during regular hours only rolls to the next trading day

is_next_day_afterboolean

Whether a day order that also trades pre-market and after-hours rolls to the next trading day

Whale Docs