diff --git a/lib/rest-client.js b/lib/rest-client.js index 7f6b2ba..dbf15d8 100644 --- a/lib/rest-client.js +++ b/lib/rest-client.js @@ -179,7 +179,7 @@ module.exports = class RestClient { async getTradeRecords(params) { assert(params, 'No params passed'); - assert(params.order_id, 'Parameter order_id is required'); + assert(params.order_id || params.symbol, 'Parameter order_id OR symbol is required'); return await this.request.get('/v2/private/execution/list', params); }