| Package | Description |
|---|---|
| io.gate.gateapi.api | |
| io.gate.gateapi.models |
| Modifier and Type | Method and Description |
|---|---|
CrossMarginLoan |
MarginApi.createCrossMarginLoan(CrossMarginLoan crossMarginLoan)
Create a cross margin borrow loan
Borrow amount cannot be less than currency minimum borrow amount
|
CrossMarginLoan |
MarginApi.getCrossMarginLoan(String loanId)
Retrieve single borrow loan detail
|
| Modifier and Type | Method and Description |
|---|---|
ApiResponse<CrossMarginLoan> |
MarginApi.createCrossMarginLoanWithHttpInfo(CrossMarginLoan crossMarginLoan)
Create a cross margin borrow loan
Borrow amount cannot be less than currency minimum borrow amount
|
List<CrossMarginLoan> |
MarginApi.APIlistCrossMarginLoansRequest.execute()
Execute listCrossMarginLoans request
|
ApiResponse<List<CrossMarginLoan>> |
MarginApi.APIlistCrossMarginLoansRequest.executeWithHttpInfo()
Execute listCrossMarginLoans request with HTTP info returned
|
ApiResponse<CrossMarginLoan> |
MarginApi.getCrossMarginLoanWithHttpInfo(String loanId)
Retrieve single borrow loan detail
|
List<CrossMarginLoan> |
MarginApi.repayCrossMarginLoan(CrossMarginRepayRequest crossMarginRepayRequest)
Cross margin repayments
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.
|
ApiResponse<List<CrossMarginLoan>> |
MarginApi.repayCrossMarginLoanWithHttpInfo(CrossMarginRepayRequest crossMarginRepayRequest)
Cross margin repayments
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.
|
| Modifier and Type | Method and Description |
|---|---|
CrossMarginLoan |
MarginApi.createCrossMarginLoan(CrossMarginLoan crossMarginLoan)
Create a cross margin borrow loan
Borrow amount cannot be less than currency minimum borrow amount
|
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
|
ApiResponse<CrossMarginLoan> |
MarginApi.createCrossMarginLoanWithHttpInfo(CrossMarginLoan crossMarginLoan)
Create a cross margin borrow loan
Borrow amount cannot be less than currency minimum borrow amount
|
| Modifier and Type | Method and Description |
|---|---|
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.APIlistCrossMarginLoansRequest.executeAsync(ApiCallback<List<CrossMarginLoan>> _callback)
Execute listCrossMarginLoans request (asynchronously)
|
okhttp3.Call |
MarginApi.getCrossMarginLoanAsync(String loanId,
ApiCallback<CrossMarginLoan> _callback)
Retrieve single borrow loan detail (asynchronously)
|
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.
|
| Modifier and Type | Method and Description |
|---|---|
CrossMarginLoan |
CrossMarginLoan.amount(String amount) |
CrossMarginLoan |
CrossMarginLoan.currency(String currency) |
CrossMarginLoan |
CrossMarginLoan.text(String text) |
Copyright © 2023. All rights reserved.