Merge pull request #121 from pranaypratyush/master

Added trigger_by params for inverse client
This commit is contained in:
Tiago
2021-10-28 23:11:09 +01:00
committed by GitHub
2 changed files with 3 additions and 1 deletions

View File

@@ -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",

View File

@@ -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 {