Package com.bybit.api.client.impl
Class BybitApiTradeAsyncRestClientImpl
- java.lang.Object
-
- com.bybit.api.client.impl.BybitApiTradeAsyncRestClientImpl
-
- All Implemented Interfaces:
BybitApiAsyncTradeRestClient
public class BybitApiTradeAsyncRestClientImpl extends Object implements BybitApiAsyncTradeRestClient
-
-
Constructor Summary
Constructors Constructor Description BybitApiTradeAsyncRestClientImpl(String apiKey, String secret, String baseUrl, boolean debugMode, long recvWindow, String logOption)
-
Method Summary
-
-
-
Method Detail
-
getOrderHistory
public void getOrderHistory(TradeOrderRequest orderHistoryRequest, BybitApiCallback<Object> callback)
- Specified by:
getOrderHistoryin interfaceBybitApiAsyncTradeRestClient
-
setDisconnectCancelAllTime
public void setDisconnectCancelAllTime(TradeOrderRequest orderRequest, BybitApiCallback<Object> callback)
- Specified by:
setDisconnectCancelAllTimein interfaceBybitApiAsyncTradeRestClient
-
getBorrowQuota
public void getBorrowQuota(TradeOrderRequest borrowQuotaRequest, BybitApiCallback<Object> callback)
- Specified by:
getBorrowQuotain interfaceBybitApiAsyncTradeRestClient
-
getOpenOrders
public void getOpenOrders(TradeOrderRequest order, BybitApiCallback<Object> callback)
- Specified by:
getOpenOrdersin interfaceBybitApiAsyncTradeRestClient
-
getTradeHistory
public void getTradeHistory(TradeOrderRequest order, BybitApiCallback<Object> callback)
- Specified by:
getTradeHistoryin interfaceBybitApiAsyncTradeRestClient
-
createOrder
public void createOrder(TradeOrderRequest order, BybitApiCallback<Object> callback)
- Specified by:
createOrderin interfaceBybitApiAsyncTradeRestClient
-
createOrder
public void createOrder(Map<String,Object> order, BybitApiCallback<Object> callback)
- Specified by:
createOrderin interfaceBybitApiAsyncTradeRestClient
-
createOrder
public void createOrder(String order, BybitApiCallback<Object> callback) throws IOException
- Specified by:
createOrderin interfaceBybitApiAsyncTradeRestClient- Throws:
IOException
-
createBatchOrder
public void createBatchOrder(BatchOrderRequest batchOrderRequest, BybitApiCallback<Object> callback)
- Specified by:
createBatchOrderin interfaceBybitApiAsyncTradeRestClient
-
createBathOrder
public void createBathOrder(Map<String,Object> payload, BybitApiCallback<Object> callback)
- Specified by:
createBathOrderin interfaceBybitApiAsyncTradeRestClient
-
createBathOrder
public void createBathOrder(String json, BybitApiCallback<Object> callback) throws IOException
- Specified by:
createBathOrderin interfaceBybitApiAsyncTradeRestClient- Throws:
IOException
-
amendBatchOrder
public void amendBatchOrder(BatchOrderRequest batchOrderRequest, BybitApiCallback<Object> callback)
- Specified by:
amendBatchOrderin interfaceBybitApiAsyncTradeRestClient
-
amendBatchOrder
public void amendBatchOrder(Map<String,Object> payload, BybitApiCallback<Object> callback)
- Specified by:
amendBatchOrderin interfaceBybitApiAsyncTradeRestClient
-
amendBatchOrder
public void amendBatchOrder(String json, BybitApiCallback<Object> callback) throws IOException
- Specified by:
amendBatchOrderin interfaceBybitApiAsyncTradeRestClient- Throws:
IOException
-
cancelBatchOrder
public void cancelBatchOrder(BatchOrderRequest batchOrderRequest, BybitApiCallback<Object> callback)
- Specified by:
cancelBatchOrderin interfaceBybitApiAsyncTradeRestClient
-
cancelBatchOrder
public void cancelBatchOrder(Map<String,Object> payload, BybitApiCallback<Object> callback)
- Specified by:
cancelBatchOrderin interfaceBybitApiAsyncTradeRestClient
-
cancelBatchOrder
public void cancelBatchOrder(String json, BybitApiCallback<Object> callback) throws IOException
- Specified by:
cancelBatchOrderin interfaceBybitApiAsyncTradeRestClient- Throws:
IOException
-
cancelOrder
public void cancelOrder(TradeOrderRequest order, BybitApiCallback<Object> callback)
- Specified by:
cancelOrderin interfaceBybitApiAsyncTradeRestClient
-
cancelAllOrder
public void cancelAllOrder(TradeOrderRequest order, BybitApiCallback<Object> callback)
- Specified by:
cancelAllOrderin interfaceBybitApiAsyncTradeRestClient
-
amendOrder
public void amendOrder(TradeOrderRequest order, BybitApiCallback<Object> callback)
- Specified by:
amendOrderin interfaceBybitApiAsyncTradeRestClient
-
-