Skip to main content

Interface: PreOrder

Broker.PreOrder

Output value of the Order Ticket and input value of the broker's place order command. This information is 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


guaranteedStop

Optional guaranteedStop: number

Order Guaranteed Stop loss (Brackets)

Inherited from

OrderTemplateBase.guaranteedStop


isClose

Optional isClose: boolean

It is set to true, if the order closes a position.


limitPrice

Optional limitPrice: number

Order limit price

Inherited from

OrderTemplateBase.limitPrice


qty

qty: number

Order quantity

Overrides

OrderTemplateBase.qty


side

side: Side

order / execution side

Overrides

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

Overrides

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

type: OrderType

Order Type

Overrides

OrderTemplateBase.type