From 13a5fc70fa5da232a6d2258eec049c80acc5ed8c Mon Sep 17 00:00:00 2001 From: CryptoCompiler <72892531+peepopoggers@users.noreply.github.com> Date: Fri, 29 Jan 2021 14:23:22 +0000 Subject: [PATCH] Added getPublicLiquidations depreciated endpoint --- src/inverse-client.ts | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/src/inverse-client.ts b/src/inverse-client.ts index e8b48ff..b500f57 100644 --- a/src/inverse-client.ts +++ b/src/inverse-client.ts @@ -71,6 +71,19 @@ export class InverseClient extends SharedEndpoints { }): GenericAPIResponse { return this.requestWrapper.get('v2/public/trading-records', params); } + + /** + * @deprecated use getLiquidations() instead + */ + getPublicLiquidations(params: { + symbol: string; + from?: number; + limit?: number; + start_time?: number; + end_time?: number; + }): GenericAPIResponse { + return this.getLiquidations(params); + } getMarkPriceKline(params: { symbol: string;