enum O2GRequestParamsEnum

Brief

The request parameters.

Details

O2GRequestParamsEnum is used by IO2GValueMap to fill order parameters and corresponding values in methods setBoolean, setDouble, setInt, and setString. Then IO2GValueMap can be used in IO2GRequestFactory.createOrderRequest.

Static Public Fields

AccountID

The unique number of the account the order is placed from.

AccountName

The unique name of the account (it should not be confused with AccountID). Used with the GetLastOrderUpdate command request.

Amount

The amount of the order.

BuySell

The order trade operation. Possible values: B - the order is placed to buy the instrument, S - the order is placed to sell the instrument.

Command

The command. See possible values in details.

ContingencyGroupType

The type of the contingent order which the order is linked to.

ContingencyID

The unique number of the contingent order which the order is linked to.

CustomID

The custom identifier of the order.

Id

The value of the Key request parameter to search the order with the GetLastOrderUpdate command request.

Key

The type of the order field to search the order with the GetLastOrderUpdate command request. Possible values are defined in the KeyType namespace.

NetQuantity

Defines whether the order is a netting order or not (use "y" or "Y" for netting order).

OfferID

The unique number of the instrument the order is placed for.

OrderID

The unique number of the order.

OrderType

The type of the order. See possible values in details.

PegOffset

The offset to the price specified in the PegType field.

PegOffsetLimit

The field specifies which price should be used to calculate the pegged limit order price.

PegOffsetStop

The offset to the price specified in the PegTypeStop field.

PegType

The field specifies which price should be used to calculate the pegged order price.

PegTypeLimit

The field specifies which price should be used to calculate the limit order price: O - the open price of the related trade, M - the close price (the current market price) of the related trade.

PegTypeStop

The field specifies which price should be used to calculate the pegged stop order price.

Rate

The price the order is placed at.

RateLimit

The price of the limit order.

RateMax

The maximum rate at which the order can be filled.

RateMin

The minimum rate at which the order can be filled.

RateStop

The price of the stop order.

SubscriptionStatus

Subscription status for the instrument.

TimeInForce

The Time In Force of the order. See possible values in details.

TradeID

The unique number of the position to be opened or closed by the order.

TrailStep

The number of pips the market should move before the order moves the same amount.

TrailStepStop

The number of pips the market should move in trader's favor before the trailing stop order moves the same amount.

back