v1.1.7: add get public liquidations endpoint
This commit is contained in:
@@ -217,6 +217,13 @@ module.exports = class RestClient {
|
||||
return await this.request.get('v2/public/trading-records', params);
|
||||
}
|
||||
|
||||
async getPublicLiquidatedOrders(params) {
|
||||
assert(params, 'No params passed');
|
||||
assert(params.symbol, 'Parameter symbol is required');
|
||||
|
||||
return await this.request.get('v2/public/liq-records', params);
|
||||
}
|
||||
|
||||
async getServerTime() {
|
||||
return await this.request.get('v2/public/time');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user