diff --git a/package.json b/package.json index 1389804..d61c620 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "2.0.5", + "version": "2.0.6", "description": "Node.js connector for Bybit's Inverse & Linear REST APIs and WebSockets", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/linear-client.ts b/src/linear-client.ts index 9efc57c..04b6b0f 100644 --- a/src/linear-client.ts +++ b/src/linear-client.ts @@ -317,7 +317,7 @@ export class LinearClient extends SharedEndpoints { page?: number; limit?: number; }): GenericAPIResponse { - return this.requestWrapper.get('private/linear/tpsl/switch-mode', params); + return this.requestWrapper.get('private/linear/trade/closed-pnl/list', params); } /**