diff --git a/package.json b/package.json index 9708c7e..a023253 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "2.1.7", + "version": "2.1.8", "description": "Node.js connector for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.", "main": "lib/index.js", "types": "lib/index.d.ts", 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); }