Binance Connector JS
    Preparing search index...

    TradeApi - object-oriented interface TradeApi

    Implements

    Index

    Constructors

    Methods

    • VIP loan is available for VIP users only.

      Weight(UID): 6000

      Security Type: TRADE

      Notes:

      • loanAccountId refers to the loan receiving account.
      • Only master account applications are supported.
      • loanAccountId and collateralAccountId must be under the same master account.
      • loanTerm is mandatory if the user chooses a fixed rate (isFlexibleRate = FALSE).
      • Every coin in collateralCoin is pledged from every account in collateralAccountId.
      • To pledge a Simple Earn Flexible position, add <ASSET>-Earn (e.g. USDT-Earn) to collateralCoin together with its Spot asset (e.g. USDT,USDT-Earn). Sending <ASSET>-Earn without its Spot asset returns -10213.
      • Rate limit: 1 request per 2 seconds per account.

      Parameters

      Returns Promise<RestApiResponse<VipLoanBorrowResponse>>

      TradeApi