Uses of Interface
com.oanda.fxtrade.api.FXTick

Uses of FXTick in com.oanda.fxtrade.api
 

Methods in com.oanda.fxtrade.api that return FXTick
static FXTick API.createFXTick(long timestamp, double bid, double ask)
          Creates new instance of FXTick class
 FXTick FXHistoryPoint.getClose()
          Returns the FXTick containing the closing bid and ask price for this FXHistoryPoint.
 FXTick Instrument.getCurrentTick()
          Get the latest tick for this instrument
 FXTick FXTick.getInverse()
          Return a new FXTick which is the inverse of this FXTick.
 FXTick FXHistoryPoint.getMax()
          Returns the FXTick containing the maximum bid and ask price for this FXHistoryPoint.
 FXTick FXHistoryPoint.getMin()
          Returns the FXTick containing the minimum bid and ask price for this FXHistoryPoint.
 FXTick FXHistoryPoint.getOpen()
          Returns the FXTick containing the opening bid and ask price for this FXHistoryPoint.
 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.
 FXTick FXRateEventInfo.getTick()
          Gets the new rate of the pair whose rate has changed
 

Methods in com.oanda.fxtrade.api that return types with arguments of type FXTick
 java.util.Collection<FXTick> RateTable.getRatesForAllUnits(FXPair pair)
          Returns the most recent FXTick for the given FXPair in all ladders.
 

Methods in com.oanda.fxtrade.api with parameters of type FXTick
 double Position.getUnrealizedPL(FXTick currPrice)
          Calculate the current profit of this position, based on the number of units and average price
 double MarketOrder.getUnrealizedPL(FXTick tick)
          Returns the unrealized profit/loss held by this order based on the provided market rate.
 



Copyright © 2005 OANDA Corporation. All Rights Reserved.