Enum Class FundingRateValueSource
java.lang.Object
java.lang.Enum<FundingRateValueSource>
com.wualabs.qtsurfer.engine.indicators.core.FundingRateValueSource
- All Implemented Interfaces:
Serializable, Comparable<FundingRateValueSource>, Constable
FundingRate enumeration of value sources, aligned with XChange's FundingRateInterval.
H1 uses the dedicated 1-hour funding rate field, while H2..H8 use the main funding rate field whose actual interval is determined by the exchange.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic FundingRateValueSourceReturns the enum constant of this class with the specified name.static FundingRateValueSource[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
H1
-
H2
-
H4
-
H6
-
H8
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-