fix(#100): linear getClosedPnl
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user