fix indent

This commit is contained in:
tiagosiebler
2021-01-30 18:11:55 +00:00
parent fc78d32023
commit e092b1355a
2 changed files with 151 additions and 151 deletions

View File

@@ -101,7 +101,7 @@ export class LinearClient extends SharedEndpoints {
//Active Orders //Active Orders
placeActiveOrder(orderRequest: { placeActiveOrder(params: {
side: string; side: string;
symbol: string; symbol: string;
order_type: string; order_type: string;
@@ -116,7 +116,7 @@ export class LinearClient extends SharedEndpoints {
close_on_trigger?: boolean; close_on_trigger?: boolean;
order_link_id?: string; order_link_id?: string;
}): GenericAPIResponse { }): GenericAPIResponse {
return this.requestWrapper.post('private/linear/order/create', orderRequest); return this.requestWrapper.post('private/linear/order/create', params);
} }
getActiveOrderList(params: { getActiveOrderList(params: {

View File

@@ -1,9 +1,9 @@
//type Constructor = new (...args: any[]) => {};
import { GenericAPIResponse } from './util/requestUtils'; import { GenericAPIResponse } from './util/requestUtils';
import RequestWrapper from './util/requestWrapper'; import RequestWrapper from './util/requestWrapper';
export default class SharedEndpoints { export default class SharedEndpoints {
protected requestWrapper: RequestWrapper; // XXX Is there a way to say that Base has to provide this? // TODO: Is there a way to say that Base has to provide this?
protected requestWrapper: RequestWrapper;
//------------Market Data Endpoints------------> //------------Market Data Endpoints------------>