PreOrder
Interface
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
OptionalCurrent Quotes
Type
Required<Pick<TradingQuotes, "ask" | "bid">>
customFields
OptionalCustom input fields
Type
duration
OptionalDuration or expiration of an order
Type
isClose
OptionalIt is set to true
, if the order closes a position.
Type
boolean
limitPrice
OptionalOrder limit price
Type
number
qty
Order quantity
Type
number
Overrides
side
order / execution side
Type
Side
Overrides
stopLoss
OptionalOrder Stop loss (Brackets)
Type
number
stopPrice
OptionalOrder stop price
Type
number
stopType
OptionalType of Stop Order
Type
symbol
Symbol identifier
Type
string
Overrides
takeProfit
OptionalOrder Take Profit (Brackets)
Type
number
trailingStopPips
OptionalOrder Trailing stop (Brackets)
Type
number
type
Order Type