PreOrder
Interface
Output value of the order ticket and input value of the broker's place order command This info 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
StopType
symbol
Symbol identifier
Type
string
Overrides
takeProfit
OptionalOrder Take Profit (Brackets)
Type
number
trailingStopPips
OptionalOrder Trailing stop (Brackets)
Type
number
type
Order Type