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

com.bybit.api.client.restApi.BybitApiTradeRestClient 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.position.request.PositionDataRequest;
import com.bybit.api.client.domain.trade.request.BatchOrderRequest;
import com.bybit.api.client.domain.trade.request.TradeOrderRequest;

import java.io.IOException;
import java.util.Map;

public interface BybitApiTradeRestClient {

    // Trade
    Object getOrderHistory(TradeOrderRequest orderHistoryRequest);
    Object setDisconnectCancelAllTime(TradeOrderRequest setDcpRequest);
    Object getBorrowQuota(TradeOrderRequest borrowQuotaRequest);
    Object getOpenOrders(TradeOrderRequest order);
    Object getTradeHistory(TradeOrderRequest order);
    Object createOrder(TradeOrderRequest order);
    Object createOrder(Map payload);
    Object createOrder(String json) throws IOException;
    Object createBatchOrder(BatchOrderRequest batchOrderRequest);
    Object createBathOrder(Map payload);
    Object createBathOrder(String json) throws IOException;
    Object amendBatchOrder(BatchOrderRequest batchOrderRequest);
    Object amendBatchOrder(Map payload);
    Object amendBatchOrder(String json) throws IOException;
    Object cancelBatchOrder(BatchOrderRequest batchOrderRequest);
    Object cancelBatchOrder(Map payload);
    Object cancelBatchOrder(String json) throws IOException;
    Object cancelOrder(TradeOrderRequest order);
    Object cancelAllOrder(TradeOrderRequest order);
    Object amendOrder(TradeOrderRequest order);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy