|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Instrument
Field Summary | |
---|---|
static int |
BOND
|
static int |
COMMODITY
|
static int |
CURRENCY
|
static int |
INDEX
|
static int |
NO_MARGIN_INFO
|
Method Summary | |
---|---|
double |
getAsk()
Get current ask rate |
double |
getBid()
Get current bid rate |
int |
getCategory()
Retrieves instrument category |
double |
getClosingRate(boolean buy)
Give the closing rate based on trade type |
FXTick |
getCurrentTick()
Get the latest tick for this instrument |
double |
getMaxMargin()
Deprecated. |
int |
getMaxTradeSize()
Get max trade size |
int |
getMaxTrailingStop()
Get largest allowable trailing stop |
double |
getMean()
Get current mean rate |
int |
getMinTrailingStop()
Get smallest allowable trailing stop |
double |
getOpeningRate(boolean buy)
Give the opening rate based on trade type |
double |
getPIP()
Get value of one pip |
int |
getPipettes()
Get the number of pippettes |
int |
getPrecision()
Get instrument precision |
int |
getStatus()
Gets status of instrument. |
java.lang.String |
getSymbol()
Get the symbol for this instrument |
int |
numDecimals()
get number of decimals |
int |
numPipettes()
Get number of pippettes |
Methods inherited from interface com.oanda.fxtrade.api.FXPair |
---|
clone, compareTo, equals, getBase, getInverse, getPair, getQuote, hashCode, isHalted, setBase, setPair, setQuote, toString |
Field Detail |
---|
static final int NO_MARGIN_INFO
static final int BOND
static final int CURRENCY
static final int INDEX
static final int COMMODITY
Method Detail |
---|
double getAsk()
double getBid()
int getCategory()
double getClosingRate(boolean buy)
boolean
- buy (as opposed to sell)
FXTick getCurrentTick()
@Deprecated double getMaxMargin()
int getMaxTradeSize()
double getMean()
double getOpeningRate(boolean buy)
boolean
- buy (as opposed to sell)
double getPIP()
int getPipettes()
int getPrecision()
int getStatus()
java.lang.String getSymbol()
int numDecimals()
int numPipettes()
int getMaxTrailingStop()
int getMinTrailingStop()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |