Class CryptoLoans

java.lang.Object
com.binance.connector.client.impl.spot.CryptoLoans

public class CryptoLoans extends Object

Crypto Loans Endpoints

All endpoints under the Crypto Loans Endpoint section of the API documentation will be implemented in this class.
Response will be returned in String format.
  • Constructor Details

    • CryptoLoans

      public CryptoLoans(String baseUrl, String apiKey, String secretKey, boolean showLimitUsage)
  • Method Details

    • loanIncome

      public String loanIncome(LinkedHashMap<String,​Object> parameters)
      GET /sapi/v1/loan/income
      Parameters:
      parameters - LinkedHashedMap of String,Object pair where String is the name of the parameter and Object is the value of the parameter

      asset -- mandatory/string
      type -- optional/string -- All types will be returned by default. Enum:borrowIn ,collateralSpent, repayAmount, collateralReturn(Collateral return after repayment), addCollateral, removeCollateral, collateralReturnAfterLiquidation
      startTime -- optional/long
      endTime -- optional/long
      limit -- optional/int -- default 20, max 100
      recvWindow -- optional/long
      Returns:
      String
      See Also:
      https://binance-docs.github.io/apidocs/spot/en/#get-crypto-loans-income-history-user_data