Comment Updates

This commit is contained in:
peepopoggers
2021-02-03 19:54:52 +00:00
parent 5a968f79a9
commit e0839d0c8d

View File

@@ -106,8 +106,10 @@ export class LinearClient extends SharedEndpoints {
* Account Data Endpoints * Account Data Endpoints
* *
*/ */
//Active Orders /**
* Active orders
*/
placeActiveOrder(params: { placeActiveOrder(params: {
side: string; side: string;
@@ -176,7 +178,9 @@ export class LinearClient extends SharedEndpoints {
return this.requestWrapper.get('private/linear/order/search', params); return this.requestWrapper.get('private/linear/order/search', params);
} }
//Conditional Orders /**
* Conditional orders
*/
placeConditionalOrder(params: { placeConditionalOrder(params: {
side: string; side: string;
@@ -248,7 +252,9 @@ export class LinearClient extends SharedEndpoints {
return this.requestWrapper.get('private/linear/stop-order/search', params); return this.requestWrapper.get('private/linear/stop-order/search', params);
} }
//Position /**
* Position
*/
getPosition(params?: { getPosition(params?: {
symbol?: string; symbol?: string;
@@ -332,7 +338,9 @@ export class LinearClient extends SharedEndpoints {
return this.requestWrapper.get('private/linear/tpsl/switch-mode', params); return this.requestWrapper.get('private/linear/tpsl/switch-mode', params);
} }
//Risk Limit /**
* Risk Limit
*/
getRiskLimitList(params: { getRiskLimitList(params: {
symbol: string; symbol: string;
@@ -340,7 +348,9 @@ export class LinearClient extends SharedEndpoints {
return this.requestWrapper.get('public/linear/risk-limit'); return this.requestWrapper.get('public/linear/risk-limit');
} }
//Funding /**
* Funding
*/
getPredictedFundingFee(params: { getPredictedFundingFee(params: {
symbol: string; symbol: string;