Interface: OrderTemplate
Broker.OrderTemplate
Input value of the Order Ticket. This information is not sufficient to place an order.
Hierarchy
-
↳
OrderTemplate
Properties
currentQuotes
Optional
currentQuotes: Required<Pick<TradingQuotes, "ask" | "bid">>
Current Quotes
Inherited from
OrderTemplateBase.currentQuotes
customFields
Optional
customFields: CustomInputFieldsValues
Custom input fields
Inherited from
OrderTemplateBase.customFields
duration
Optional
duration: OrderDuration
Duration or expiration of an order
Inherited from
exitLevels
Optional
exitLevels: ExitLevelTemplate[]
Exit levels associated with the order template. Used when BrokerConfigFlags.supportMultipleExitLevels is enabled.
guaranteedStop
Optional
guaranteedStop: number
Order Guaranteed Stop loss (Brackets)
Inherited from
OrderTemplateBase.guaranteedStop
limitPrice
Optional
limitPrice: number
Order limit price
Inherited from
qty
Optional
qty: number
Order quantity
Inherited from
side
Optional
side: Side
order / execution side
Inherited from
stopLoss
Optional
stopLoss: number
Order Stop loss (Brackets)
Inherited from
stopPrice
Optional
stopPrice: number
Order stop price
Inherited from
stopType
Optional
stopType: StopType
Type of Stop Order
Inherited from
symbol
symbol: string
Symbol identifier
Inherited from
takeProfit
Optional
takeProfit: number
Order Take Profit (Brackets)
Inherited from
trailingStopPips
Optional
trailingStopPips: number
Order Trailing stop (Brackets)
Inherited from
OrderTemplateBase.trailingStopPips
type
Optional
type: OrderType
Order Type