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

com.bybit.api.client.restApi.BybitApiAsyncUserRestClient 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.preupgrade.PreUpgradeDataRequest;
import com.bybit.api.client.domain.user.UserDataRequest;

/**
 * Bybit API facade, supporting asynchronous/non-blocking access Bybit's REST API.
 */
public interface BybitApiAsyncUserRestClient {
    // Pre upgrade endpoints
    void getPreUpgradeOrderHistory(PreUpgradeDataRequest preupgradeOderHistoryRequest, BybitApiCallback callback);
    void getPreUpgradeTradeHistory(PreUpgradeDataRequest preUpgradeTradeHistoryRequest, BybitApiCallback callback);
    void getPreUpgradeClosePnl(PreUpgradeDataRequest preUpgradeClosePnlRequest, BybitApiCallback callback);
    void getPreUpgradeTransaction(PreUpgradeDataRequest preUpgradeTransactionRequest, BybitApiCallback callback);
    void getPreUpgradeOptionDelivery(PreUpgradeDataRequest preUpgradeOptionDeliveryRequest, BybitApiCallback callback);
    void getPreUpgradeUsdcSettlement(PreUpgradeDataRequest preUpgradeUsdcSettlementRequest, BybitApiCallback callback);

    // User Data
    void createSubMember(UserDataRequest subUserRequest, BybitApiCallback callback);
    void createSubAPI(UserDataRequest createApiKeyRequest, BybitApiCallback callback);
    void getSubUIDList(BybitApiCallback callback);
    void freezeSubMember(UserDataRequest freezeSubUIDRequest, BybitApiCallback callback);
    void getCurrentAPIKeyInfo(BybitApiCallback callback);
    void getUIDWalletType(UserDataRequest userDataRequest, BybitApiCallback callback);
    void modifyMasterApiKey(UserDataRequest userDataRequest, BybitApiCallback callback);
    void modifySubApiKey(UserDataRequest userDataRequest, BybitApiCallback callback);
    void deleteMasterApiKey(BybitApiCallback callback);
    void deleteSubApiKey(UserDataRequest userDataRequest, BybitApiCallback callback);
    void getAffiliateUserInfo(UserDataRequest userDataRequest, BybitApiCallback callback);

    void getSubUIDListUnlimited(UserDataRequest subUserRequest, BybitApiCallback callback);
    void getSubUIDListUnlimited(BybitApiCallback callback);
    void getSubAccAllAPIKeyInfo(UserDataRequest subUserRequest, BybitApiCallback callback);
}