com.jfx
Class TradeOperation

java.lang.Object
  extended by com.jfx.TradeOperation

public class TradeOperation
extends java.lang.Object

Operation type for the OrderSend() function


Field Summary
static int _OP_BUY
           
static int _OP_BUYLIMIT
           
static int _OP_BUYSTOP
           
static int _OP_SELL
           
static int _OP_SELLLIMIT
           
static int _OP_SELLSTOP
           
static TradeOperation OP_BUY
          Buying position.
static TradeOperation OP_BUYLIMIT
          Buy limit pending position.
static TradeOperation OP_BUYSTOP
          Buy stop pending position.
static TradeOperation OP_SELL
          Selling position.
static TradeOperation OP_SELLLIMIT
          Sell limit pending position.
static TradeOperation OP_SELLSTOP
          Sell stop pending position.
 int val
           
 
Method Summary
static TradeOperation getTradeOperation(int val)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

OP_BUY

public static final TradeOperation OP_BUY
Buying position.


_OP_BUY

public static final int _OP_BUY
See Also:
Constant Field Values

OP_SELL

public static final TradeOperation OP_SELL
Selling position.


_OP_SELL

public static final int _OP_SELL
See Also:
Constant Field Values

OP_BUYLIMIT

public static final TradeOperation OP_BUYLIMIT
Buy limit pending position.


_OP_BUYLIMIT

public static final int _OP_BUYLIMIT
See Also:
Constant Field Values

OP_SELLLIMIT

public static final TradeOperation OP_SELLLIMIT
Sell limit pending position.


_OP_SELLLIMIT

public static final int _OP_SELLLIMIT
See Also:
Constant Field Values

OP_BUYSTOP

public static final TradeOperation OP_BUYSTOP
Buy stop pending position.


_OP_BUYSTOP

public static final int _OP_BUYSTOP
See Also:
Constant Field Values

OP_SELLSTOP

public static final TradeOperation OP_SELLSTOP
Sell stop pending position.


_OP_SELLSTOP

public static final int _OP_SELLSTOP
See Also:
Constant Field Values

val

public int val
Method Detail

getTradeOperation

public static TradeOperation getTradeOperation(int val)


Copyright © 2008-2009 Roman Gerasimenko.