Institutional Lending

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

circle-exclamation

Get Product Info

circle-info

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

https://bybit-exchange.github.io/docs/v5/otc/margin-product-infoarrow-up-right

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

circle-exclamation
circle-info

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

https://bybit-exchange.github.io/docs/v5/otc/margin-coin-infoarrow-up-right

Function name:

Usage:

Get Loan Orders

circle-exclamation
circle-info

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

https://bybit-exchange.github.io/docs/v5/otc/loan-infoarrow-up-right

Function name:

Usage:

Get Repay Orders

circle-exclamation
circle-info

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

https://bybit-exchange.github.io/docs/v5/otc/repay-infoarrow-up-right

Function name:

Usage:

Get LTV

circle-exclamation
circle-info

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

https://bybit-exchange.github.io/docs/v5/otc/ltvarrow-up-right

Function name:

Usage:

Last updated