enum O2GRequestParamsEnum
Brief
The enum defines a set of constants representing the name of a parameter of an order request, an instrument subscription request, and get margin requirements request.
Details
The O2GRequestFactory
.createOrderRequest
method is used to create the following requests:
Create, change, delete, and track an order;
Subscribe/unsubscribe an instrument;
Get margin requirements for an instrument.
The method uses the O2GValueMap
object as an argument.
The value map object has the setBoolean
,
setDouble
,
setInt
, and
setString
methods.
These methods are used to set the values of the O2GRequestParamsEnum
parameters.
Every parameter has two attributes: name and value.
The names of the parameters are listed in the table below.
For the set of the parameters that are required for a particular request, refer to the Trading Commands section.
The namespace is com.fxcore2
.
Static Public Fields | |
The constant represents the name of the account identification number parameter. |
|
The constant represents the name of the order amount parameter. |
|
The constant represents the name of the order direction parameter. |
|
The constant represents the name of the command parameter. |
|
The constant represents the name of the contingent order type parameter. |
|
The constant represents the name of the contingent order identification number parameter. |
|
The constant represents the name of the order request comments parameter. |
|
The constant represents the name of the net amount order parameter. |
|
The constant represents the name of the instrument identification number parameter. |
|
The constant represents the name of the order identification number parameter. |
|
The constant represents the name of the order type parameter. |
|
The constant represents the name of the order price offset parameter. |
|
The constant represents the name of the associated limit order price offset parameter. |
|
The constant represents the name of the associated stop order price offset parameter. |
|
The constant represents the name of the order pegged price parameter. |
|
The constant represents the name of the associated limit order pegged price parameter. |
|
The constant represents the name of the associated stop order pegged price parameter. |
|
The constant represents the name of the order rate parameter. |
|
The constant represents the name of the associated limit order rate parameter. |
|
The constant represents the name of the open/close range order maximum rate parameter. |
|
The constant represents the name of the open/close range order minimum rate parameter. |
|
The constant represents the name of the associated stop order rate parameter. |
|
The constant represents the name of the instrument subscription status parameter. |
|
The constant represents the name of the time-in-force order parameter. |
|
The constant represents the name of the position identification number parameter. |
|
The constant represents the name of the order trailing step parameter. |
|
The constant represents the name of the associated stop order trailing step parameter. |