From 995d6cd567db021fac4e6916880bdc8b4209d15c Mon Sep 17 00:00:00 2001 From: Pranay Pratyush Date: Fri, 14 Jan 2022 13:25:20 +0530 Subject: [PATCH] Update ReplaceActiveOrder for InverseClient --- src/inverse-client.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/inverse-client.ts b/src/inverse-client.ts index 76e5358..32dfe97 100644 --- a/src/inverse-client.ts +++ b/src/inverse-client.ts @@ -129,8 +129,12 @@ export class InverseClient extends SharedEndpoints { order_id?: string; order_link_id?: string; symbol: string; - p_r_qty?: string; + p_r_qty?: number; p_r_price?: string; + take_profit?: number; + stop_loss?: number; + tp_trigger_by?:string; + sl_trigger_by?:string; }): GenericAPIResponse { return this.requestWrapper.post('v2/private/order/replace', params); }