Skip to main content
Version: v26

OrderDurationMetaInfo

Interface

Expiration options for orders

Properties

default

Optional

Default duration. Only one duration object in the durations array can have a true value for this field. The default duration will be used when the user places orders in the silent mode and it will be the selected one when the user opens Order Ticket for the first time.

Type

boolean


hasDatePicker

Optional

If it is set to true, then the Display date control in Order Ticket for this duration type will be displayed.

Type

boolean


hasTimePicker

Optional

If it is set to true, then the Display time control in Order Ticket for this duration type will be displayed.

Type

boolean


name

Localized title of the duration. The title will be displayed in the Duration control of Order Ticket.

Type

string


supportedOrderTypes

Optional

A list of order types for which this duration type will be displayed in the Duration control of Order Ticket. Default value is [OrderType.Limit, OrderType.Stop, OrderType.StopLimit].

Type

OrderType[]


value

Duration identifier

Type

string