From ce950b3a5cb467792d254e2e2eef4860477c4004 Mon Sep 17 00:00:00 2001 From: Pranay Pratyush Date: Wed, 27 Oct 2021 19:59:31 +0530 Subject: [PATCH 1/2] Added trigger_by params for inverse client --- src/inverse-client.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/inverse-client.ts b/src/inverse-client.ts index 23c06f2..897f701 100644 --- a/src/inverse-client.ts +++ b/src/inverse-client.ts @@ -124,6 +124,8 @@ export class InverseClient extends SharedEndpoints { take_profit?: number; stop_loss?: number; reduce_only?: boolean; + tp_trigger_by?: boolean; + sl_trigger_by?: boolean; close_on_trigger?: boolean; order_link_id?: string; }): GenericAPIResponse { From 85e7b0f2e7be5b09a6c3afdfb983f3bbe1eac8c1 Mon Sep 17 00:00:00 2001 From: Pranay Pratyush Date: Thu, 28 Oct 2021 15:37:04 +0530 Subject: [PATCH 2/2] Package version bump for minor addition to inverse client --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 0257735..e2d6412 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "2.1.2", + "version": "2.1.3", "description": "Node.js connector for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.", "main": "lib/index.js", "types": "lib/index.d.ts",