diff --git a/src/futures-client.ts b/src/futures-client.ts index bd400d3..0fae4b7 100644 --- a/src/futures-client.ts +++ b/src/futures-client.ts @@ -156,6 +156,17 @@ export class FuturesClient extends BaseRestClient { return this.get('/api/mix/v1/market/symbol-leverage', { symbol }); } + /** Get Position Tier */ + getPositionTier( + symbol: string, + productType: FuturesProductType, + ): Promise> { + return this.get('/api/mix/v1/market/queryPositionLever', { + symbol, + productType, + }); + } + /** * * Account Endpoints @@ -272,6 +283,17 @@ export class FuturesClient extends BaseRestClient { }); } + /** Get Symbol Position V2 */ + getPositionV2( + symbol: string, + marginCoin: string, + ): Promise> { + return this.getPrivate('/api/mix/v1/position/singlePosition-v2', { + symbol, + marginCoin, + }); + } + /** Get All Position */ getPositions( productType: FuturesProductType, @@ -283,6 +305,17 @@ export class FuturesClient extends BaseRestClient { }); } + /** Get All Position V2 */ + getPositionsV2( + productType: FuturesProductType, + marginCoin?: string, + ): Promise> { + return this.getPrivate('/api/mix/v1/position/allPosition-v2', { + productType, + marginCoin, + }); + } + /** Get Account Bill */ getAccountBill(params: FuturesAccountBillRequest): Promise> { return this.getPrivate('/api/mix/v1/account/accountBill', params);