Institutional Lending

Documentation on interacting with ByBit's Institutional Lending API functions through the PENDAX Javascript SDK.

Get Product Info

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/otc/margin-product-info

Function name:

getProductInfo(options)

Usage:

import { createExchange } from "./exchanges/exchange.js";

  let myByBitAccount = createExchange({
      exchange: "bybit",
      authenticate: "true",
      key: "myKeys",
      secret: "mySecret",
      label: "bybit",
      testnet: "false"
});

async function getProductInfo(exchange, options) {
    try {
        let result = await exchange.getProductInfo(options);
        console.log(result);
    } catch (error) {
        console.log(error.message);
    }
}

const result = await getProductInfo(myByBitAccount);

Get Margin Coin Info

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/otc/margin-coin-info

Function name:

Usage:

Get Loan Orders

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/otc/loan-info

Function name:

Usage:

Get Repay Orders

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/otc/repay-info

Function name:

Usage:

Get LTV

Please refer to the official ByBit API Docs for the required parameters.

https://bybit-exchange.github.io/docs/v5/otc/ltv

Function name:

Usage:

Last updated