|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TrailingStop
This interface represents a trailing stop loss (TS) for a MarketOrder (trade)
Method Summary | |
---|---|
double |
getCurrentValue()
The current value is the distance between the trigger price and market price. |
long |
getCurrentValueTime()
|
FXPair |
getPair()
|
long |
getTicketNumber()
|
double |
getTrailingAmount()
|
double |
getTrailingAmountAsPrice()
|
boolean |
isBuy()
|
Method Detail |
---|
FXPair getPair()
long getTicketNumber()
boolean isBuy()
true
if the trade is long, false
otherwisedouble getTrailingAmount()
double getTrailingAmountAsPrice()
double getCurrentValue()
long getCurrentValueTime()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |