com.oanda.fxtrade.api
Interface MinMaxPoint

All Superinterfaces:
java.lang.Cloneable

public interface MinMaxPoint
extends java.lang.Cloneable

MinMaxPoint class is a container for min/max graph information. A MinMaxPoint is calculated from a HistoryPoint directly

See Also:
FXHistoryPoint

Method Summary
 java.lang.Object clone()
           
 double getMax()
          Return the maximum ask price for the interval
 double getMin()
          Return the minimum bid price for the interval
 long getTimestamp()
          Return the server timestamp for this MinMaxPoint (time in seconds after the beginning of the epoch).
 java.lang.String toString()
          Convert MinMaxPoint to a string
 

Method Detail

clone

java.lang.Object clone()

getMax

double getMax()
Return the maximum ask price for the interval

Returns:
maximum

getMin

double getMin()
Return the minimum bid price for the interval

Returns:
minimum

getTimestamp

long getTimestamp()
Return the server timestamp for this MinMaxPoint (time in seconds after the beginning of the epoch). Timestamp corresponds to the beginning of the interval (ending is the start-1 of the next interval).

Returns:
timestamp

toString

java.lang.String toString()
Convert MinMaxPoint to a string

Overrides:
toString in class java.lang.Object


Copyright © 2005 OANDA Corporation. All Rights Reserved.