public static enum ITesterClient.DataLoadingMethod extends Enum<ITesterClient.DataLoadingMethod>
Enum Constant and Description |
---|
ALL_TICKS
All ticks will be loaded
|
DIFFERENT_PRICE_TICKS
The current Tick will be skipped in case if it has the same ask and bid prices as previous Tick
|
PIVOT_TICKS
Pivot or extremum Ticks will be loaded
|
TICKS_WITH_PRICE_DIFFERENCE_IN_PIPS
Ticks with price difference greater or equal to the specified number of pips will be loaded
|
TICKS_WITH_TIME_INTERVAL
Ticks with time difference greater or equal to the specified time interval will be loaded
|
Modifier and Type | Method and Description |
---|---|
int |
getPriceDifferenceInPips()
Returns price difference in pips
|
long |
getTimeIntervalBetweenTicks()
Returns time interval in milliseconds.
|
void |
setPriceDifferenceInPips(int priceDifferenceInPips)
Sets the price difference in pips.
|
void |
setTimeIntervalBetweenTicks(long timeIntervalBetweenTicks)
Sets the time interval in milliseconds.
|
static ITesterClient.DataLoadingMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ITesterClient.DataLoadingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ITesterClient.DataLoadingMethod ALL_TICKS
public static final ITesterClient.DataLoadingMethod DIFFERENT_PRICE_TICKS
public static final ITesterClient.DataLoadingMethod PIVOT_TICKS
public static final ITesterClient.DataLoadingMethod TICKS_WITH_PRICE_DIFFERENCE_IN_PIPS
public static final ITesterClient.DataLoadingMethod TICKS_WITH_TIME_INTERVAL
public static ITesterClient.DataLoadingMethod[] values()
for (ITesterClient.DataLoadingMethod c : ITesterClient.DataLoadingMethod.values()) System.out.println(c);
public static ITesterClient.DataLoadingMethod 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 nullpublic void setPriceDifferenceInPips(int priceDifferenceInPips)
priceDifferenceInPips
- price difference in pipsTICKS_WITH_PRICE_DIFFERENCE_IN_PIPS
public int getPriceDifferenceInPips()
TICKS_WITH_PRICE_DIFFERENCE_IN_PIPS
public void setTimeIntervalBetweenTicks(long timeIntervalBetweenTicks)
timeIntervalBetweenTicks
- time interval in millisecondsTICKS_WITH_TIME_INTERVAL
public long getTimeIntervalBetweenTicks()
TICKS_WITH_TIME_INTERVAL
Copyright © 2016. All rights reserved.