class Order

Parents

object

Brief

The class provides access to order information

Public Methods

getAccountId

Gets the unique identification number of the account the order is placed on

getAccountKind

Gets the type of the account the order is placed from

getAccountName

Gets the unique name of the account on which the order is placed

getAmount

Gets the amount of the order

getAtMarket

Gets the distance in pips from the current market price within which the trader allows the order to be executed

getBuySell

Gets the trade operation of the order

getContingencyType

Gets the type of the contingent order which the order is linked to

getContingentOrderID

Gets the unique identifier of an existing contingency group which the order is linked to

getExecutionRate

Gets the price the order is executed at

getExpireDate

Gets the expiration date and time of the order, applicable only to orders with the DAY or GTD time-in-force option

getFilledAmount

Gets the amount of the last order portion filled

getLifetime

Gets the time, during which the trader must accept or reject the order requoted by the dealer

getLimit

Gets the price of the limit order attached to the entry order if there is one

getLimitOrderId

Gets the unique identification number of the limit order attached to the entry order if there is one

getNetQuantity

Gets the Net Amount order flag

getOfferId

Gets the unique identification number of the instrument offer the order is placed for

getOrderId

Gets the unique identification number of the order

getOriginAmount

Gets the original amount of the order when it was placed

getParties

Gets the unique identifier of the environment that was used to place the order

getPegOffset

Gets the offset to the pegged price

getPegOffsetMax

Gets the maximum allowed offset to the pegged price

getPegOffsetMin

Gets the minimum allowed offset to the pegged price

getPegType

Gets the price used to calculate the pegged order price: O - open price, M - close price. Applicable only to stop/limit orders and secondary orders of ELS orders

getPrimaryId

Gets the unique identification number of the primary order of the ELS or OTO contingent orders to which the order is linked

getRate

Gets the price at which the order is placed

getRateMax

Gets the maximum price at which the order can be filled

getRateMin

Gets the minimum price at which the order can be filled

getRequestId

Gets the identifier of the request to create the order

getRequestTxt

Gets the custom identifier of the order

getSide

Gets the side of the stop/limit order price: 1 - above the current market price, -1 - below the current market price

getStage

Gets the order action: O - open a position, C - close a position

getStatus

Gets the status of the order

getStatusTime

Gets the date and time of the last update of the order state

getStop

Gets the price of the stop order attached to the entry order if there is one

getStopMove

Gets the pips left until the stop is moved

getStopOrderId

Gets the unique identification number of the stop order attached to the entry order if there is one

getStopTrailRate

Gets the market price at the time the order automatically moves following the market fluctuations

getStopTrailStep

Gets the number of pips the market should move before the order moves the same number of pips after it

getTimeInForce

Gets the time-in-force option of the order

getTradeId

Gets the unique identification number of the position to be opened/closed by the order

getTrailRate

Gets the market price at the time the order automatically moves following the market fluctuations

getTrailStep

Gets the number of pips the market should move before the order moves the same number of pips after it

getType

Gets the type of the order

getTypeLimit

Gets the rate type of the limit order

getTypeStop

Gets the rate type of the stop order

getValueDate

Gets the simulated delivery date when the position can be automatically closed, applicable only to orders placed from accounts with the day netting trading mode

getWorkingIndicator

Checks whether the order is active on the market or not, applicable only to secondary orders of ELS and OTO orders

Order

A constructor

back