Skip to main content

Interface: OrderTemplate

Charting Library.OrderTemplate

Input value of the Order Ticket. This information is not sufficient to place an order.

Hierarchy​

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​

OrderTemplateBase.duration


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​

OrderTemplateBase.limitPrice


qty​

Optional

qty: number

Order quantity

Inherited from​

OrderTemplateBase.qty


side​

Optional

side: Side

order / execution side

Inherited from​

OrderTemplateBase.side


stopLoss​

Optional

stopLoss: number

Order Stop loss (Brackets)

Inherited from​

OrderTemplateBase.stopLoss


stopPrice​

Optional

stopPrice: number

Order stop price

Inherited from​

OrderTemplateBase.stopPrice


stopType​

Optional

stopType: StopType

Type of Stop Order

Inherited from​

OrderTemplateBase.stopType


symbol​

symbol: string

Symbol identifier

Inherited from​

OrderTemplateBase.symbol


takeProfit​

Optional

takeProfit: number

Order Take Profit (Brackets)

Inherited from​

OrderTemplateBase.takeProfit


trailingStopPips​

Optional

trailingStopPips: number

Order Trailing stop (Brackets)

Inherited from​

OrderTemplateBase.trailingStopPips


type​

Optional

type: OrderType

Order Type

Inherited from​

OrderTemplateBase.type