fix indent
This commit is contained in:
@@ -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: {
|
||||||
|
|||||||
@@ -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------------>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user