OrderDurationMetaInfo
Order duration options that determine how long the order remains active. Refer to Set order duration for more information.
Properties
default
OptionalDefault 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
OptionalIf it is set to true
, then the Display date control in Order Ticket for this duration type will be displayed.
Type
boolean
hasTimePicker
OptionalIf 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
OptionalA 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