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