diff --git a/package.json b/package.json index a07eddc..6381c22 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "bybit-api", - "version": "3.4.1", + "version": "3.4.2", "description": "Complete & robust node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & integration tests.", "main": "lib/index.js", "types": "lib/index.d.ts", diff --git a/src/types/request/linear.ts b/src/types/request/linear.ts index 6fb1f4f..3ec68fe 100644 --- a/src/types/request/linear.ts +++ b/src/types/request/linear.ts @@ -163,6 +163,7 @@ export interface LinearSetTradingStopRequest { sl_trigger_by?: string; sl_size?: number; tp_size?: number; + position_idx?: 0 | 1 | 2; } export interface LinearGetTradeRecordsRequest {