diff --git a/lib/rest-client.js b/lib/rest-client.js index 121f3e6..7f6b2ba 100644 --- a/lib/rest-client.js +++ b/lib/rest-client.js @@ -28,6 +28,7 @@ module.exports = class RestClient { async cancelActiveOrder(params) { assert(params, 'No params passed'); + assert(params.symbol, 'Parameter symbol is required'); assert(params.order_id || params.order_link_id, 'Parameter order_id OR order_link_id is required'); return await this.request.post('/v2/private/order/cancel', params);