| 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 |
FuturesApi.amendFuturesOrderAsync(String settle,
String orderId,
FuturesOrderAmendment futuresOrderAmendment,
ApiCallback<FuturesOrder> _callback)
Amend an order (asynchronously)
|
okhttp3.Call |
FuturesApi.amendFuturesOrderCall(String settle,
String orderId,
FuturesOrderAmendment futuresOrderAmendment,
ApiCallback _callback)
Build call for amendFuturesOrder
|
okhttp3.Call |
SpotApi.amendOrderAsync(String orderId,
String currencyPair,
OrderPatch orderPatch,
String account,
ApiCallback<Order> _callback)
Amend an order (asynchronously)
By default, the orders of spot and margin account are updated.
|
okhttp3.Call |
SpotApi.amendOrderCall(String orderId,
String currencyPair,
OrderPatch orderPatch,
String account,
ApiCallback _callback)
Build call for amendOrder
|
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.APIgetMarginTransferableRequest.buildCall(ApiCallback _callback)
Build call for getMarginTransferable
|
okhttp3.Call |
MarginApi.APIlistLoansRequest.buildCall(ApiCallback _callback)
Build call for listLoans
|
okhttp3.Call |
MarginApi.APIlistLoanRecordsRequest.buildCall(ApiCallback _callback)
Build call for listLoanRecords
|
okhttp3.Call |
MarginApi.APIgetMarginBorrowableRequest.buildCall(ApiCallback _callback)
Build call for getMarginBorrowable
|
okhttp3.Call |
MarginApi.APIlistCrossMarginAccountBookRequest.buildCall(ApiCallback _callback)
Build call for listCrossMarginAccountBook
|
okhttp3.Call |
MarginApi.APIlistCrossMarginLoansRequest.buildCall(ApiCallback _callback)
Build call for listCrossMarginLoans
|
okhttp3.Call |
MarginApi.APIlistCrossMarginRepaymentsRequest.buildCall(ApiCallback _callback)
Build call for listCrossMarginRepayments
|
okhttp3.Call |
MarginApi.APIgetCrossMarginInterestRecordsRequest.buildCall(ApiCallback _callback)
Build call for getCrossMarginInterestRecords
|
okhttp3.Call |
SubAccountApi.APIlistSubAccountsRequest.buildCall(ApiCallback _callback)
Build call for listSubAccounts
|
okhttp3.Call |
OptionsApi.APIlistOptionsContractsRequest.buildCall(ApiCallback _callback)
Build call for listOptionsContracts
|
okhttp3.Call |
OptionsApi.APIlistOptionsSettlementsRequest.buildCall(ApiCallback _callback)
Build call for listOptionsSettlements
|
okhttp3.Call |
OptionsApi.APIlistMyOptionsSettlementsRequest.buildCall(ApiCallback _callback)
Build call for listMyOptionsSettlements
|
okhttp3.Call |
OptionsApi.APIlistOptionsOrderBookRequest.buildCall(ApiCallback _callback)
Build call for listOptionsOrderBook
|
okhttp3.Call |
OptionsApi.APIlistOptionsCandlesticksRequest.buildCall(ApiCallback _callback)
Build call for listOptionsCandlesticks
|
okhttp3.Call |
OptionsApi.APIlistOptionsUnderlyingCandlesticksRequest.buildCall(ApiCallback _callback)
Build call for listOptionsUnderlyingCandlesticks
|
okhttp3.Call |
OptionsApi.APIlistOptionsTradesRequest.buildCall(ApiCallback _callback)
Build call for listOptionsTrades
|
okhttp3.Call |
OptionsApi.APIlistOptionsAccountBookRequest.buildCall(ApiCallback _callback)
Build call for listOptionsAccountBook
|
okhttp3.Call |
OptionsApi.APIlistOptionsPositionsRequest.buildCall(ApiCallback _callback)
Build call for listOptionsPositions
|
okhttp3.Call |
OptionsApi.APIlistOptionsPositionCloseRequest.buildCall(ApiCallback _callback)
Build call for listOptionsPositionClose
|
okhttp3.Call |
OptionsApi.APIlistOptionsOrdersRequest.buildCall(ApiCallback _callback)
Build call for listOptionsOrders
|
okhttp3.Call |
OptionsApi.APIlistMyOptionsTradesRequest.buildCall(ApiCallback _callback)
Build call for listMyOptionsTrades
|
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 |
WalletApi.APIlistSubAccountMarginBalancesRequest.buildCall(ApiCallback _callback)
Build call for listSubAccountMarginBalances
|
okhttp3.Call |
WalletApi.APIlistSubAccountFuturesBalancesRequest.buildCall(ApiCallback _callback)
Build call for listSubAccountFuturesBalances
|
okhttp3.Call |
WalletApi.APIlistSubAccountCrossMarginBalancesRequest.buildCall(ApiCallback _callback)
Build call for listSubAccountCrossMarginBalances
|
okhttp3.Call |
WalletApi.APIlistSavedAddressRequest.buildCall(ApiCallback _callback)
Build call for listSavedAddress
|
okhttp3.Call |
WalletApi.APIgetTradeFeeRequest.buildCall(ApiCallback _callback)
Build call for getTradeFee
|
okhttp3.Call |
WalletApi.APIgetTotalBalanceRequest.buildCall(ApiCallback _callback)
Build call for getTotalBalance
|
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.APIlistFuturesPremiumIndexRequest.buildCall(ApiCallback _callback)
Build call for listFuturesPremiumIndex
|
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.APIgetMyTradesWithTimeRangeRequest.buildCall(ApiCallback _callback)
Build call for getMyTradesWithTimeRange
|
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.APIlistAutoDeleveragesRequest.buildCall(ApiCallback _callback)
Build call for listAutoDeleverages
|
okhttp3.Call |
FuturesApi.APIlistPriceTriggeredOrdersRequest.buildCall(ApiCallback _callback)
Build call for listPriceTriggeredOrders
|
okhttp3.Call |
MarginUniApi.APIlistUniLoansRequest.buildCall(ApiCallback _callback)
Build call for listUniLoans
|
okhttp3.Call |
MarginUniApi.APIlistUniLoanRecordsRequest.buildCall(ApiCallback _callback)
Build call for listUniLoanRecords
|
okhttp3.Call |
MarginUniApi.APIlistUniLoanInterestRecordsRequest.buildCall(ApiCallback _callback)
Build call for listUniLoanInterestRecords
|
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 |
RebateApi.APIagencyTransactionHistoryRequest.buildCall(ApiCallback _callback)
Build call for agencyTransactionHistory
|
okhttp3.Call |
RebateApi.APIagencyCommissionsHistoryRequest.buildCall(ApiCallback _callback)
Build call for agencyCommissionsHistory
|
okhttp3.Call |
EarnUniApi.APIlistUserUniLendsRequest.buildCall(ApiCallback _callback)
Build call for listUserUniLends
|
okhttp3.Call |
EarnUniApi.APIlistUniLendRecordsRequest.buildCall(ApiCallback _callback)
Build call for listUniLendRecords
|
okhttp3.Call |
EarnUniApi.APIlistUniInterestRecordsRequest.buildCall(ApiCallback _callback)
Build call for listUniInterestRecords
|
okhttp3.Call |
FlashSwapApi.APIlistFlashSwapOrdersRequest.buildCall(ApiCallback _callback)
Build call for listFlashSwapOrders
|
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-filled order cannot be retrieved 10 minutes after order 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-filled order cannot be retrieved 10 minutes after order 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(Deprecated) (asynchronously)
Only lent loans can be cancelled
|
okhttp3.Call |
MarginApi.cancelLoanCall(String loanId,
String currency,
ApiCallback _callback)
Build call for cancelLoan
|
okhttp3.Call |
OptionsApi.cancelOptionsOrderAsync(Long orderId,
ApiCallback<OptionsOrder> _callback)
Cancel a single order (asynchronously)
|
okhttp3.Call |
OptionsApi.cancelOptionsOrderCall(Long orderId,
ApiCallback _callback)
Build call for cancelOptionsOrder
|
okhttp3.Call |
OptionsApi.cancelOptionsOrdersAsync(String contract,
String underlying,
String side,
ApiCallback<List<OptionsOrder>> _callback)
Cancel all `open` orders matched (asynchronously)
|
okhttp3.Call |
OptionsApi.cancelOptionsOrdersCall(String contract,
String underlying,
String side,
ApiCallback _callback)
Build call for cancelOptionsOrders
|
okhttp3.Call |
SpotApi.cancelOrderAsync(String orderId,
String currencyPair,
String account,
ApiCallback<Order> _callback)
Cancel a single order (asynchronously)
Spot and margin orders are cancelled by default.
|
okhttp3.Call |
SpotApi.cancelOrderCall(String orderId,
String currencyPair,
String account,
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)
If `account` is not set, all open orders, including spot, margin and cross margin ones, will be cancelled.
|
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 price-triggered 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 price-triggered 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 price-triggered 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 |
WithdrawalApi.cancelWithdrawalAsync(String withdrawalId,
ApiCallback<LedgerRecord> _callback)
Cancel withdrawal with specified ID (asynchronously)
|
okhttp3.Call |
WithdrawalApi.cancelWithdrawalCall(String withdrawalId,
ApiCallback _callback)
Build call for cancelWithdrawal
|
okhttp3.Call |
EarnUniApi.changeUniLendAsync(PatchUniLend patchUniLend,
ApiCallback<Void> _callback)
Amend lending order (asynchronously)
Currently only supports amending the minimum interest rate (hour)
|
okhttp3.Call |
EarnUniApi.changeUniLendCall(PatchUniLend patchUniLend,
ApiCallback _callback)
Build call for changeUniLend
|
okhttp3.Call |
FuturesApi.countdownCancelAllFuturesAsync(String settle,
CountdownCancelAllFuturesTask countdownCancelAllFuturesTask,
ApiCallback<TriggerTime> _callback)
Countdown cancel orders (asynchronously)
When the timeout set by the user is reached, if there is no cancel or set a new countdown, the related pending orders will be automatically cancelled.
|
okhttp3.Call |
FuturesApi.countdownCancelAllFuturesCall(String settle,
CountdownCancelAllFuturesTask countdownCancelAllFuturesTask,
ApiCallback _callback)
Build call for countdownCancelAllFutures
|
okhttp3.Call |
SpotApi.countdownCancelAllSpotAsync(CountdownCancelAllSpotTask countdownCancelAllSpotTask,
ApiCallback<TriggerTime> _callback)
Countdown cancel orders (asynchronously)
When the timeout set by the user is reached, if there is no cancel or set a new countdown, the related pending orders will be automatically cancelled.
|
okhttp3.Call |
SpotApi.countdownCancelAllSpotCall(CountdownCancelAllSpotTask countdownCancelAllSpotTask,
ApiCallback _callback)
Build call for countdownCancelAllSpot
|
okhttp3.Call |
FuturesApi.createBatchFuturesOrderAsync(String settle,
List<FuturesOrder> futuresOrder,
ApiCallback<List<BatchFuturesOrder>> _callback)
Create a batch of futures orders (asynchronously)
- Up to 10 orders per request - If any of the order's parameters are missing or in the wrong format, all of them will not be executed, and a http status 400 error will be returned directly - If the parameters are checked and passed, all are executed.
|
okhttp3.Call |
FuturesApi.createBatchFuturesOrderCall(String settle,
List<FuturesOrder> futuresOrder,
ApiCallback _callback)
Build call for createBatchFuturesOrder
|
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 |
SpotApi.createCrossLiquidateOrderAsync(LiquidateOrder liquidateOrder,
ApiCallback<Order> _callback)
close position when cross-currency is disabled (asynchronously)
Currently, only cross-margin accounts are supported to close position when cross currencies are disabled.
|
okhttp3.Call |
SpotApi.createCrossLiquidateOrderCall(LiquidateOrder liquidateOrder,
ApiCallback _callback)
Build call for createCrossLiquidateOrder
|
okhttp3.Call |
MarginApi.createCrossMarginLoanAsync(CrossMarginLoan crossMarginLoan,
ApiCallback<CrossMarginLoan> _callback)
Create a cross margin borrow loan (asynchronously)
Borrow amount cannot be less than currency minimum borrow amount
|
okhttp3.Call |
MarginApi.createCrossMarginLoanCall(CrossMarginLoan crossMarginLoan,
ApiCallback _callback)
Build call for createCrossMarginLoan
|
okhttp3.Call |
DeliveryApi.createDeliveryOrderAsync(String settle,
FuturesOrder futuresOrder,
ApiCallback<FuturesOrder> _callback)
Create a futures order (asynchronously)
Zero-filled order cannot be retrieved 10 minutes after order cancellation
|
okhttp3.Call |
DeliveryApi.createDeliveryOrderCall(String settle,
FuturesOrder futuresOrder,
ApiCallback _callback)
Build call for createDeliveryOrder
|
okhttp3.Call |
FlashSwapApi.createFlashSwapOrderAsync(FlashSwapOrderRequest flashSwapOrderRequest,
ApiCallback<FlashSwapOrder> _callback)
Create a flash swap order (asynchronously)
Initiate a flash swap preview in advance because order creation requires a preview result
|
okhttp3.Call |
FlashSwapApi.createFlashSwapOrderCall(FlashSwapOrderRequest flashSwapOrderRequest,
ApiCallback _callback)
Build call for createFlashSwapOrder
|
okhttp3.Call |
FuturesApi.createFuturesOrderAsync(String settle,
FuturesOrder futuresOrder,
ApiCallback<FuturesOrder> _callback)
Create a futures order (asynchronously)
- Creating futures orders requires `size`, which is number of contracts instead of currency amount.
|
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(Deprecated) (asynchronously)
|
okhttp3.Call |
MarginApi.createLoanCall(Loan loan,
ApiCallback _callback)
Build call for createLoan
|
okhttp3.Call |
OptionsApi.createOptionsOrderAsync(OptionsOrder optionsOrder,
ApiCallback<OptionsOrder> _callback)
Create an options order (asynchronously)
|
okhttp3.Call |
OptionsApi.createOptionsOrderCall(OptionsOrder optionsOrder,
ApiCallback _callback)
Build call for createOptionsOrder
|
okhttp3.Call |
SpotApi.createOrderAsync(Order order,
ApiCallback<Order> _callback)
Create an order (asynchronously)
You can place orders with spot, margin or cross margin account through setting the `account `field.
|
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 |
SubAccountApi.createSubAccountKeysAsync(Long userId,
SubAccountKey subAccountKey,
ApiCallback<List<SubAccountKey>> _callback)
Create API Key of the sub-account (asynchronously)
|
okhttp3.Call |
SubAccountApi.createSubAccountKeysCall(Long userId,
SubAccountKey subAccountKey,
ApiCallback _callback)
Build call for createSubAccountKeys
|
okhttp3.Call |
SubAccountApi.createSubAccountsAsync(SubAccount subAccount,
ApiCallback<SubAccount> _callback)
Create a new sub-account (asynchronously)
|
okhttp3.Call |
SubAccountApi.createSubAccountsCall(SubAccount subAccount,
ApiCallback _callback)
Build call for createSubAccounts
|
okhttp3.Call |
EarnUniApi.createUniLendAsync(CreateUniLend createUniLend,
ApiCallback<Void> _callback)
Lend or redeem (asynchronously)
`Lending`: The minimum interest rate is required in lending.
|
okhttp3.Call |
EarnUniApi.createUniLendCall(CreateUniLend createUniLend,
ApiCallback _callback)
Build call for createUniLend
|
okhttp3.Call |
MarginUniApi.createUniLoanAsync(CreateUniLoan createUniLoan,
ApiCallback<Void> _callback)
Borrow or repay (asynchronously)
|
okhttp3.Call |
MarginUniApi.createUniLoanCall(CreateUniLoan createUniLoan,
ApiCallback _callback)
Build call for createUniLoan
|
okhttp3.Call |
SubAccountApi.deleteSubAccountKeysAsync(Integer userId,
String key,
ApiCallback<Void> _callback)
Delete API key of the sub-account (asynchronously)
|
okhttp3.Call |
SubAccountApi.deleteSubAccountKeysCall(Integer userId,
String key,
ApiCallback _callback)
Build call for deleteSubAccountKeys
|
okhttp3.Call |
OptionsApi.APIlistOptionsOrderBookRequest.executeAsync(ApiCallback<FuturesOrderBook> _callback)
Execute listOptionsOrderBook request (asynchronously)
|
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 |
RebateApi.APIagencyCommissionsHistoryRequest.executeAsync(ApiCallback<List<AgencyCommissionHistory>> _callback)
Execute agencyCommissionsHistory request (asynchronously)
|
okhttp3.Call |
RebateApi.APIagencyTransactionHistoryRequest.executeAsync(ApiCallback<List<AgencyTransactionHistory>> _callback)
Execute agencyTransactionHistory request (asynchronously)
|
okhttp3.Call |
FuturesApi.APIlistContractStatsRequest.executeAsync(ApiCallback<List<ContractStat>> _callback)
Execute listContractStats request (asynchronously)
|
okhttp3.Call |
MarginApi.APIlistCrossMarginAccountBookRequest.executeAsync(ApiCallback<List<CrossMarginAccountBook>> _callback)
Execute listCrossMarginAccountBook request (asynchronously)
|
okhttp3.Call |
MarginApi.APIlistCrossMarginLoansRequest.executeAsync(ApiCallback<List<CrossMarginLoan>> _callback)
Execute listCrossMarginLoans request (asynchronously)
|
okhttp3.Call |
MarginApi.APIlistCrossMarginRepaymentsRequest.executeAsync(ApiCallback<List<CrossMarginRepayment>> _callback)
Execute listCrossMarginRepayments request (asynchronously)
|
okhttp3.Call |
DeliveryApi.APIlistDeliverySettlementsRequest.executeAsync(ApiCallback<List<DeliverySettlement>> _callback)
Execute listDeliverySettlements request (asynchronously)
|
okhttp3.Call |
FlashSwapApi.APIlistFlashSwapOrdersRequest.executeAsync(ApiCallback<List<FlashSwapOrder>> _callback)
Execute listFlashSwapOrders 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.APIlistAutoDeleveragesRequest.executeAsync(ApiCallback<List<FuturesAutoDeleverage>> _callback)
Execute listAutoDeleverages request (asynchronously)
|
okhttp3.Call |
OptionsApi.APIlistOptionsUnderlyingCandlesticksRequest.executeAsync(ApiCallback<List<FuturesCandlestick>> _callback)
Execute listOptionsUnderlyingCandlesticks 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.APIlistFuturesPremiumIndexRequest.executeAsync(ApiCallback<List<FuturesPremiumIndex>> _callback)
Execute listFuturesPremiumIndex 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 |
OptionsApi.APIlistOptionsTradesRequest.executeAsync(ApiCallback<List<FuturesTrade>> _callback)
Execute listOptionsTrades 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 |
FuturesApi.APIgetMyTradesWithTimeRangeRequest.executeAsync(ApiCallback<List<MyFuturesTradeTimeRange>> _callback)
Execute getMyTradesWithTimeRange request (asynchronously)
|
okhttp3.Call |
SpotApi.APIlistAllOpenOrdersRequest.executeAsync(ApiCallback<List<OpenOrders>> _callback)
Execute listAllOpenOrders request (asynchronously)
|
okhttp3.Call |
OptionsApi.APIlistOptionsAccountBookRequest.executeAsync(ApiCallback<List<OptionsAccountBook>> _callback)
Execute listOptionsAccountBook request (asynchronously)
|
okhttp3.Call |
OptionsApi.APIlistOptionsCandlesticksRequest.executeAsync(ApiCallback<List<OptionsCandlestick>> _callback)
Execute listOptionsCandlesticks request (asynchronously)
|
okhttp3.Call |
OptionsApi.APIlistOptionsContractsRequest.executeAsync(ApiCallback<List<OptionsContract>> _callback)
Execute listOptionsContracts request (asynchronously)
|
okhttp3.Call |
OptionsApi.APIlistMyOptionsSettlementsRequest.executeAsync(ApiCallback<List<OptionsMySettlements>> _callback)
Execute listMyOptionsSettlements request (asynchronously)
|
okhttp3.Call |
OptionsApi.APIlistMyOptionsTradesRequest.executeAsync(ApiCallback<List<OptionsMyTrade>> _callback)
Execute listMyOptionsTrades request (asynchronously)
|
okhttp3.Call |
OptionsApi.APIlistOptionsOrdersRequest.executeAsync(ApiCallback<List<OptionsOrder>> _callback)
Execute listOptionsOrders request (asynchronously)
|
okhttp3.Call |
OptionsApi.APIlistOptionsPositionsRequest.executeAsync(ApiCallback<List<OptionsPosition>> _callback)
Execute listOptionsPositions request (asynchronously)
|
okhttp3.Call |
OptionsApi.APIlistOptionsPositionCloseRequest.executeAsync(ApiCallback<List<OptionsPositionClose>> _callback)
Execute listOptionsPositionClose request (asynchronously)
|
okhttp3.Call |
OptionsApi.APIlistOptionsSettlementsRequest.executeAsync(ApiCallback<List<OptionsSettlement>> _callback)
Execute listOptionsSettlements 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 |
WalletApi.APIlistSavedAddressRequest.executeAsync(ApiCallback<List<SavedAddress>> _callback)
Execute listSavedAddress 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 |
SubAccountApi.APIlistSubAccountsRequest.executeAsync(ApiCallback<List<SubAccount>> _callback)
Execute listSubAccounts request (asynchronously)
|
okhttp3.Call |
WalletApi.APIlistSubAccountBalancesRequest.executeAsync(ApiCallback<List<SubAccountBalance>> _callback)
Execute listSubAccountBalances request (asynchronously)
|
okhttp3.Call |
WalletApi.APIlistSubAccountCrossMarginBalancesRequest.executeAsync(ApiCallback<List<SubAccountCrossMarginBalance>> _callback)
Execute listSubAccountCrossMarginBalances request (asynchronously)
|
okhttp3.Call |
WalletApi.APIlistSubAccountFuturesBalancesRequest.executeAsync(ApiCallback<List<SubAccountFuturesBalance>> _callback)
Execute listSubAccountFuturesBalances request (asynchronously)
|
okhttp3.Call |
WalletApi.APIlistSubAccountMarginBalancesRequest.executeAsync(ApiCallback<List<SubAccountMarginBalance>> _callback)
Execute listSubAccountMarginBalances 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 |
EarnUniApi.APIlistUniInterestRecordsRequest.executeAsync(ApiCallback<List<UniInterestRecord>> _callback)
Execute listUniInterestRecords request (asynchronously)
|
okhttp3.Call |
EarnUniApi.APIlistUserUniLendsRequest.executeAsync(ApiCallback<List<UniLend>> _callback)
Execute listUserUniLends request (asynchronously)
|
okhttp3.Call |
EarnUniApi.APIlistUniLendRecordsRequest.executeAsync(ApiCallback<List<UniLendRecord>> _callback)
Execute listUniLendRecords request (asynchronously)
|
okhttp3.Call |
MarginUniApi.APIlistUniLoansRequest.executeAsync(ApiCallback<List<UniLoan>> _callback)
Execute listUniLoans request (asynchronously)
|
okhttp3.Call |
MarginApi.APIgetCrossMarginInterestRecordsRequest.executeAsync(ApiCallback<List<UniLoanInterestRecord>> _callback)
Execute getCrossMarginInterestRecords request (asynchronously)
|
okhttp3.Call |
MarginUniApi.APIlistUniLoanInterestRecordsRequest.executeAsync(ApiCallback<List<UniLoanInterestRecord>> _callback)
Execute listUniLoanInterestRecords request (asynchronously)
|
okhttp3.Call |
MarginUniApi.APIlistUniLoanRecordsRequest.executeAsync(ApiCallback<List<UniLoanRecord>> _callback)
Execute listUniLoanRecords request (asynchronously)
|
okhttp3.Call |
WalletApi.APIlistWithdrawStatusRequest.executeAsync(ApiCallback<List<WithdrawStatus>> _callback)
Execute listWithdrawStatus request (asynchronously)
|
okhttp3.Call |
MarginApi.APIgetMarginBorrowableRequest.executeAsync(ApiCallback<MarginBorrowable> _callback)
Execute getMarginBorrowable request (asynchronously)
|
okhttp3.Call |
MarginApi.APIgetMarginTransferableRequest.executeAsync(ApiCallback<MarginTransferable> _callback)
Execute getMarginTransferable request (asynchronously)
|
okhttp3.Call |
SpotApi.APIlistOrderBookRequest.executeAsync(ApiCallback<OrderBook> _callback)
Execute listOrderBook request (asynchronously)
|
okhttp3.Call |
WalletApi.APIgetTotalBalanceRequest.executeAsync(ApiCallback<TotalBalance> _callback)
Execute getTotalBalance request (asynchronously)
|
okhttp3.Call |
SpotApi.APIgetFeeRequest.executeAsync(ApiCallback<TradeFee> _callback)
Deprecated.
|
okhttp3.Call |
WalletApi.APIgetTradeFeeRequest.executeAsync(ApiCallback<TradeFee> _callback)
Execute getTradeFee request (asynchronously)
|
okhttp3.Call |
AccountApi.getAccountDetailAsync(ApiCallback<AccountDetail> _callback)
Get account detail (asynchronously)
|
okhttp3.Call |
AccountApi.getAccountDetailCall(ApiCallback _callback)
Build call for getAccountDetail
|
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.getBatchSpotFeeAsync(String currencyPairs,
ApiCallback<Map<String,SpotFee>> _callback)
Query a batch of user trading fee rates (asynchronously)
|
okhttp3.Call |
SpotApi.getBatchSpotFeeCall(String currencyPairs,
ApiCallback _callback)
Build call for getBatchSpotFee
|
okhttp3.Call |
MarginApi.getCrossMarginAccountAsync(ApiCallback<CrossMarginAccount> _callback)
Retrieve cross margin account (asynchronously)
|
okhttp3.Call |
MarginApi.getCrossMarginAccountCall(ApiCallback _callback)
Build call for getCrossMarginAccount
|
okhttp3.Call |
MarginApi.getCrossMarginBorrowableAsync(String currency,
ApiCallback<CrossMarginBorrowable> _callback)
Get the max borrowable amount for a specific cross margin currency (asynchronously)
|
okhttp3.Call |
MarginApi.getCrossMarginBorrowableCall(String currency,
ApiCallback _callback)
Build call for getCrossMarginBorrowable
|
okhttp3.Call |
MarginApi.getCrossMarginCurrencyAsync(String currency,
ApiCallback<CrossMarginCurrency> _callback)
Retrieve detail of one single currency supported by cross margin (asynchronously)
|
okhttp3.Call |
MarginApi.getCrossMarginCurrencyCall(String currency,
ApiCallback _callback)
Build call for getCrossMarginCurrency
|
okhttp3.Call |
MarginApi.getCrossMarginLoanAsync(String loanId,
ApiCallback<CrossMarginLoan> _callback)
Retrieve single borrow loan detail (asynchronously)
|
okhttp3.Call |
MarginApi.getCrossMarginLoanCall(String loanId,
ApiCallback _callback)
Build call for getCrossMarginLoan
|
okhttp3.Call |
MarginApi.getCrossMarginTransferableAsync(String currency,
ApiCallback<CrossMarginTransferable> _callback)
Get the max transferable amount for a specific cross margin currency (asynchronously)
|
okhttp3.Call |
MarginApi.getCrossMarginTransferableCall(String currency,
ApiCallback _callback)
Build call for getCrossMarginTransferable
|
okhttp3.Call |
SpotApi.getCurrencyAsync(String currency,
ApiCallback<Currency> _callback)
Get details of a specific currency (asynchronously)
|
okhttp3.Call |
SpotApi.getCurrencyCall(String currency,
ApiCallback _callback)
Build call for getCurrency
|
okhttp3.Call |
SpotApi.getCurrencyPairAsync(String currencyPair,
ApiCallback<CurrencyPair> _callback)
Get details of a specifc currency pair (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-filled order cannot be retrieved 10 minutes after order 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 |
FlashSwapApi.getFlashSwapOrderAsync(Integer orderId,
ApiCallback<FlashSwapOrder> _callback)
Get a single flash swap order's detail (asynchronously)
|
okhttp3.Call |
FlashSwapApi.getFlashSwapOrderCall(Integer orderId,
ApiCallback _callback)
Build call for getFlashSwapOrder
|
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-filled order cannot be retrieved 10 minutes after order cancellation
|
okhttp3.Call |
FuturesApi.getFuturesOrderCall(String settle,
String orderId,
ApiCallback _callback)
Build call for getFuturesOrder
|
okhttp3.Call |
FuturesApi.getIndexConstituentsAsync(String settle,
String index,
ApiCallback<FuturesIndexConstituents> _callback)
Get index constituents (asynchronously)
|
okhttp3.Call |
FuturesApi.getIndexConstituentsCall(String settle,
String index,
ApiCallback _callback)
Build call for getIndexConstituents
|
okhttp3.Call |
MarginApi.getLoanAsync(String loanId,
String side,
ApiCallback<Loan> _callback)
Retrieve one single loan detail(Deprecated) (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(Deprecated) (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(Deprecated) (asynchronously)
|
okhttp3.Call |
MarginApi.getMarginCurrencyPairCall(String currencyPair,
ApiCallback _callback)
Build call for getMarginCurrencyPair
|
okhttp3.Call |
OptionsApi.getOptionsContractAsync(String contract,
ApiCallback<OptionsContract> _callback)
Query specified contract detail (asynchronously)
|
okhttp3.Call |
OptionsApi.getOptionsContractCall(String contract,
ApiCallback _callback)
Build call for getOptionsContract
|
okhttp3.Call |
OptionsApi.getOptionsOrderAsync(Long orderId,
ApiCallback<OptionsOrder> _callback)
Get a single order (asynchronously)
|
okhttp3.Call |
OptionsApi.getOptionsOrderCall(Long orderId,
ApiCallback _callback)
Build call for getOptionsOrder
|
okhttp3.Call |
OptionsApi.getOptionsPositionAsync(String contract,
ApiCallback<OptionsPosition> _callback)
Get specified contract position (asynchronously)
|
okhttp3.Call |
OptionsApi.getOptionsPositionCall(String contract,
ApiCallback _callback)
Build call for getOptionsPosition
|
okhttp3.Call |
OptionsApi.getOptionsSettlementAsync(String contract,
String underlying,
Long at,
ApiCallback<OptionsSettlement> _callback)
Get specified contract's settlement (asynchronously)
|
okhttp3.Call |
OptionsApi.getOptionsSettlementCall(String contract,
String underlying,
Long at,
ApiCallback _callback)
Build call for getOptionsSettlement
|
okhttp3.Call |
SpotApi.getOrderAsync(String orderId,
String currencyPair,
String account,
ApiCallback<Order> _callback)
Get a single order (asynchronously)
Spot and margin orders are queried by default.
|
okhttp3.Call |
SpotApi.getOrderCall(String orderId,
String currencyPair,
String account,
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 price-triggered 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 price-triggered 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 price-triggered order (asynchronously)
|
okhttp3.Call |
SpotApi.getSpotPriceTriggeredOrderCall(String orderId,
ApiCallback _callback)
Build call for getSpotPriceTriggeredOrder
|
okhttp3.Call |
SubAccountApi.getSubAccountAsync(Long userId,
ApiCallback<SubAccount> _callback)
Get the sub-account (asynchronously)
|
okhttp3.Call |
SubAccountApi.getSubAccountCall(Long userId,
ApiCallback _callback)
Build call for getSubAccount
|
okhttp3.Call |
SubAccountApi.getSubAccountKeyAsync(Integer userId,
String key,
ApiCallback<SubAccountKey> _callback)
Get the API Key of the sub-account (asynchronously)
|
okhttp3.Call |
SubAccountApi.getSubAccountKeyCall(Integer userId,
String key,
ApiCallback _callback)
Build call for getSubAccountKey
|
okhttp3.Call |
SpotApi.getSystemTimeAsync(ApiCallback<SystemTime> _callback)
Get server current time (asynchronously)
|
okhttp3.Call |
SpotApi.getSystemTimeCall(ApiCallback _callback)
Build call for getSystemTime
|
okhttp3.Call |
MarginUniApi.getUniBorrowableAsync(String currency,
String currencyPair,
ApiCallback<MaxUniBorrowable> _callback)
Get maximum borrowable (asynchronously)
|
okhttp3.Call |
MarginUniApi.getUniBorrowableCall(String currency,
String currencyPair,
ApiCallback _callback)
Build call for getUniBorrowable
|
okhttp3.Call |
EarnUniApi.getUniCurrencyAsync(String currency,
ApiCallback<UniCurrency> _callback)
Get currency detail for lending (asynchronously)
|
okhttp3.Call |
EarnUniApi.getUniCurrencyCall(String currency,
ApiCallback _callback)
Build call for getUniCurrency
|
okhttp3.Call |
MarginUniApi.getUniCurrencyPairAsync(String currencyPair,
ApiCallback<UniCurrencyPair> _callback)
Get detail of lending market (asynchronously)
|
okhttp3.Call |
MarginUniApi.getUniCurrencyPairCall(String currencyPair,
ApiCallback _callback)
Build call for getUniCurrencyPair
|
okhttp3.Call |
EarnUniApi.getUniInterestAsync(String currency,
ApiCallback<UniLendInterest> _callback)
Get the user's total interest income of specified currency (asynchronously)
|
okhttp3.Call |
EarnUniApi.getUniInterestCall(String currency,
ApiCallback _callback)
Build call for getUniInterest
|
okhttp3.Call |
MarginApi.listCrossMarginCurrenciesAsync(ApiCallback<List<CrossMarginCurrency>> _callback)
Currencies supported by cross margin.
|
okhttp3.Call |
MarginApi.listCrossMarginCurrenciesCall(ApiCallback _callback)
Build call for listCrossMarginCurrencies
|
okhttp3.Call |
SpotApi.listCurrenciesAsync(ApiCallback<List<Currency>> _callback)
List all currencies' details (asynchronously)
Currency has two forms: 1.
|
okhttp3.Call |
SpotApi.listCurrenciesCall(ApiCallback _callback)
Build call for listCurrencies
|
okhttp3.Call |
WalletApi.listCurrencyChainsAsync(String currency,
ApiCallback<List<CurrencyChain>> _callback)
List chains supported for specified currency (asynchronously)
|
okhttp3.Call |
WalletApi.listCurrencyChainsCall(String currency,
ApiCallback _callback)
Build call for listCurrencyChains
|
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 |
FlashSwapApi.listFlashSwapCurrenciesAsync(ApiCallback<List<FlashSwapCurrency>> _callback)
List all supported currencies in flash swap (asynchronously)
|
okhttp3.Call |
FlashSwapApi.listFlashSwapCurrenciesCall(ApiCallback _callback)
Build call for listFlashSwapCurrencies
|
okhttp3.Call |
MarginApi.listFundingBookAsync(String currency,
ApiCallback<List<FundingBookItem>> _callback)
Order book of lending loans(Deprecated) (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(Deprecated) (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(Deprecated) (asynchronously)
|
okhttp3.Call |
MarginApi.listMarginCurrencyPairsCall(ApiCallback _callback)
Build call for listMarginCurrencyPairs
|
okhttp3.Call |
OptionsApi.listOptionsAccountAsync(ApiCallback<OptionsAccount> _callback)
List options account (asynchronously)
|
okhttp3.Call |
OptionsApi.listOptionsAccountCall(ApiCallback _callback)
Build call for listOptionsAccount
|
okhttp3.Call |
OptionsApi.listOptionsExpirationsAsync(String underlying,
ApiCallback<List<Long>> _callback)
List all expiration times (asynchronously)
|
okhttp3.Call |
OptionsApi.listOptionsExpirationsCall(String underlying,
ApiCallback _callback)
Build call for listOptionsExpirations
|
okhttp3.Call |
OptionsApi.listOptionsTickersAsync(String underlying,
ApiCallback<List<OptionsTicker>> _callback)
List tickers of options contracts (asynchronously)
|
okhttp3.Call |
OptionsApi.listOptionsTickersCall(String underlying,
ApiCallback _callback)
Build call for listOptionsTickers
|
okhttp3.Call |
OptionsApi.listOptionsUnderlyingsAsync(ApiCallback<List<OptionsUnderlying>> _callback)
List all underlyings (asynchronously)
|
okhttp3.Call |
OptionsApi.listOptionsUnderlyingsCall(ApiCallback _callback)
Build call for listOptionsUnderlyings
|
okhttp3.Call |
OptionsApi.listOptionsUnderlyingTickersAsync(String underlying,
ApiCallback<OptionsUnderlyingTicker> _callback)
Get underlying ticker (asynchronously)
|
okhttp3.Call |
OptionsApi.listOptionsUnderlyingTickersCall(String underlying,
ApiCallback _callback)
Build call for listOptionsUnderlyingTickers
|
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 |
SubAccountApi.listSubAccountKeysAsync(Integer userId,
ApiCallback<List<SubAccountKey>> _callback)
List all API Key of the sub-account (asynchronously)
|
okhttp3.Call |
SubAccountApi.listSubAccountKeysCall(Integer userId,
ApiCallback _callback)
Build call for listSubAccountKeys
|
okhttp3.Call |
EarnUniApi.listUniCurrenciesAsync(ApiCallback<List<UniCurrency>> _callback)
List currencies for lending (asynchronously)
|
okhttp3.Call |
EarnUniApi.listUniCurrenciesCall(ApiCallback _callback)
Build call for listUniCurrencies
|
okhttp3.Call |
MarginUniApi.listUniCurrencyPairsAsync(ApiCallback<List<UniCurrencyPair>> _callback)
List lending markets (asynchronously)
|
okhttp3.Call |
MarginUniApi.listUniCurrencyPairsCall(ApiCallback _callback)
Build call for listUniCurrencyPairs
|
okhttp3.Call |
SubAccountApi.lockSubAccountAsync(Long userId,
ApiCallback<Void> _callback)
Lock the sub-account (asynchronously)
|
okhttp3.Call |
SubAccountApi.lockSubAccountCall(Long userId,
ApiCallback _callback)
Build call for lockSubAccount
|
okhttp3.Call |
MarginApi.mergeLoansAsync(String currency,
String ids,
ApiCallback<Loan> _callback)
Merge multiple lending loans(Deprecated) (asynchronously)
|
okhttp3.Call |
MarginApi.mergeLoansCall(String currency,
String ids,
ApiCallback _callback)
Build call for mergeLoans
|
okhttp3.Call |
FlashSwapApi.previewFlashSwapOrderAsync(FlashSwapPreviewRequest flashSwapPreviewRequest,
ApiCallback<FlashSwapOrderPreview> _callback)
Initiate a flash swap order preview (asynchronously)
|
okhttp3.Call |
FlashSwapApi.previewFlashSwapOrderCall(FlashSwapPreviewRequest flashSwapPreviewRequest,
ApiCallback _callback)
Build call for previewFlashSwapOrder
|
okhttp3.Call |
MarginApi.repayCrossMarginLoanAsync(CrossMarginRepayRequest crossMarginRepayRequest,
ApiCallback<List<CrossMarginLoan>> _callback)
Cross margin repayments (asynchronously)
When the liquidity of the currency is insufficient and the transaction risk is high, the currency will be disabled, and funds cannot be transferred.When the available balance of cross-margin is insufficient, the balance of the spot account can be used for repayment.
|
okhttp3.Call |
MarginApi.repayCrossMarginLoanCall(CrossMarginRepayRequest crossMarginRepayRequest,
ApiCallback _callback)
Build call for repayCrossMarginLoan
|
okhttp3.Call |
MarginApi.repayLoanAsync(String loanId,
RepayRequest repayRequest,
ApiCallback<Loan> _callback)
Repay a loan(Deprecated) (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.subAccountToSubAccountAsync(SubAccountToSubAccount subAccountToSubAccount,
ApiCallback<Void> _callback)
Sub-account transfers to sub-account (asynchronously)
|
okhttp3.Call |
WalletApi.subAccountToSubAccountCall(SubAccountToSubAccount subAccountToSubAccount,
ApiCallback _callback)
Build call for subAccountToSubAccount
|
okhttp3.Call |
WalletApi.transferAsync(Transfer transfer,
ApiCallback<TransactionID> _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 |
SubAccountApi.unlockSubAccountAsync(Long userId,
ApiCallback<Void> _callback)
Unlock the sub-account (asynchronously)
|
okhttp3.Call |
SubAccountApi.unlockSubAccountCall(Long userId,
ApiCallback _callback)
Build call for unlockSubAccount
|
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,
String crossLeverageLimit,
ApiCallback<List<Position>> _callback)
Update position leverage in dual mode (asynchronously)
|
okhttp3.Call |
FuturesApi.updateDualModePositionLeverageCall(String settle,
String contract,
String leverage,
String crossLeverageLimit,
ApiCallback _callback)
Build call for updateDualModePositionLeverage
|
okhttp3.Call |
FuturesApi.updateDualModePositionMarginAsync(String settle,
String contract,
String change,
String dualSide,
ApiCallback<List<Position>> _callback)
Update position margin in dual mode (asynchronously)
|
okhttp3.Call |
FuturesApi.updateDualModePositionMarginCall(String settle,
String contract,
String change,
String dualSide,
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(Deprecated) (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(Deprecated) (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,
String crossLeverageLimit,
ApiCallback<Position> _callback)
Update position leverage (asynchronously)
|
okhttp3.Call |
FuturesApi.updatePositionLeverageCall(String settle,
String contract,
String leverage,
String crossLeverageLimit,
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 |
SubAccountApi.updateSubAccountKeysAsync(Integer userId,
String key,
SubAccountKey subAccountKey,
ApiCallback<Void> _callback)
Update API key of the sub-account (asynchronously)
|
okhttp3.Call |
SubAccountApi.updateSubAccountKeysCall(Integer userId,
String key,
SubAccountKey subAccountKey,
ApiCallback _callback)
Build call for updateSubAccountKeys
|
okhttp3.Call |
WithdrawalApi.withdrawAsync(LedgerRecord ledgerRecord,
ApiCallback<LedgerRecord> _callback)
Withdraw (asynchronously)
|
okhttp3.Call |
WithdrawalApi.withdrawCall(LedgerRecord ledgerRecord,
ApiCallback _callback)
Build call for withdraw
|
Copyright © 2023. All rights reserved.