All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.bybit.api.client.restApi.BybitApiAsyncMarketDataRestClient Maven / Gradle / Ivy

Go to download

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.restApi;

import com.bybit.api.client.domain.announcement.request.AnnouncementInfoRequest;
import com.bybit.api.client.domain.market.request.MarketDataRequest;

public interface BybitApiAsyncMarketDataRestClient {
    // Market endpoints
    void getServerTime(BybitApiCallback callback);
    void getMarketLinesData(MarketDataRequest marketKlineRequest, BybitApiCallback callback);
    void getMarketPriceLinesData(MarketDataRequest marketKlineRequest, BybitApiCallback callback);
    void getIndexPriceLinesData(MarketDataRequest marketKlineRequest, BybitApiCallback callback);
    void getPremiumIndexPriceLinesData(MarketDataRequest marketKlineRequest, BybitApiCallback callback);
    void getInstrumentsInfo(MarketDataRequest instrumentInfoRequest, BybitApiCallback callback);
    void getMarketOrderBook(MarketDataRequest marketOrderBookRequest, BybitApiCallback callback);
    void getMarketTickers(MarketDataRequest marketDataTickerRequest, BybitApiCallback callback);
    void getFundingHistory(MarketDataRequest fundingHistoryRequest, BybitApiCallback callback);
    void getRecentTradeData(MarketDataRequest recentTradeRequest, BybitApiCallback callback);
    void getOpenInterest(MarketDataRequest openInterestRequest, BybitApiCallback callback);
    void getHistoricalVolatility(MarketDataRequest historicalVolatilityRequest, BybitApiCallback callback);
    void getInsurance(MarketDataRequest marketDataRequest, BybitApiCallback callback);
    void getInsurance(BybitApiCallback callback);
    void getRiskLimit(MarketDataRequest marketRiskLimitRequest, BybitApiCallback callback);
    void getDeliveryPrice(MarketDataRequest deliveryPriceRequest, BybitApiCallback callback);
    void getMarketAccountRatio(MarketDataRequest marketAccountRatioRequest, BybitApiCallback callback);
    void getAnnouncementInfo(MarketDataRequest announcementInfoRequest, BybitApiCallback callback);
}