com.lmax.api.marketdata
Enum HistoricMarketDataRequest.Resolution

java.lang.Object
  extended by java.lang.Enum<HistoricMarketDataRequest.Resolution>
      extended by com.lmax.api.marketdata.HistoricMarketDataRequest.Resolution
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<HistoricMarketDataRequest.Resolution>
Enclosing interface:
HistoricMarketDataRequest

public static enum HistoricMarketDataRequest.Resolution
extends java.lang.Enum<HistoricMarketDataRequest.Resolution>

The time period the data will be aggregated over.


Enum Constant Summary
DAY
           
MINUTE
           
 
Method Summary
static HistoricMarketDataRequest.Resolution valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static HistoricMarketDataRequest.Resolution[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

MINUTE

public static final HistoricMarketDataRequest.Resolution MINUTE

DAY

public static final HistoricMarketDataRequest.Resolution DAY
Method Detail

values

public static HistoricMarketDataRequest.Resolution[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (HistoricMarketDataRequest.Resolution c : HistoricMarketDataRequest.Resolution.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static HistoricMarketDataRequest.Resolution valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
java.lang.IllegalArgumentException - if this enum type has no constant with the specified name
java.lang.NullPointerException - if the argument is null