Added Risk Limit and Funding Endpoints

This commit is contained in:
CryptoCompiler
2021-01-22 15:43:37 +00:00
committed by GitHub
parent e20121f43e
commit 62ea702f26

View File

@@ -325,13 +325,25 @@ export class LinearClient extends SharedEndpoints {
} }
//Risk Limit //Risk Limit
getRiskLimitList(params: {
symbol: string;
}): GenericAPIResponse {
return this.requestWrapper.get('public/linear/risk-limit');
}
//Funding //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');
}
} }