Interface: OrderDurationMetaInfo
Broker.OrderDurationMetaInfo
Order duration options that determine how long the order remains active. Refer to Set order duration for more information.
Properties
default
• Optional
default: boolean
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.
hasDatePicker
• Optional
hasDatePicker: boolean
If it is set to true
, then the Display date control in Order Ticket for this duration type will be displayed.
hasTimePicker
• Optional
hasTimePicker: boolean
If it is set to true
, then the Display time control in Order Ticket for this duration type will be displayed.
name
• name: string
Localized title of the duration. The title will be displayed in the Duration control of Order Ticket.
supportedOrderTypes
• Optional
supportedOrderTypes: OrderType
[]
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]
.
value
• value: string
Duration identifier