Files
bybit-api/examples/apidoc/V5/Market/get-delivery-price.js
2023-06-09 10:48:05 +01:00

15 lines
295 B
JavaScript

const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
});
client
.getDeliveryPrice({ category: 'option', symbol: 'ETH-26DEC22-1400-C' })
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});