Merge pull request #117 from tiagosiebler/liqsendpoint

Remove deprecated get liquidations REST endpoint
This commit is contained in:
Tiago
2021-10-08 17:09:33 +01:00
committed by GitHub
6 changed files with 4 additions and 45 deletions

View File

@@ -77,19 +77,6 @@ export class InverseClient extends SharedEndpoints {
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;
interval: string;

View File

@@ -30,19 +30,6 @@ export default class SharedEndpoints {
return this.requestWrapper.get('v2/public/symbols');
}
/**
* Get liquidated orders
*/
getLiquidations(params: {
symbol: string;
from?: number;
limit?: number;
start_time?: number;
end_time?: number;
}): GenericAPIResponse {
return this.requestWrapper.get('v2/public/liq-records', params);
}
/**
*
* Market Data : Advanced