bybit-api 3.10.28 → 3.10.30

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.
@@ -63,6 +63,10 @@ export interface LinearInverseInstrumentInfoV5 {
63
63
  copyTrading: CopyTradingV5;
64
64
  upperFundingRate: string;
65
65
  lowerFundingRate: string;
66
+ riskParameters: {
67
+ priceLimitRatioX: string;
68
+ priceLimitRatioY: string;
69
+ };
66
70
  isPreListing: boolean;
67
71
  preListingInfo: {
68
72
  curAuctionPhase: string;
@@ -84,7 +88,7 @@ export interface OptionInstrumentInfoV5 {
84
88
  status: InstrumentStatusV5;
85
89
  baseCoin: string;
86
90
  quoteCoin: string;
87
- settleCoin: boolean;
91
+ settleCoin: string;
88
92
  launchTime: string;
89
93
  deliveryTime: string;
90
94
  deliveryFeeRate: string;
@@ -106,6 +110,7 @@ export interface SpotInstrumentInfoV5 {
106
110
  innovation: '0' | '1';
107
111
  status: InstrumentStatusV5;
108
112
  marginTrading: MarginTradingV5;
113
+ stTag: '0' | '1';
109
114
  lotSizeFilter: {
110
115
  basePrecision: string;
111
116
  quotePrecision: string;
@@ -118,8 +123,8 @@ export interface SpotInstrumentInfoV5 {
118
123
  tickSize: string;
119
124
  };
120
125
  riskParameters: {
121
- limitParameter: string;
122
- marketParameter: string;
126
+ priceLimitRatioX: string;
127
+ priceLimitRatioY: string;
123
128
  };
124
129
  }
125
130
  type InstrumentInfoV5Mapping = {
@@ -146,6 +146,7 @@ export interface WSExecutionV5 {
146
146
  execId: string;
147
147
  execPrice: string;
148
148
  execQty: string;
149
+ execPnl: string;
149
150
  execType: ExecTypeV5;
150
151
  execValue: string;
151
152
  execTime: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "bybit-api",
3
- "version": "3.10.28",
3
+ "version": "3.10.30",
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",
@@ -80,4 +80,4 @@
80
80
  "url": "https://github.com/tiagosiebler/bybit-api/issues"
81
81
  },
82
82
  "homepage": "https://github.com/tiagosiebler/bybit-api#readme"
83
- }
83
+ }