diff --git a/package-lock.json b/package-lock.json index 99fb770..8bc1d5b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bybit-api", - "version": "3.10.22", + "version": "3.10.23", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bybit-api", - "version": "3.10.22", + "version": "3.10.23", "license": "MIT", "dependencies": { "axios": "^1.6.6", diff --git a/package.json b/package.json index 237d47e..9594562 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "3.10.22", + "version": "3.10.23", "description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/rest-client-v5.ts b/src/rest-client-v5.ts index 7a77635..8bde06d 100644 --- a/src/rest-client-v5.ts +++ b/src/rest-client-v5.ts @@ -510,7 +510,7 @@ export class RestClientV5 extends BaseRestClient { getLongShortRatio( params: GetLongShortRatioParamsV5, - ): Promise> { + ): Promise>> { return this.get('/v5/market/account-ratio', params); } diff --git a/src/types/request/v5-market.ts b/src/types/request/v5-market.ts index 0619a32..cd02bc9 100644 --- a/src/types/request/v5-market.ts +++ b/src/types/request/v5-market.ts @@ -130,5 +130,8 @@ export interface GetLongShortRatioParamsV5 { category: 'linear' | 'inverse'; symbol: string; period: OpenInterestIntervalV5; + startTime?: string; + endTime?: string; limit?: number; + cursor?: string; }