|
|||||||||
PREV NEXT | FRAMES NO FRAMES |
Uses of FXPair in com.oanda.fxtrade.api |
---|
Subinterfaces of FXPair in com.oanda.fxtrade.api | |
---|---|
interface |
Instrument
|
Methods in com.oanda.fxtrade.api that return FXPair | |
---|---|
static FXPair |
API.createFXPair()
Creates new instance of FXPair class |
static FXPair |
API.createFXPair(java.lang.String pair)
Creates new instance of FXPair class |
static FXPair |
API.createFXPair(java.lang.String base,
java.lang.String quote)
Creates new instance of FXPair class |
FXPair |
FXPair.getInverse()
Returns a new FXPair object with the base and quote currency reversed. |
FXPair |
Position.getPair()
Gets the pair of this position's open market orders. |
FXPair |
FXRateEventInfo.getPair()
Get the currency pair whose rate has changed |
FXPair |
FXTick.getPair()
|
FXPair |
Transaction.getPair()
Returns the currency pair |
FXPair |
Order.getPair()
Returns the FXPair. |
FXPair |
Transfer.getPair()
Returns the currency pair (FXPair) for this transfer. |
FXPair |
TrailingStop.getPair()
|
Methods in com.oanda.fxtrade.api that return types with arguments of type FXPair | |
---|---|
java.util.Collection<FXPair> |
RateTable.getAllSymbols()
Deprecated. Use getAllSymbols(homeCurrency) instead |
java.util.Collection<FXPair> |
RateTable.getAllSymbols(java.lang.String homeCurrency)
Retrieves all pairs both tradeable and non-tradable with respect to a home currency. |
java.util.Vector<FXPair> |
RateTable.getPairs()
Deprecated. Use getAllSymbols(homeCurrency) instead |
Methods in com.oanda.fxtrade.api with parameters of type FXPair | |
---|---|
int |
FXPair.compareTo(FXPair fxpair)
Performs a lexicographical comparison of two FXPair objects. |
java.util.Vector<? extends CandlePoint> |
RateTable.getCandles(FXPair pair,
long intervalInMillisec,
int numberOfCandles)
Obtain the current history (in terms of CandlePoints) of a given currency pair at a given millisecond interval of a particular length (numberOfCandles). |
java.util.Vector<? extends CandlePoint> |
RateTable.getCandles(FXPair pair,
long intervalInMillisec,
int numberOfCandles,
long startTime,
long endTime)
Obtain the current history (in terms of CandlePoints) of a given currency pair at a given millisecond interval of a particular length (numberOfCandles). |
java.util.Vector<? extends FXHistoryPoint> |
RateTable.getHistory(FXPair pair,
long intervalInMillisec,
int numberOfPoints)
Obtain the current history (in terms of FXHistoryPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints). |
java.util.Vector<? extends FXHistoryPoint> |
FXClient.getHistory(FXPair pair,
long interval,
int numTicks)
Deprecated. Use getHistory from the RateTable instead |
java.util.Vector<? extends FXHistoryPoint> |
RateTable.getHistory(FXPair pair,
long intervalInMillisec,
int numberOfPoints,
CacheMode cacheMode)
Obtain the current history (in terms of FXHistoryPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints). |
java.util.Vector<? extends FXHistoryPoint> |
RateTable.getHistory(FXPair pair,
long intervalInMillisec,
int numberOfPoints,
long startTime,
long endTime,
CacheMode cacheMode)
Obtain the current history (in terms of FXHistoryPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints). |
java.util.Vector<? extends MinMaxPoint> |
RateTable.getMinMaxs(FXPair pair,
long interval,
int numberOfPoints)
Obtain the current history (in terms of MinMaxPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints). |
java.util.Vector<? extends MinMaxPoint> |
RateTable.getMinMaxs(FXPair pair,
long interval,
int numberOfPoints,
long startTime,
long endTime)
Obtain the current history (in terms of MinMaxPoints) of a given currency pair at a given millisecond interval of a particular length (numberOfPoints). |
Position |
Account.getPosition(FXPair pair)
Get the currently open market position for a given pair |
FXTick |
RateTable.getRate(FXPair pair)
Returns the most recent FXTick for the given FXPair without ladder markup. |
FXTick |
RateTable.getRateForUnits(FXPair pair,
long units)
Returns the most recent FXTick for the given FXPair in the correct rung. |
java.util.Collection<FXTick> |
RateTable.getRatesForAllUnits(FXPair pair)
Returns the most recent FXTick for the given FXPair in all ladders. |
void |
Order.setPair(FXPair pair)
Sets the currency pair for this order. |
void |
Transfer.setPair(FXPair pair)
Sets the currency pair for this transfer |
Constructors in com.oanda.fxtrade.api with parameters of type FXPair | |
---|---|
FXEventKey(FXPair p)
Construct an FXEventKey corresponding to an FXPair |
|
|||||||||
PREV NEXT | FRAMES NO FRAMES |