Package com.qtsurfer.api.client.model
Enum Class DatasetImportRequest.CadenceEnum
java.lang.Object
java.lang.Enum<DatasetImportRequest.CadenceEnum>
com.qtsurfer.api.client.model.DatasetImportRequest.CadenceEnum
- All Implemented Interfaces:
Serializable,Comparable<DatasetImportRequest.CadenceEnum>,Constable
- Enclosing class:
- DatasetImportRequest
Optional. Omitted/blank keeps native per-trade event cadence — each swap at its own timestamp, so the resulting version's `cadence` is `rt` unless the swaps happen to sit on a fixed grid (see `DatasetVersion.cadence`). Set to `1s`, `1m` or `5m` instead to get pre-aggregated candles at that width rather than raw trades (the resulting dataset's `type` becomes `klines`); any other value is `400`. Not every network supports every cadence — an unsupported combination fails asynchronously, not at request time (see `DatasetImportState.error`).
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptiongetValue()toString()Returns the enum constant of this class with the specified name.static DatasetImportRequest.CadenceEnum[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
_1S
-
_1M
-
_5M
-
-
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
-
getValue
-
toString
- Overrides:
toStringin classEnum<DatasetImportRequest.CadenceEnum>
-
fromValue
-