Institutional Lending
Documentation on interacting with ByBit's Institutional Lending API functions through the PENDAX Javascript SDK.
All parameters of type INTEGER listed in the Bybit API docs need to be passed in as a string.
Get 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
This function is under construction and may not behave as expected
Function name:
Usage:
Get Loan Orders
This function is under construction and may not behave as expected
Function name:
Usage:
Get Repay Orders
This function is under construction and may not behave as expected
Function name:
Usage:
Get LTV
This function is under construction and may not behave as expected
Function name:
Usage:
Last updated