|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.fxcm.fix.PegInstruction
public class PegInstruction
Note that Pegged orders are specified by the use of OrdType (40) (to denote that the order is a pegged order) and ExecInst (18) (to specify what price the order is pegged to).
| Field Summary | |
|---|---|
static com.fxcm.entity.ICode |
OBJ_TYPE
|
| Constructor Summary | |
|---|---|
PegInstruction()
|
|
| Method Summary | |
|---|---|
int |
getFXCMPegFluctuatePts()
Specifies the number trailing stop fluctuating points |
int |
getPegMoveType()
Describes whether peg is at market or trail stop |
int |
getPegOffsetType()
Type of Peg Offset (e.g. price offset, tick offset etc) |
double |
getPegOffsetValue()
Amount (signed) added to the peg for a pegged order in the context of the PegOffsetType |
int |
getPegPriceType()
Defines the type of peg. |
boolean |
isTrailingStopPegOrder()
True if Peg Instructions is TRAIL_STOP |
void |
setFXCMPegFluctuatePts(int aFXCMPegFluctuatePts)
Specifies the number trailing stop fluctuating points |
void |
setPegMoveType(int aPegMoveType)
Describes whether peg is at market or trail stop |
void |
setPegOffsetType(int aPegOffsetType)
|
void |
setPegOffsetValue(double aPegOffsetValue)
Amount (signed) added to the peg for a pegged order in the context of the PegOffsetType |
void |
setPegPriceType(int aPegPriceType)
Defines the type of peg. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final com.fxcm.entity.ICode OBJ_TYPE
| Constructor Detail |
|---|
public PegInstruction()
| Method Detail |
|---|
public int getFXCMPegFluctuatePts()
public void setFXCMPegFluctuatePts(int aFXCMPegFluctuatePts)
aFXCMPegFluctuatePts - public int getPegMoveType()
PegInstruction#TRAIL_STOPpublic void setPegMoveType(int aPegMoveType)
aPegMoveType - PegInstruction#TRAIL_STOPpublic int getPegOffsetType()
public void setPegOffsetType(int aPegOffsetType)
aPegOffsetType - public double getPegOffsetValue()
public void setPegOffsetValue(double aPegOffsetValue)
aPegOffsetValue - public int getPegPriceType()
public void setPegPriceType(int aPegPriceType)
aPegPriceType - public boolean isTrailingStopPegOrder()
public String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||