com.dukascopy.api
Class TickBarSize
java.lang.Object
com.dukascopy.api.TickBarSize
public final class TickBarSize
- extends Object
TWO
public static final TickBarSize TWO
THREE
public static final TickBarSize THREE
FOUR
public static final TickBarSize FOUR
FIVE
public static final TickBarSize FIVE
JFOREX_TRADE_BAR_SIZES
public static List<TickBarSize> JFOREX_TRADE_BAR_SIZES
createJForexTickBarSizes
public static List<TickBarSize> createJForexTickBarSizes()
- Method creates and returns all available to JForex Trade Bar Sizes
- Returns:
- the list of Trade Bar Sizes
valueOf
public static TickBarSize valueOf(String str)
- The method returns appropriate TickBarSize for the passed String
- Parameters:
str -
- Returns:
- TickBarSize
valueOf
public static TickBarSize valueOf(int size)
- The method returns appropriate TickBarSize for the passed amount
- Parameters:
str -
- Returns:
- TickBarSize
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
equals
public boolean equals(Object obj)
- Overrides:
equals in class Object
getSize
public int getSize()
toString
public String toString()
- Overrides:
toString in class Object
compareTo
public int compareTo(TickBarSize tickBarSize)
Copyright © 2011. All Rights Reserved.