| Package | Description |
|---|---|
| io.gate.gateapi | |
| io.gate.gateapi.api |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
ApiClient.buildCall(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,String> cookieParams,
Map<String,Object> formParams,
String[] authNames,
ApiCallback callback)
Build HTTP call with the given options.
|
okhttp3.Request |
ApiClient.buildRequest(String path,
String method,
List<Pair> queryParams,
List<Pair> collectionQueryParams,
Object body,
Map<String,String> headerParams,
Map<String,String> cookieParams,
Map<String,Object> formParams,
String[] authNames,
ApiCallback callback)
Build an HTTP request with the given options.
|
<T> void |
ApiClient.executeAsync(okhttp3.Call call,
ApiCallback<T> callback)
|
<T> void |
ApiClient.executeAsync(okhttp3.Call call,
Type returnType,
ApiCallback<T> callback)
Execute HTTP call asynchronously.
|
| Constructor and Description |
|---|
ProgressRequestBody(okhttp3.RequestBody requestBody,
ApiCallback callback) |
ProgressResponseBody(okhttp3.ResponseBody responseBody,
ApiCallback callback) |
| Modifier and Type | Method and Description |
|---|---|
okhttp3.Call |
SpotApi.APIlistTickersRequest.buildCall(ApiCallback _callback)
Build call for listTickers
|
okhttp3.Call |
SpotApi.APIlistOrderBookRequest.buildCall(ApiCallback _callback)
Build call for listOrderBook
|
okhttp3.Call |
SpotApi.APIlistTradesRequest.buildCall(ApiCallback _callback)
Build call for listTrades
|
okhttp3.Call |
SpotApi.APIlistCandlesticksRequest.buildCall(ApiCallback _callback)
Build call for listCandlesticks
|
okhttp3.Call |
SpotApi.APIgetFeeRequest.buildCall(ApiCallback _callback)
Deprecated.
|
okhttp3.Call |
SpotApi.APIlistSpotAccountsRequest.buildCall(ApiCallback _callback)
Build call for listSpotAccounts
|
okhttp3.Call |
SpotApi.APIlistAllOpenOrdersRequest.buildCall(ApiCallback _callback)
Build call for listAllOpenOrders
|
okhttp3.Call |
SpotApi.APIlistOrdersRequest.buildCall(ApiCallback _callback)
Build call for listOrders
|
okhttp3.Call |
SpotApi.APIlistMyTradesRequest.buildCall(ApiCallback _callback)
Build call for listMyTrades
|
okhttp3.Call |
SpotApi.APIlistSpotPriceTriggeredOrdersRequest.buildCall(ApiCallback _callback)
Build call for listSpotPriceTriggeredOrders
|
okhttp3.Call |
MarginApi.APIlistMarginAccountsRequest.buildCall(ApiCallback _callback)
Build call for listMarginAccounts
|
okhttp3.Call |
MarginApi.APIlistMarginAccountBookRequest.buildCall(ApiCallback _callback)
Build call for listMarginAccountBook
|
okhttp3.Call |
MarginApi.APIlistFundingAccountsRequest.buildCall(ApiCallback _callback)
Build call for listFundingAccounts
|
okhttp3.Call |
MarginApi.APIlistLoansRequest.buildCall(ApiCallback _callback)
Build call for listLoans
|
okhttp3.Call |
MarginApi.APIlistLoanRecordsRequest.buildCall(ApiCallback _callback)
Build call for listLoanRecords
|
okhttp3.Call |
WalletApi.APIlistWithdrawalsRequest.buildCall(ApiCallback _callback)
Build call for listWithdrawals
|
okhttp3.Call |
WalletApi.APIlistDepositsRequest.buildCall(ApiCallback _callback)
Build call for listDeposits
|
okhttp3.Call |
WalletApi.APIlistSubAccountTransfersRequest.buildCall(ApiCallback _callback)
Build call for listSubAccountTransfers
|
okhttp3.Call |
WalletApi.APIlistWithdrawStatusRequest.buildCall(ApiCallback _callback)
Build call for listWithdrawStatus
|
okhttp3.Call |
WalletApi.APIlistSubAccountBalancesRequest.buildCall(ApiCallback _callback)
Build call for listSubAccountBalances
|
okhttp3.Call |
FuturesApi.APIlistFuturesOrderBookRequest.buildCall(ApiCallback _callback)
Build call for listFuturesOrderBook
|
okhttp3.Call |
FuturesApi.APIlistFuturesTradesRequest.buildCall(ApiCallback _callback)
Build call for listFuturesTrades
|
okhttp3.Call |
FuturesApi.APIlistFuturesCandlesticksRequest.buildCall(ApiCallback _callback)
Build call for listFuturesCandlesticks
|
okhttp3.Call |
FuturesApi.APIlistFuturesTickersRequest.buildCall(ApiCallback _callback)
Build call for listFuturesTickers
|
okhttp3.Call |
FuturesApi.APIlistFuturesFundingRateHistoryRequest.buildCall(ApiCallback _callback)
Build call for listFuturesFundingRateHistory
|
okhttp3.Call |
FuturesApi.APIlistFuturesInsuranceLedgerRequest.buildCall(ApiCallback _callback)
Build call for listFuturesInsuranceLedger
|
okhttp3.Call |
FuturesApi.APIlistContractStatsRequest.buildCall(ApiCallback _callback)
Build call for listContractStats
|
okhttp3.Call |
FuturesApi.APIlistLiquidatedOrdersRequest.buildCall(ApiCallback _callback)
Build call for listLiquidatedOrders
|
okhttp3.Call |
FuturesApi.APIlistFuturesAccountBookRequest.buildCall(ApiCallback _callback)
Build call for listFuturesAccountBook
|
okhttp3.Call |
FuturesApi.APIlistFuturesOrdersRequest.buildCall(ApiCallback _callback)
Build call for listFuturesOrders
|
okhttp3.Call |
FuturesApi.APIgetMyTradesRequest.buildCall(ApiCallback _callback)
Build call for getMyTrades
|
okhttp3.Call |
FuturesApi.APIlistPositionCloseRequest.buildCall(ApiCallback _callback)
Build call for listPositionClose
|
okhttp3.Call |
FuturesApi.APIlistLiquidatesRequest.buildCall(ApiCallback _callback)
Build call for listLiquidates
|
okhttp3.Call |
FuturesApi.APIlistPriceTriggeredOrdersRequest.buildCall(ApiCallback _callback)
Build call for listPriceTriggeredOrders
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryOrderBookRequest.buildCall(ApiCallback _callback)
Build call for listDeliveryOrderBook
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryTradesRequest.buildCall(ApiCallback _callback)
Build call for listDeliveryTrades
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryCandlesticksRequest.buildCall(ApiCallback _callback)
Build call for listDeliveryCandlesticks
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryTickersRequest.buildCall(ApiCallback _callback)
Build call for listDeliveryTickers
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryInsuranceLedgerRequest.buildCall(ApiCallback _callback)
Build call for listDeliveryInsuranceLedger
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryAccountBookRequest.buildCall(ApiCallback _callback)
Build call for listDeliveryAccountBook
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryOrdersRequest.buildCall(ApiCallback _callback)
Build call for listDeliveryOrders
|
okhttp3.Call |
DeliveryApi.APIgetMyDeliveryTradesRequest.buildCall(ApiCallback _callback)
Build call for getMyDeliveryTrades
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryPositionCloseRequest.buildCall(ApiCallback _callback)
Build call for listDeliveryPositionClose
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryLiquidatesRequest.buildCall(ApiCallback _callback)
Build call for listDeliveryLiquidates
|
okhttp3.Call |
DeliveryApi.APIlistDeliverySettlementsRequest.buildCall(ApiCallback _callback)
Build call for listDeliverySettlements
|
okhttp3.Call |
DeliveryApi.APIlistPriceTriggeredDeliveryOrdersRequest.buildCall(ApiCallback _callback)
Build call for listPriceTriggeredDeliveryOrders
|
okhttp3.Call |
SpotApi.cancelBatchOrdersAsync(List<CancelOrder> cancelOrder,
ApiCallback<List<CancelOrderResult>> _callback)
Cancel a batch of orders with an ID list (asynchronously)
Multiple currency pairs can be specified, but maximum 20 orders are allowed per request
|
okhttp3.Call |
SpotApi.cancelBatchOrdersCall(List<CancelOrder> cancelOrder,
ApiCallback _callback)
Build call for cancelBatchOrders
|
okhttp3.Call |
DeliveryApi.cancelDeliveryOrderAsync(String settle,
String orderId,
ApiCallback<FuturesOrder> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
DeliveryApi.cancelDeliveryOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for cancelDeliveryOrder
|
okhttp3.Call |
DeliveryApi.cancelDeliveryOrdersAsync(String settle,
String contract,
String side,
ApiCallback<List<FuturesOrder>> _callback)
Cancel all `open` orders matched (asynchronously)
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
DeliveryApi.cancelDeliveryOrdersCall(String settle,
String contract,
String side,
ApiCallback _callback)
Build call for cancelDeliveryOrders
|
okhttp3.Call |
FuturesApi.cancelFuturesOrderAsync(String settle,
String orderId,
ApiCallback<FuturesOrder> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
FuturesApi.cancelFuturesOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for cancelFuturesOrder
|
okhttp3.Call |
FuturesApi.cancelFuturesOrdersAsync(String settle,
String contract,
String side,
ApiCallback<List<FuturesOrder>> _callback)
Cancel all `open` orders matched (asynchronously)
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
FuturesApi.cancelFuturesOrdersCall(String settle,
String contract,
String side,
ApiCallback _callback)
Build call for cancelFuturesOrders
|
okhttp3.Call |
MarginApi.cancelLoanAsync(String loanId,
String currency,
ApiCallback<Loan> _callback)
Cancel lending loan (asynchronously)
Only lending loans can be cancelled
|
okhttp3.Call |
MarginApi.cancelLoanCall(String loanId,
String currency,
ApiCallback _callback)
Build call for cancelLoan
|
okhttp3.Call |
SpotApi.cancelOrderAsync(String orderId,
String currencyPair,
ApiCallback<Order> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
SpotApi.cancelOrderCall(String orderId,
String currencyPair,
ApiCallback _callback)
Build call for cancelOrder
|
okhttp3.Call |
SpotApi.cancelOrdersAsync(String currencyPair,
String side,
String account,
ApiCallback<List<Order>> _callback)
Cancel all `open` orders in specified currency pair (asynchronously)
|
okhttp3.Call |
SpotApi.cancelOrdersCall(String currencyPair,
String side,
String account,
ApiCallback _callback)
Build call for cancelOrders
|
okhttp3.Call |
DeliveryApi.cancelPriceTriggeredDeliveryOrderAsync(String settle,
String orderId,
ApiCallback<FuturesPriceTriggeredOrder> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
DeliveryApi.cancelPriceTriggeredDeliveryOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for cancelPriceTriggeredDeliveryOrder
|
okhttp3.Call |
DeliveryApi.cancelPriceTriggeredDeliveryOrderListAsync(String settle,
String contract,
ApiCallback<List<FuturesPriceTriggeredOrder>> _callback)
Cancel all open orders (asynchronously)
|
okhttp3.Call |
DeliveryApi.cancelPriceTriggeredDeliveryOrderListCall(String settle,
String contract,
ApiCallback _callback)
Build call for cancelPriceTriggeredDeliveryOrderList
|
okhttp3.Call |
FuturesApi.cancelPriceTriggeredOrderAsync(String settle,
String orderId,
ApiCallback<FuturesPriceTriggeredOrder> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
FuturesApi.cancelPriceTriggeredOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for cancelPriceTriggeredOrder
|
okhttp3.Call |
FuturesApi.cancelPriceTriggeredOrderListAsync(String settle,
String contract,
ApiCallback<List<FuturesPriceTriggeredOrder>> _callback)
Cancel all open orders (asynchronously)
|
okhttp3.Call |
FuturesApi.cancelPriceTriggeredOrderListCall(String settle,
String contract,
ApiCallback _callback)
Build call for cancelPriceTriggeredOrderList
|
okhttp3.Call |
SpotApi.cancelSpotPriceTriggeredOrderAsync(String orderId,
ApiCallback<SpotPriceTriggeredOrder> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
SpotApi.cancelSpotPriceTriggeredOrderCall(String orderId,
ApiCallback _callback)
Build call for cancelSpotPriceTriggeredOrder
|
okhttp3.Call |
SpotApi.cancelSpotPriceTriggeredOrderListAsync(String market,
String account,
ApiCallback<List<SpotPriceTriggeredOrder>> _callback)
Cancel all open orders (asynchronously)
|
okhttp3.Call |
SpotApi.cancelSpotPriceTriggeredOrderListCall(String market,
String account,
ApiCallback _callback)
Build call for cancelSpotPriceTriggeredOrderList
|
okhttp3.Call |
SpotApi.createBatchOrdersAsync(List<Order> order,
ApiCallback<List<BatchOrder>> _callback)
Create a batch of orders (asynchronously)
Batch orders requirements: 1.
|
okhttp3.Call |
SpotApi.createBatchOrdersCall(List<Order> order,
ApiCallback _callback)
Build call for createBatchOrders
|
okhttp3.Call |
DeliveryApi.createDeliveryOrderAsync(String settle,
FuturesOrder futuresOrder,
ApiCallback<FuturesOrder> _callback)
Create a futures order (asynchronously)
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
DeliveryApi.createDeliveryOrderCall(String settle,
FuturesOrder futuresOrder,
ApiCallback _callback)
Build call for createDeliveryOrder
|
okhttp3.Call |
FuturesApi.createFuturesOrderAsync(String settle,
FuturesOrder futuresOrder,
ApiCallback<FuturesOrder> _callback)
Create a futures order (asynchronously)
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
FuturesApi.createFuturesOrderCall(String settle,
FuturesOrder futuresOrder,
ApiCallback _callback)
Build call for createFuturesOrder
|
okhttp3.Call |
MarginApi.createLoanAsync(Loan loan,
ApiCallback<Loan> _callback)
Lend or borrow (asynchronously)
|
okhttp3.Call |
MarginApi.createLoanCall(Loan loan,
ApiCallback _callback)
Build call for createLoan
|
okhttp3.Call |
SpotApi.createOrderAsync(Order order,
ApiCallback<Order> _callback)
Create an order (asynchronously)
|
okhttp3.Call |
SpotApi.createOrderCall(Order order,
ApiCallback _callback)
Build call for createOrder
|
okhttp3.Call |
DeliveryApi.createPriceTriggeredDeliveryOrderAsync(String settle,
FuturesPriceTriggeredOrder futuresPriceTriggeredOrder,
ApiCallback<TriggerOrderResponse> _callback)
Create a price-triggered order (asynchronously)
|
okhttp3.Call |
DeliveryApi.createPriceTriggeredDeliveryOrderCall(String settle,
FuturesPriceTriggeredOrder futuresPriceTriggeredOrder,
ApiCallback _callback)
Build call for createPriceTriggeredDeliveryOrder
|
okhttp3.Call |
FuturesApi.createPriceTriggeredOrderAsync(String settle,
FuturesPriceTriggeredOrder futuresPriceTriggeredOrder,
ApiCallback<TriggerOrderResponse> _callback)
Create a price-triggered order (asynchronously)
|
okhttp3.Call |
FuturesApi.createPriceTriggeredOrderCall(String settle,
FuturesPriceTriggeredOrder futuresPriceTriggeredOrder,
ApiCallback _callback)
Build call for createPriceTriggeredOrder
|
okhttp3.Call |
SpotApi.createSpotPriceTriggeredOrderAsync(SpotPriceTriggeredOrder spotPriceTriggeredOrder,
ApiCallback<TriggerOrderResponse> _callback)
Create a price-triggered order (asynchronously)
|
okhttp3.Call |
SpotApi.createSpotPriceTriggeredOrderCall(SpotPriceTriggeredOrder spotPriceTriggeredOrder,
ApiCallback _callback)
Build call for createSpotPriceTriggeredOrder
|
okhttp3.Call |
FuturesApi.APIlistFuturesOrderBookRequest.executeAsync(ApiCallback<FuturesOrderBook> _callback)
Execute listFuturesOrderBook request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryOrderBookRequest.executeAsync(ApiCallback<FuturesOrderBook> _callback)
Execute listDeliveryOrderBook request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistContractStatsRequest.executeAsync(ApiCallback<List<ContractStat>> _callback)
Execute listContractStats request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliverySettlementsRequest.executeAsync(ApiCallback<List<DeliverySettlement>> _callback)
Execute listDeliverySettlements request (asynchronously)
|
okhttp3.Call |
MarginApi.APIlistFundingAccountsRequest.executeAsync(ApiCallback<List<FundingAccount>> _callback)
Execute listFundingAccounts request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistFuturesFundingRateHistoryRequest.executeAsync(ApiCallback<List<FundingRateRecord>> _callback)
Execute listFuturesFundingRateHistory request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistFuturesAccountBookRequest.executeAsync(ApiCallback<List<FuturesAccountBook>> _callback)
Execute listFuturesAccountBook request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryAccountBookRequest.executeAsync(ApiCallback<List<FuturesAccountBook>> _callback)
Execute listDeliveryAccountBook request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistFuturesCandlesticksRequest.executeAsync(ApiCallback<List<FuturesCandlestick>> _callback)
Execute listFuturesCandlesticks request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryCandlesticksRequest.executeAsync(ApiCallback<List<FuturesCandlestick>> _callback)
Execute listDeliveryCandlesticks request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistLiquidatedOrdersRequest.executeAsync(ApiCallback<List<FuturesLiquidate>> _callback)
Execute listLiquidatedOrders request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistLiquidatesRequest.executeAsync(ApiCallback<List<FuturesLiquidate>> _callback)
Execute listLiquidates request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryLiquidatesRequest.executeAsync(ApiCallback<List<FuturesLiquidate>> _callback)
Execute listDeliveryLiquidates request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistFuturesOrdersRequest.executeAsync(ApiCallback<List<FuturesOrder>> _callback)
Execute listFuturesOrders request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryOrdersRequest.executeAsync(ApiCallback<List<FuturesOrder>> _callback)
Execute listDeliveryOrders request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistPriceTriggeredOrdersRequest.executeAsync(ApiCallback<List<FuturesPriceTriggeredOrder>> _callback)
Execute listPriceTriggeredOrders request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistPriceTriggeredDeliveryOrdersRequest.executeAsync(ApiCallback<List<FuturesPriceTriggeredOrder>> _callback)
Execute listPriceTriggeredDeliveryOrders request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistFuturesTickersRequest.executeAsync(ApiCallback<List<FuturesTicker>> _callback)
Execute listFuturesTickers request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryTickersRequest.executeAsync(ApiCallback<List<FuturesTicker>> _callback)
Execute listDeliveryTickers request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistFuturesTradesRequest.executeAsync(ApiCallback<List<FuturesTrade>> _callback)
Execute listFuturesTrades request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryTradesRequest.executeAsync(ApiCallback<List<FuturesTrade>> _callback)
Execute listDeliveryTrades request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistFuturesInsuranceLedgerRequest.executeAsync(ApiCallback<List<InsuranceRecord>> _callback)
Execute listFuturesInsuranceLedger request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryInsuranceLedgerRequest.executeAsync(ApiCallback<List<InsuranceRecord>> _callback)
Execute listDeliveryInsuranceLedger request (asynchronously)
|
okhttp3.Call |
WalletApi.APIlistWithdrawalsRequest.executeAsync(ApiCallback<List<LedgerRecord>> _callback)
Execute listWithdrawals request (asynchronously)
|
okhttp3.Call |
WalletApi.APIlistDepositsRequest.executeAsync(ApiCallback<List<LedgerRecord>> _callback)
Execute listDeposits request (asynchronously)
|
okhttp3.Call |
SpotApi.APIlistCandlesticksRequest.executeAsync(ApiCallback<List<List<String>>> _callback)
Execute listCandlesticks request (asynchronously)
|
okhttp3.Call |
MarginApi.APIlistLoansRequest.executeAsync(ApiCallback<List<Loan>> _callback)
Execute listLoans request (asynchronously)
|
okhttp3.Call |
MarginApi.APIlistLoanRecordsRequest.executeAsync(ApiCallback<List<LoanRecord>> _callback)
Execute listLoanRecords request (asynchronously)
|
okhttp3.Call |
MarginApi.APIlistMarginAccountsRequest.executeAsync(ApiCallback<List<MarginAccount>> _callback)
Execute listMarginAccounts request (asynchronously)
|
okhttp3.Call |
MarginApi.APIlistMarginAccountBookRequest.executeAsync(ApiCallback<List<MarginAccountBook>> _callback)
Execute listMarginAccountBook request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIgetMyTradesRequest.executeAsync(ApiCallback<List<MyFuturesTrade>> _callback)
Execute getMyTrades request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIgetMyDeliveryTradesRequest.executeAsync(ApiCallback<List<MyFuturesTrade>> _callback)
Execute getMyDeliveryTrades request (asynchronously)
|
okhttp3.Call |
SpotApi.APIlistAllOpenOrdersRequest.executeAsync(ApiCallback<List<OpenOrders>> _callback)
Execute listAllOpenOrders request (asynchronously)
|
okhttp3.Call |
SpotApi.APIlistOrdersRequest.executeAsync(ApiCallback<List<Order>> _callback)
Execute listOrders request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistPositionCloseRequest.executeAsync(ApiCallback<List<PositionClose>> _callback)
Execute listPositionClose request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliveryPositionCloseRequest.executeAsync(ApiCallback<List<PositionClose>> _callback)
Execute listDeliveryPositionClose request (asynchronously)
|
okhttp3.Call |
SpotApi.APIlistSpotAccountsRequest.executeAsync(ApiCallback<List<SpotAccount>> _callback)
Execute listSpotAccounts request (asynchronously)
|
okhttp3.Call |
SpotApi.APIlistSpotPriceTriggeredOrdersRequest.executeAsync(ApiCallback<List<SpotPriceTriggeredOrder>> _callback)
Execute listSpotPriceTriggeredOrders request (asynchronously)
|
okhttp3.Call |
WalletApi.APIlistSubAccountBalancesRequest.executeAsync(ApiCallback<List<SubAccountBalance>> _callback)
Execute listSubAccountBalances request (asynchronously)
|
okhttp3.Call |
WalletApi.APIlistSubAccountTransfersRequest.executeAsync(ApiCallback<List<SubAccountTransfer>> _callback)
Execute listSubAccountTransfers request (asynchronously)
|
okhttp3.Call |
SpotApi.APIlistTickersRequest.executeAsync(ApiCallback<List<Ticker>> _callback)
Execute listTickers request (asynchronously)
|
okhttp3.Call |
SpotApi.APIlistTradesRequest.executeAsync(ApiCallback<List<Trade>> _callback)
Execute listTrades request (asynchronously)
|
okhttp3.Call |
SpotApi.APIlistMyTradesRequest.executeAsync(ApiCallback<List<Trade>> _callback)
Execute listMyTrades request (asynchronously)
|
okhttp3.Call |
WalletApi.APIlistWithdrawStatusRequest.executeAsync(ApiCallback<List<WithdrawStatus>> _callback)
Execute listWithdrawStatus request (asynchronously)
|
okhttp3.Call |
SpotApi.APIlistOrderBookRequest.executeAsync(ApiCallback<OrderBook> _callback)
Execute listOrderBook request (asynchronously)
|
okhttp3.Call |
SpotApi.APIgetFeeRequest.executeAsync(ApiCallback<TradeFee> _callback)
Deprecated.
|
okhttp3.Call |
MarginApi.getAutoRepayStatusAsync(ApiCallback<AutoRepaySetting> _callback)
Retrieve user auto repayment setting (asynchronously)
|
okhttp3.Call |
MarginApi.getAutoRepayStatusCall(ApiCallback _callback)
Build call for getAutoRepayStatus
|
okhttp3.Call |
SpotApi.getCurrencyAsync(String currency,
ApiCallback<Currency> _callback)
Get detail of one particular currency (asynchronously)
|
okhttp3.Call |
SpotApi.getCurrencyCall(String currency,
ApiCallback _callback)
Build call for getCurrency
|
okhttp3.Call |
SpotApi.getCurrencyPairAsync(String currencyPair,
ApiCallback<CurrencyPair> _callback)
Get detail of one single order (asynchronously)
|
okhttp3.Call |
SpotApi.getCurrencyPairCall(String currencyPair,
ApiCallback _callback)
Build call for getCurrencyPair
|
okhttp3.Call |
DeliveryApi.getDeliveryContractAsync(String settle,
String contract,
ApiCallback<DeliveryContract> _callback)
Get a single contract (asynchronously)
|
okhttp3.Call |
DeliveryApi.getDeliveryContractCall(String settle,
String contract,
ApiCallback _callback)
Build call for getDeliveryContract
|
okhttp3.Call |
DeliveryApi.getDeliveryOrderAsync(String settle,
String orderId,
ApiCallback<FuturesOrder> _callback)
Get a single order (asynchronously)
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
DeliveryApi.getDeliveryOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for getDeliveryOrder
|
okhttp3.Call |
DeliveryApi.getDeliveryPositionAsync(String settle,
String contract,
ApiCallback<Position> _callback)
Get single position (asynchronously)
|
okhttp3.Call |
DeliveryApi.getDeliveryPositionCall(String settle,
String contract,
ApiCallback _callback)
Build call for getDeliveryPosition
|
okhttp3.Call |
WalletApi.getDepositAddressAsync(String currency,
ApiCallback<DepositAddress> _callback)
Generate currency deposit address (asynchronously)
|
okhttp3.Call |
WalletApi.getDepositAddressCall(String currency,
ApiCallback _callback)
Build call for getDepositAddress
|
okhttp3.Call |
FuturesApi.getDualModePositionAsync(String settle,
String contract,
ApiCallback<List<Position>> _callback)
Retrieve position detail in dual mode (asynchronously)
|
okhttp3.Call |
FuturesApi.getDualModePositionCall(String settle,
String contract,
ApiCallback _callback)
Build call for getDualModePosition
|
okhttp3.Call |
FuturesApi.getFuturesContractAsync(String settle,
String contract,
ApiCallback<Contract> _callback)
Get a single contract (asynchronously)
|
okhttp3.Call |
FuturesApi.getFuturesContractCall(String settle,
String contract,
ApiCallback _callback)
Build call for getFuturesContract
|
okhttp3.Call |
FuturesApi.getFuturesOrderAsync(String settle,
String orderId,
ApiCallback<FuturesOrder> _callback)
Get a single order (asynchronously)
Zero-fill order cannot be retrieved 60 seconds after cancellation
|
okhttp3.Call |
FuturesApi.getFuturesOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for getFuturesOrder
|
okhttp3.Call |
MarginApi.getLoanAsync(String loanId,
String side,
ApiCallback<Loan> _callback)
Retrieve one single loan detail (asynchronously)
|
okhttp3.Call |
MarginApi.getLoanCall(String loanId,
String side,
ApiCallback _callback)
Build call for getLoan
|
okhttp3.Call |
MarginApi.getLoanRecordAsync(String loanRecordId,
String loanId,
ApiCallback<LoanRecord> _callback)
Get one single loan record (asynchronously)
|
okhttp3.Call |
MarginApi.getLoanRecordCall(String loanRecordId,
String loanId,
ApiCallback _callback)
Build call for getLoanRecord
|
okhttp3.Call |
MarginApi.getMarginCurrencyPairAsync(String currencyPair,
ApiCallback<MarginCurrencyPair> _callback)
Query one single margin currency pair (asynchronously)
|
okhttp3.Call |
MarginApi.getMarginCurrencyPairCall(String currencyPair,
ApiCallback _callback)
Build call for getMarginCurrencyPair
|
okhttp3.Call |
SpotApi.getOrderAsync(String orderId,
String currencyPair,
ApiCallback<Order> _callback)
Get a single order (asynchronously)
|
okhttp3.Call |
SpotApi.getOrderCall(String orderId,
String currencyPair,
ApiCallback _callback)
Build call for getOrder
|
okhttp3.Call |
FuturesApi.getPositionAsync(String settle,
String contract,
ApiCallback<Position> _callback)
Get single position (asynchronously)
|
okhttp3.Call |
FuturesApi.getPositionCall(String settle,
String contract,
ApiCallback _callback)
Build call for getPosition
|
okhttp3.Call |
DeliveryApi.getPriceTriggeredDeliveryOrderAsync(String settle,
String orderId,
ApiCallback<FuturesPriceTriggeredOrder> _callback)
Get a single order (asynchronously)
|
okhttp3.Call |
DeliveryApi.getPriceTriggeredDeliveryOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for getPriceTriggeredDeliveryOrder
|
okhttp3.Call |
FuturesApi.getPriceTriggeredOrderAsync(String settle,
String orderId,
ApiCallback<FuturesPriceTriggeredOrder> _callback)
Get a single order (asynchronously)
|
okhttp3.Call |
FuturesApi.getPriceTriggeredOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for getPriceTriggeredOrder
|
okhttp3.Call |
SpotApi.getSpotPriceTriggeredOrderAsync(String orderId,
ApiCallback<SpotPriceTriggeredOrder> _callback)
Get a single order (asynchronously)
|
okhttp3.Call |
SpotApi.getSpotPriceTriggeredOrderCall(String orderId,
ApiCallback _callback)
Build call for getSpotPriceTriggeredOrder
|
okhttp3.Call |
WalletApi.getTradeFeeAsync(ApiCallback<TradeFee> _callback)
Retrieve personal trading fee (asynchronously)
|
okhttp3.Call |
WalletApi.getTradeFeeCall(ApiCallback _callback)
Build call for getTradeFee
|
okhttp3.Call |
SpotApi.listCurrenciesAsync(ApiCallback<List<Currency>> _callback)
List all currencies' detail (asynchronously)
|
okhttp3.Call |
SpotApi.listCurrenciesCall(ApiCallback _callback)
Build call for listCurrencies
|
okhttp3.Call |
SpotApi.listCurrencyPairsAsync(ApiCallback<List<CurrencyPair>> _callback)
List all currency pairs supported (asynchronously)
|
okhttp3.Call |
SpotApi.listCurrencyPairsCall(ApiCallback _callback)
Build call for listCurrencyPairs
|
okhttp3.Call |
DeliveryApi.listDeliveryAccountsAsync(String settle,
ApiCallback<FuturesAccount> _callback)
Query futures account (asynchronously)
|
okhttp3.Call |
DeliveryApi.listDeliveryAccountsCall(String settle,
ApiCallback _callback)
Build call for listDeliveryAccounts
|
okhttp3.Call |
DeliveryApi.listDeliveryContractsAsync(String settle,
ApiCallback<List<DeliveryContract>> _callback)
List all futures contracts (asynchronously)
|
okhttp3.Call |
DeliveryApi.listDeliveryContractsCall(String settle,
ApiCallback _callback)
Build call for listDeliveryContracts
|
okhttp3.Call |
DeliveryApi.listDeliveryPositionsAsync(String settle,
ApiCallback<List<Position>> _callback)
List all positions of a user (asynchronously)
|
okhttp3.Call |
DeliveryApi.listDeliveryPositionsCall(String settle,
ApiCallback _callback)
Build call for listDeliveryPositions
|
okhttp3.Call |
MarginApi.listFundingBookAsync(String currency,
ApiCallback<List<FundingBookItem>> _callback)
Order book of lending loans (asynchronously)
|
okhttp3.Call |
MarginApi.listFundingBookCall(String currency,
ApiCallback _callback)
Build call for listFundingBook
|
okhttp3.Call |
FuturesApi.listFuturesAccountsAsync(String settle,
ApiCallback<FuturesAccount> _callback)
Query futures account (asynchronously)
|
okhttp3.Call |
FuturesApi.listFuturesAccountsCall(String settle,
ApiCallback _callback)
Build call for listFuturesAccounts
|
okhttp3.Call |
FuturesApi.listFuturesContractsAsync(String settle,
ApiCallback<List<Contract>> _callback)
List all futures contracts (asynchronously)
|
okhttp3.Call |
FuturesApi.listFuturesContractsCall(String settle,
ApiCallback _callback)
Build call for listFuturesContracts
|
okhttp3.Call |
MarginApi.listLoanRepaymentsAsync(String loanId,
ApiCallback<List<Repayment>> _callback)
List loan repayment records (asynchronously)
|
okhttp3.Call |
MarginApi.listLoanRepaymentsCall(String loanId,
ApiCallback _callback)
Build call for listLoanRepayments
|
okhttp3.Call |
MarginApi.listMarginCurrencyPairsAsync(ApiCallback<List<MarginCurrencyPair>> _callback)
List all supported currency pairs supported in margin trading (asynchronously)
|
okhttp3.Call |
MarginApi.listMarginCurrencyPairsCall(ApiCallback _callback)
Build call for listMarginCurrencyPairs
|
okhttp3.Call |
FuturesApi.listPositionsAsync(String settle,
ApiCallback<List<Position>> _callback)
List all positions of a user (asynchronously)
|
okhttp3.Call |
FuturesApi.listPositionsCall(String settle,
ApiCallback _callback)
Build call for listPositions
|
okhttp3.Call |
MarginApi.mergeLoansAsync(String currency,
String ids,
ApiCallback<Loan> _callback)
Merge multiple lending loans (asynchronously)
|
okhttp3.Call |
MarginApi.mergeLoansCall(String currency,
String ids,
ApiCallback _callback)
Build call for mergeLoans
|
okhttp3.Call |
MarginApi.repayLoanAsync(String loanId,
RepayRequest repayRequest,
ApiCallback<Loan> _callback)
Repay a loan (asynchronously)
|
okhttp3.Call |
MarginApi.repayLoanCall(String loanId,
RepayRequest repayRequest,
ApiCallback _callback)
Build call for repayLoan
|
okhttp3.Call |
MarginApi.setAutoRepayAsync(String status,
ApiCallback<AutoRepaySetting> _callback)
Update user's auto repayment setting (asynchronously)
|
okhttp3.Call |
MarginApi.setAutoRepayCall(String status,
ApiCallback _callback)
Build call for setAutoRepay
|
okhttp3.Call |
FuturesApi.setDualModeAsync(String settle,
Boolean dualMode,
ApiCallback<FuturesAccount> _callback)
Enable or disable dual mode (asynchronously)
Before setting dual mode, make sure all positions are closed and no orders are open
|
okhttp3.Call |
FuturesApi.setDualModeCall(String settle,
Boolean dualMode,
ApiCallback _callback)
Build call for setDualMode
|
okhttp3.Call |
WalletApi.transferAsync(Transfer transfer,
ApiCallback<Void> _callback)
Transfer between trading accounts (asynchronously)
Transfer between different accounts.
|
okhttp3.Call |
WalletApi.transferCall(Transfer transfer,
ApiCallback _callback)
Build call for transfer
|
okhttp3.Call |
WalletApi.transferWithSubAccountAsync(SubAccountTransfer subAccountTransfer,
ApiCallback<Void> _callback)
Transfer between main and sub accounts (asynchronously)
Support transferring with sub user's spot or futures account.
|
okhttp3.Call |
WalletApi.transferWithSubAccountCall(SubAccountTransfer subAccountTransfer,
ApiCallback _callback)
Build call for transferWithSubAccount
|
okhttp3.Call |
DeliveryApi.updateDeliveryPositionLeverageAsync(String settle,
String contract,
String leverage,
ApiCallback<Position> _callback)
Update position leverage (asynchronously)
|
okhttp3.Call |
DeliveryApi.updateDeliveryPositionLeverageCall(String settle,
String contract,
String leverage,
ApiCallback _callback)
Build call for updateDeliveryPositionLeverage
|
okhttp3.Call |
DeliveryApi.updateDeliveryPositionMarginAsync(String settle,
String contract,
String change,
ApiCallback<Position> _callback)
Update position margin (asynchronously)
|
okhttp3.Call |
DeliveryApi.updateDeliveryPositionMarginCall(String settle,
String contract,
String change,
ApiCallback _callback)
Build call for updateDeliveryPositionMargin
|
okhttp3.Call |
DeliveryApi.updateDeliveryPositionRiskLimitAsync(String settle,
String contract,
String riskLimit,
ApiCallback<Position> _callback)
Update position risk limit (asynchronously)
|
okhttp3.Call |
DeliveryApi.updateDeliveryPositionRiskLimitCall(String settle,
String contract,
String riskLimit,
ApiCallback _callback)
Build call for updateDeliveryPositionRiskLimit
|
okhttp3.Call |
FuturesApi.updateDualModePositionLeverageAsync(String settle,
String contract,
String leverage,
ApiCallback<List<Position>> _callback)
Update position leverage in dual mode (asynchronously)
|
okhttp3.Call |
FuturesApi.updateDualModePositionLeverageCall(String settle,
String contract,
String leverage,
ApiCallback _callback)
Build call for updateDualModePositionLeverage
|
okhttp3.Call |
FuturesApi.updateDualModePositionMarginAsync(String settle,
String contract,
String change,
ApiCallback<List<Position>> _callback)
Update position margin in dual mode (asynchronously)
|
okhttp3.Call |
FuturesApi.updateDualModePositionMarginCall(String settle,
String contract,
String change,
ApiCallback _callback)
Build call for updateDualModePositionMargin
|
okhttp3.Call |
FuturesApi.updateDualModePositionRiskLimitAsync(String settle,
String contract,
String riskLimit,
ApiCallback<List<Position>> _callback)
Update position risk limit in dual mode (asynchronously)
|
okhttp3.Call |
FuturesApi.updateDualModePositionRiskLimitCall(String settle,
String contract,
String riskLimit,
ApiCallback _callback)
Build call for updateDualModePositionRiskLimit
|
okhttp3.Call |
MarginApi.updateLoanAsync(String loanId,
LoanPatch loanPatch,
ApiCallback<Loan> _callback)
Modify a loan (asynchronously)
Only `auto_renew` modification is supported currently
|
okhttp3.Call |
MarginApi.updateLoanCall(String loanId,
LoanPatch loanPatch,
ApiCallback _callback)
Build call for updateLoan
|
okhttp3.Call |
MarginApi.updateLoanRecordAsync(String loanRecordId,
LoanPatch loanPatch,
ApiCallback<LoanRecord> _callback)
Modify a loan record (asynchronously)
Only `auto_renew` modification is supported currently
|
okhttp3.Call |
MarginApi.updateLoanRecordCall(String loanRecordId,
LoanPatch loanPatch,
ApiCallback _callback)
Build call for updateLoanRecord
|
okhttp3.Call |
FuturesApi.updatePositionLeverageAsync(String settle,
String contract,
String leverage,
ApiCallback<Position> _callback)
Update position leverage (asynchronously)
|
okhttp3.Call |
FuturesApi.updatePositionLeverageCall(String settle,
String contract,
String leverage,
ApiCallback _callback)
Build call for updatePositionLeverage
|
okhttp3.Call |
FuturesApi.updatePositionMarginAsync(String settle,
String contract,
String change,
ApiCallback<Position> _callback)
Update position margin (asynchronously)
|
okhttp3.Call |
FuturesApi.updatePositionMarginCall(String settle,
String contract,
String change,
ApiCallback _callback)
Build call for updatePositionMargin
|
okhttp3.Call |
FuturesApi.updatePositionRiskLimitAsync(String settle,
String contract,
String riskLimit,
ApiCallback<Position> _callback)
Update position risk limit (asynchronously)
|
okhttp3.Call |
FuturesApi.updatePositionRiskLimitCall(String settle,
String contract,
String riskLimit,
ApiCallback _callback)
Build call for updatePositionRiskLimit
|
okhttp3.Call |
WithdrawalApi.withdrawAsync(LedgerRecord ledgerRecord,
ApiCallback<LedgerRecord> _callback)
Withdraw (asynchronously)
|
okhttp3.Call |
WithdrawalApi.withdrawCall(LedgerRecord ledgerRecord,
ApiCallback _callback)
Build call for withdraw
|
Copyright © 2021. All rights reserved.