Skip to main content

PreOrder

Interface
Types Module: Broker

Output value of the Order Ticket and input value of the broker's place order command. This information is sufficient to place an order.

Properties

currentQuotes

Optional

Current Quotes

Type

Required<Pick<TradingQuotes, "ask" | "bid">>


customFields

Optional

Custom input fields

Type

CustomInputFieldsValues


duration

Optional

Duration or expiration of an order

Type

OrderDuration


guaranteedStop

Optional

Order Guaranteed Stop loss (Brackets)

Type

number


isClose

Optional

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

Type

boolean


limitPrice

Optional

Order limit price

Type

number


qty

Order quantity

Type

number

Overrides

OrderTemplate.qty


side

order / execution side

Type

Side

Overrides

OrderTemplate.side


stopLoss

Optional

Order Stop loss (Brackets)

Type

number


stopPrice

Optional

Order stop price

Type

number


stopType

Optional

Type of Stop Order

Type

StopType


symbol

Symbol identifier

Type

string

Overrides

OrderTemplate.symbol


takeProfit

Optional

Order Take Profit (Brackets)

Type

number


trailingStopPips

Optional

Order Trailing stop (Brackets)

Type

number


type

Order Type

Type

OrderType

Overrides

OrderTemplate.type