Added Risk Limit and Funding Endpoints
This commit is contained in:
@@ -325,13 +325,25 @@ export class LinearClient extends SharedEndpoints {
|
||||
}
|
||||
|
||||
//Risk Limit
|
||||
|
||||
getRiskLimitList(params: {
|
||||
symbol: string;
|
||||
}): GenericAPIResponse {
|
||||
return this.requestWrapper.get('public/linear/risk-limit');
|
||||
}
|
||||
|
||||
//Funding
|
||||
//API Key Info
|
||||
|
||||
//------------Wallet Data Endpoints------------>
|
||||
|
||||
//-------------API Data Endpoints-------------->
|
||||
|
||||
getPredictedFundingFee(params: {
|
||||
symbol: string;
|
||||
}): GenericAPIResponse {
|
||||
return this.requestWrapper.get('private/linear/funding/predicted-funding');
|
||||
}
|
||||
|
||||
getLastFundingFee(params: {
|
||||
symbol: string;
|
||||
}): GenericAPIResponse {
|
||||
return this.requestWrapper.get('private/linear/funding/prev-funding');
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user