fix(#155): remove abandoned endpoints
This commit is contained in:
@@ -393,21 +393,6 @@ export class InverseClient extends BaseRestClient {
|
||||
return this.postPrivate('v2/private/position/switch-isolated', params);
|
||||
}
|
||||
|
||||
/**
|
||||
* Risk Limit
|
||||
*/
|
||||
|
||||
getRiskLimitList(): Promise<APIResponseWithTime<any>> {
|
||||
return this.getPrivate('open-api/wallet/risk-limit/list');
|
||||
}
|
||||
|
||||
setRiskLimit(params: {
|
||||
symbol: string;
|
||||
risk_id: string;
|
||||
}): Promise<APIResponseWithTime<any>> {
|
||||
return this.postPrivate('open-api/wallet/risk-limit', params);
|
||||
}
|
||||
|
||||
/**
|
||||
* Funding
|
||||
*/
|
||||
|
||||
@@ -401,24 +401,6 @@ export class InverseFuturesClient extends BaseRestClient {
|
||||
return this.getPrivate('futures/private/trade/closed-pnl/list', params);
|
||||
}
|
||||
|
||||
/**
|
||||
**** The following are all the same as the inverse client ****
|
||||
*/
|
||||
|
||||
/**
|
||||
* Risk Limit
|
||||
*/
|
||||
getRiskLimitList(): Promise<APIResponseWithTime<any>> {
|
||||
return this.getPrivate('open-api/wallet/risk-limit/list');
|
||||
}
|
||||
|
||||
setRiskLimit(params: {
|
||||
symbol: string;
|
||||
risk_id: string;
|
||||
}): Promise<APIResponseWithTime<any>> {
|
||||
return this.postPrivate('open-api/wallet/risk-limit', params);
|
||||
}
|
||||
|
||||
/**
|
||||
* Funding
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user