Files
bybit-api/examples/apidoc/V5/Account/get-coin-greeks.js

17 lines
285 B
JavaScript

const { RestClientV5 } = require('bybit-api');
const client = new RestClientV5({
testnet: true,
key: 'apikey',
secret: 'apisecret',
});
client
.getCoinGreeks('BTC')
.then((response) => {
console.log(response);
})
.catch((error) => {
console.error(error);
});