Merge pull request #203 from JustMankus/codespace-justmankus-super-space-broccoli-pjp6j6p4v4v299r6

missing api
This commit is contained in:
Tiago
2022-11-17 15:07:23 +00:00
committed by GitHub
2 changed files with 7 additions and 1 deletions

2
package-lock.json generated
View File

@@ -13586,4 +13586,4 @@
"dev": true "dev": true
} }
} }
} }

View File

@@ -340,6 +340,12 @@ export class LinearClient extends BaseRestClient {
return this.getPrivate('private/linear/trade/execution/list', params); return this.getPrivate('private/linear/trade/execution/list', params);
} }
getHistoryTradeRecords(
params: LinearGetTradeRecordsRequest
): Promise<APIResponseWithTime<any>> {
return this.getPrivate('/private/linear/trade/execution/history-list', params);
}
getClosedPnl( getClosedPnl(
params: LinearGetClosedPnlRequest params: LinearGetClosedPnlRequest
): Promise<APIResponseWithTime<any>> { ): Promise<APIResponseWithTime<any>> {