From cc3048b7adf307143d45c9578c64fda6ebc0ccdd Mon Sep 17 00:00:00 2001 From: tiagosiebler Date: Sun, 13 Jun 2021 21:09:46 +0100 Subject: [PATCH] fix(#100): linear getClosedPnl --- package.json | 2 +- src/linear-client.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); } /**