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

View File

@@ -1,9 +1,9 @@
//type Constructor = new (...args: any[]) => {};
import { GenericAPIResponse } from './util/requestUtils';
import RequestWrapper from './util/requestWrapper';
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------------>