Files
bybit-api/examples/apidoc/V5/Trade/set-dcp.js
2023-06-07 11:39:59 +01:00

17 lines
307 B
JavaScript

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