Merge pull request #136 from crashdebug/master
reduce_only, close_on_trigger and position_idx are required parameters
This commit is contained in:
@@ -82,9 +82,10 @@ export class LinearClient extends SharedEndpoints {
|
||||
stop_loss?: number;
|
||||
tp_trigger_by?: string;
|
||||
sl_trigger_by?: string;
|
||||
reduce_only?: boolean;
|
||||
close_on_trigger?: boolean;
|
||||
reduce_only: boolean;
|
||||
close_on_trigger: boolean;
|
||||
order_link_id?: string;
|
||||
position_idx?: number;
|
||||
}): GenericAPIResponse {
|
||||
return this.requestWrapper.post('private/linear/order/create', params);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user