Files
bybit-api/examples/apidoc/V5/Spread-Trading/get-spread-instruments-info.js
2025-04-17 11:24:09 +02:00

15 lines
251 B
JavaScript

const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
});
client
.getSpreadInstrumentsInfo()
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});