diff --git a/package-lock.json b/package-lock.json index 8a774b6..1d68ead 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "bybit-api", - "version": "3.10.25", + "version": "3.10.27", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "bybit-api", - "version": "3.10.25", + "version": "3.10.27", "license": "MIT", "dependencies": { "axios": "^1.6.6", diff --git a/package.json b/package.json index 1b6a041..c4063f5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "3.10.26", + "version": "3.10.27", "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 1bb0efa..2b4f7e8 100644 --- a/src/rest-client-v5.ts +++ b/src/rest-client-v5.ts @@ -511,7 +511,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; }