public static enum ITesterClient.InterpolationMethod extends Enum<ITesterClient.InterpolationMethod>
Enum Constant and Description |
---|
CLOSE_TICK
One tick for every bar with close price of the bar
|
CUBIC_SPLINE
Cubic spline interpolation of the prices including open/high/low/close prices
|
FOUR_TICKS
Four tick for every bar with open/high/low/close prices of the bar
|
OPEN_TICK
One tick for every bar with open price of the bar
|
Modifier and Type | Method and Description |
---|---|
static ITesterClient.InterpolationMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ITesterClient.InterpolationMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ITesterClient.InterpolationMethod OPEN_TICK
public static final ITesterClient.InterpolationMethod CLOSE_TICK
public static final ITesterClient.InterpolationMethod FOUR_TICKS
public static final ITesterClient.InterpolationMethod CUBIC_SPLINE
public static ITesterClient.InterpolationMethod[] values()
for (ITesterClient.InterpolationMethod c : ITesterClient.InterpolationMethod.values()) System.out.println(c);
public static ITesterClient.InterpolationMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2016. All rights reserved.