enum O2GRequestParamsEnum

Brief

The request parameters.

Details

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

The type defined in the fxcore2.dll assembly. The namespace is fxcore2.

Static Public Fields

AccountID

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

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.

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 offset to the price specified in the PegTypeLimit field.

PegOffsetStop

The offset to the price specified in the PegTypeStop field.

PegType

"Pegged" means that the price is specified as an offset (in pips) against the market price. The field specifies which price should be used to calculate the order price: O - the open price of the related trade, M - the close price (the current market price) of the related trade.

PegTypeLimit

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

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. Possible values: "T" - trade subscription enabled, "D" - disabled (subscription would disabled in Trading Station only, order still can be created, and "D" would be changed to "T").

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