com.bybit.api.client.domain.market.MarketInterval Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bybit-java-api Show documentation
Show all versions of bybit-java-api Show documentation
The Official Java API connector for Bybit's HTTP and WebSocket APIs.
Dive into a plethora of functionalities:
- Market Data Retrieval
- Trade Execution
- Position Management
- Account and Asset Info Retrieval
- User and Upgrade Management
— Public Websocket Streaming
- Private Websocket Streaming
- Lending Institution and Client
- Broker Earning Data
The newest version!
package com.bybit.api.client.domain.market;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Getter;
/**
* Kline/Candlestick intervals.
*/
@Getter
@JsonIgnoreProperties(ignoreUnknown = true)
public enum MarketInterval {
ONE_MINUTE("1"),
THREE_MINUTES("3"),
FIVE_MINUTES("5"),
FIFTEEN_MINUTES("15"),
HALF_HOURLY("30"),
HOURLY("60"),
TWO_HOURLY("120"),
FOUR_HOURLY("240"),
SIX_HOURLY("360"),
TWELVE_HOURLY("720"),
DAILY("D"),
WEEKLY("W"),
MONTHLY("M");
private final String intervalId;
MarketInterval(String intervalId) {
this.intervalId = intervalId;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy