Merge pull request #101 from tiagosiebler/2.0.6

fix(#100): linear getClosedPnl
This commit is contained in:
Tiago
2021-06-13 21:10:18 +01:00
committed by GitHub
2 changed files with 2 additions and 2 deletions

View File

@@ -1,6 +1,6 @@
{ {
"name": "bybit-api", "name": "bybit-api",
"version": "2.0.5", "version": "2.0.6",
"description": "Node.js connector for Bybit's Inverse & Linear REST APIs and WebSockets", "description": "Node.js connector for Bybit's Inverse & Linear REST APIs and WebSockets",
"main": "lib/index.js", "main": "lib/index.js",
"types": "lib/index.d.ts", "types": "lib/index.d.ts",

View File

@@ -317,7 +317,7 @@ export class LinearClient extends SharedEndpoints {
page?: number; page?: number;
limit?: number; limit?: number;
}): GenericAPIResponse { }): GenericAPIResponse {
return this.requestWrapper.get('private/linear/tpsl/switch-mode', params); return this.requestWrapper.get('private/linear/trade/closed-pnl/list', params);
} }
/** /**