bybit-api 4.1.12 → 4.1.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -22,6 +22,11 @@
22
22
  Professional Node.js, JavaScript & TypeScript SDK for the Bybit REST APIs, WebSocket APIs & WebSocket Events:
23
23
 
24
24
  - Complete integration with all Bybit REST APIs & WebSockets, including the WebSocket API.
25
+ - Higher API rate limits than the highest VIP tier!
26
+ - All API requests made with this SDK are automatically subject to significantly higher rate limits.
27
+ - Rate limits are raised to 400 requests per second, higher than the highest VIP tier.
28
+ - No action required. This is automatic for any API calls made with this SDK, for any user.
29
+ - Read more in the announcement: [here](https://github.com/tiagosiebler/bybit-api/issues/458).
25
30
  - Actively maintained with a modern, promise-driven interface.
26
31
  - TypeScript support (thorough type declarations for most API requests & responses, including WS API).
27
32
  - JavaScript support (TypeScript not required but definitely recommended).
@@ -24,6 +24,10 @@ export interface WalletBalanceV5 {
24
24
  accountLTV: string;
25
25
  accountIMRate: string;
26
26
  accountMMRate: string;
27
+ accountIMRateByMp: string;
28
+ accountMMRateByMp: string;
29
+ totalInitialMarginByMp: string;
30
+ totalMaintenanceMarginByMp: string;
27
31
  totalEquity: string;
28
32
  totalWalletBalance: string;
29
33
  totalMarginBalance: string;
@@ -36,6 +36,8 @@ export interface PositionV5 {
36
36
  leverageSysUpdatedTime: string | '';
37
37
  createdTime: string;
38
38
  updatedTime: string;
39
+ positionIMByMp: string;
40
+ positionMMByMp: string;
39
41
  seq: number;
40
42
  }
41
43
  export interface SetRiskLimitResultV5 {
@@ -79,6 +81,7 @@ export interface ExecutionV5 {
79
81
  orderType: OrderTypeV5;
80
82
  stopOrderType?: StopOrderTypeV5;
81
83
  execFee: string;
84
+ execFeeV2: string;
82
85
  execId: string;
83
86
  execPrice: string;
84
87
  execQty: string;
@@ -114,4 +114,5 @@ export interface SpreadTradeV5 {
114
114
  execQty: string;
115
115
  execId: string;
116
116
  legs: SpreadTradeLegV5[];
117
+ extraFees: string;
117
118
  }
@@ -171,6 +171,8 @@ export interface WSPositionV5 {
171
171
  autoAddMargin: number;
172
172
  positionMM: string;
173
173
  positionIM: string;
174
+ positionIMByMp: string;
175
+ positionMMByMp: string;
174
176
  liqPrice: string;
175
177
  bustPrice: string;
176
178
  tpslMode: string;
@@ -275,6 +277,7 @@ export interface WSExecutionV5 {
275
277
  underlyingPrice: string;
276
278
  blockTradeId: string;
277
279
  closedSize: string;
280
+ extraFees: string;
278
281
  seq: number;
279
282
  marketUnit: string;
280
283
  }
@@ -319,6 +322,10 @@ export interface WSWalletV5 {
319
322
  accountLTV: string;
320
323
  accountIMRate: string;
321
324
  accountMMRate: string;
325
+ accountIMRateByMp: string;
326
+ accountMMRateByMp: string;
327
+ totalInitialMarginByMp: string;
328
+ totalMaintenanceMarginByMp: string;
322
329
  totalEquity: string;
323
330
  totalWalletBalance: string;
324
331
  totalMarginBalance: string;
@@ -378,6 +385,8 @@ export interface WSSpreadExecutionV5 {
378
385
  createType: OrderCreateTypeV5;
379
386
  orderType: OrderTypeV5;
380
387
  execFee: string;
388
+ execFeeV2: string;
389
+ feeCurrency: string;
381
390
  parentExecId: string;
382
391
  execId: string;
383
392
  execPrice: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bybit-api",
3
- "version": "4.1.12",
3
+ "version": "4.1.14",
4
4
  "description": "Complete & robust Node.js SDK for Bybit's REST APIs and WebSockets, with TypeScript & strong end to end tests.",
5
5
  "main": "lib/index.js",
6
6
  "types": "lib/index.d.ts",