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

View File

@@ -340,6 +340,12 @@ export class LinearClient extends BaseRestClient {
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(
params: LinearGetClosedPnlRequest
): Promise<APIResponseWithTime<any>> {