@openfeed/sdk-js 1.6.11 → 1.7.1

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/dist/index.js CHANGED
@@ -1778,7 +1778,9 @@ function createBaseInstrumentDefinition() {
1778
1778
  contractSize: Long.ZERO,
1779
1779
  contractSizeDescription: "",
1780
1780
  exchangeMetadata: void 0,
1781
- roundLotSize: 0
1781
+ roundLotSize: 0,
1782
+ quantityFractionalDenominator: 0,
1783
+ volumeFractionalDenominator: 0
1782
1784
  };
1783
1785
  }
1784
1786
  const InstrumentDefinitionEncode = {
@@ -1980,6 +1982,12 @@ const InstrumentDefinitionEncode = {
1980
1982
  if (message.roundLotSize !== 0) {
1981
1983
  writer.uint32(1920).sint32(message.roundLotSize);
1982
1984
  }
1985
+ if (message.quantityFractionalDenominator !== 0) {
1986
+ writer.uint32(1928).sint32(message.quantityFractionalDenominator);
1987
+ }
1988
+ if (message.volumeFractionalDenominator !== 0) {
1989
+ writer.uint32(1936).sint32(message.volumeFractionalDenominator);
1990
+ }
1983
1991
  return writer;
1984
1992
  }
1985
1993
  }, InstrumentDefinitionDecode = {
@@ -2452,6 +2460,20 @@ const InstrumentDefinitionEncode = {
2452
2460
  message.roundLotSize = reader.sint32();
2453
2461
  continue;
2454
2462
  }
2463
+ case 241: {
2464
+ if (tag !== 1928) {
2465
+ break;
2466
+ }
2467
+ message.quantityFractionalDenominator = reader.sint32();
2468
+ continue;
2469
+ }
2470
+ case 242: {
2471
+ if (tag !== 1936) {
2472
+ break;
2473
+ }
2474
+ message.volumeFractionalDenominator = reader.sint32();
2475
+ continue;
2476
+ }
2455
2477
  }
2456
2478
  if ((tag & 7) === 4 || tag === 0) {
2457
2479
  break;
@@ -3299,7 +3321,10 @@ function createBaseMarketSession() {
3299
3321
  referenceVolatilityPrice: void 0,
3300
3322
  priceLimits: void 0,
3301
3323
  marketOpenInterest: void 0,
3302
- vwap: void 0
3324
+ vwap: void 0,
3325
+ warrantBand: void 0,
3326
+ positionBand: void 0,
3327
+ lastTrade: void 0
3303
3328
  };
3304
3329
  }
3305
3330
  const MarketSessionEncode = {
@@ -3355,6 +3380,15 @@ const MarketSessionEncode = {
3355
3380
  if (message.vwap !== void 0) {
3356
3381
  VwapEncode.encode(message.vwap, writer.uint32(394).fork()).join();
3357
3382
  }
3383
+ if (message.warrantBand !== void 0) {
3384
+ WarrantBandEncode.encode(message.warrantBand, writer.uint32(402).fork()).join();
3385
+ }
3386
+ if (message.positionBand !== void 0) {
3387
+ PositionBandEncode.encode(message.positionBand, writer.uint32(410).fork()).join();
3388
+ }
3389
+ if (message.lastTrade !== void 0) {
3390
+ LastEncode.encode(message.lastTrade, writer.uint32(418).fork()).join();
3391
+ }
3358
3392
  return writer;
3359
3393
  }
3360
3394
  }, MarketSessionDecode = {
@@ -3484,6 +3518,27 @@ const MarketSessionEncode = {
3484
3518
  message.vwap = VwapDecode.decode(reader, reader.uint32());
3485
3519
  continue;
3486
3520
  }
3521
+ case 50: {
3522
+ if (tag !== 402) {
3523
+ break;
3524
+ }
3525
+ message.warrantBand = WarrantBandDecode.decode(reader, reader.uint32());
3526
+ continue;
3527
+ }
3528
+ case 51: {
3529
+ if (tag !== 410) {
3530
+ break;
3531
+ }
3532
+ message.positionBand = PositionBandDecode.decode(reader, reader.uint32());
3533
+ continue;
3534
+ }
3535
+ case 52: {
3536
+ if (tag !== 418) {
3537
+ break;
3538
+ }
3539
+ message.lastTrade = LastDecode.decode(reader, reader.uint32());
3540
+ continue;
3541
+ }
3487
3542
  }
3488
3543
  if ((tag & 7) === 4 || tag === 0) {
3489
3544
  break;
@@ -3538,7 +3593,10 @@ function createBaseMarketSnapshot() {
3538
3593
  priceLimits: void 0,
3539
3594
  sessions: [],
3540
3595
  officialBestBidOffer: void 0,
3541
- marketOpenInterest: void 0
3596
+ marketOpenInterest: void 0,
3597
+ warrantBand: void 0,
3598
+ positionBand: void 0,
3599
+ lastTrade: void 0
3542
3600
  };
3543
3601
  }
3544
3602
  const MarketSnapshotEncode = {
@@ -3675,6 +3733,15 @@ const MarketSnapshotEncode = {
3675
3733
  if (message.marketOpenInterest !== void 0) {
3676
3734
  MarketOpenInterestEncode.encode(message.marketOpenInterest, writer.uint32(466).fork()).join();
3677
3735
  }
3736
+ if (message.warrantBand !== void 0) {
3737
+ WarrantBandEncode.encode(message.warrantBand, writer.uint32(474).fork()).join();
3738
+ }
3739
+ if (message.positionBand !== void 0) {
3740
+ PositionBandEncode.encode(message.positionBand, writer.uint32(482).fork()).join();
3741
+ }
3742
+ if (message.lastTrade !== void 0) {
3743
+ LastEncode.encode(message.lastTrade, writer.uint32(490).fork()).join();
3744
+ }
3678
3745
  return writer;
3679
3746
  }
3680
3747
  }, MarketSnapshotDecode = {
@@ -3993,6 +4060,27 @@ const MarketSnapshotEncode = {
3993
4060
  message.marketOpenInterest = MarketOpenInterestDecode.decode(reader, reader.uint32());
3994
4061
  continue;
3995
4062
  }
4063
+ case 59: {
4064
+ if (tag !== 474) {
4065
+ break;
4066
+ }
4067
+ message.warrantBand = WarrantBandDecode.decode(reader, reader.uint32());
4068
+ continue;
4069
+ }
4070
+ case 60: {
4071
+ if (tag !== 482) {
4072
+ break;
4073
+ }
4074
+ message.positionBand = PositionBandDecode.decode(reader, reader.uint32());
4075
+ continue;
4076
+ }
4077
+ case 61: {
4078
+ if (tag !== 490) {
4079
+ break;
4080
+ }
4081
+ message.lastTrade = LastDecode.decode(reader, reader.uint32());
4082
+ continue;
4083
+ }
3996
4084
  }
3997
4085
  if ((tag & 7) === 4 || tag === 0) {
3998
4086
  break;
@@ -4051,7 +4139,9 @@ function createBaseMarketUpdate() {
4051
4139
  referenceVolatilityPrice: void 0,
4052
4140
  priceLimits: void 0,
4053
4141
  officialBestBidOffer: void 0,
4054
- marketOpenInterest: void 0
4142
+ marketOpenInterest: void 0,
4143
+ warrantBand: void 0,
4144
+ positionBand: void 0
4055
4145
  };
4056
4146
  }
4057
4147
  const MarketUpdateEncode = {
@@ -4200,6 +4290,12 @@ const MarketUpdateEncode = {
4200
4290
  if (message.marketOpenInterest !== void 0) {
4201
4291
  MarketOpenInterestEncode.encode(message.marketOpenInterest, writer.uint32(426).fork()).join();
4202
4292
  }
4293
+ if (message.warrantBand !== void 0) {
4294
+ WarrantBandEncode.encode(message.warrantBand, writer.uint32(434).fork()).join();
4295
+ }
4296
+ if (message.positionBand !== void 0) {
4297
+ PositionBandEncode.encode(message.positionBand, writer.uint32(442).fork()).join();
4298
+ }
4203
4299
  return writer;
4204
4300
  }
4205
4301
  }, MarketUpdateDecode = {
@@ -4546,6 +4642,20 @@ const MarketUpdateEncode = {
4546
4642
  message.marketOpenInterest = MarketOpenInterestDecode.decode(reader, reader.uint32());
4547
4643
  continue;
4548
4644
  }
4645
+ case 54: {
4646
+ if (tag !== 434) {
4647
+ break;
4648
+ }
4649
+ message.warrantBand = WarrantBandDecode.decode(reader, reader.uint32());
4650
+ continue;
4651
+ }
4652
+ case 55: {
4653
+ if (tag !== 442) {
4654
+ break;
4655
+ }
4656
+ message.positionBand = PositionBandDecode.decode(reader, reader.uint32());
4657
+ continue;
4658
+ }
4549
4659
  }
4550
4660
  if ((tag & 7) === 4 || tag === 0) {
4551
4661
  break;
@@ -4976,7 +5086,13 @@ function createBaseBestBidOffer() {
4976
5086
  offerQuoteCondition: new Uint8Array(0),
4977
5087
  quoteCondition: new Uint8Array(0),
4978
5088
  regional: false,
4979
- transient: false
5089
+ transient: false,
5090
+ boloBidParticipantId: new Uint8Array(0),
5091
+ boloBidPrice: Long.ZERO,
5092
+ boloBidQuantity: Long.ZERO,
5093
+ boloOfferParticipantId: new Uint8Array(0),
5094
+ boloOfferPrice: Long.ZERO,
5095
+ boloOfferQuantity: Long.ZERO
4980
5096
  };
4981
5097
  }
4982
5098
  const BestBidOfferEncode = {
@@ -5023,6 +5139,24 @@ const BestBidOfferEncode = {
5023
5139
  if (message.transient !== false) {
5024
5140
  writer.uint32(264).bool(message.transient);
5025
5141
  }
5142
+ if (message.boloBidParticipantId.length !== 0) {
5143
+ writer.uint32(274).bytes(message.boloBidParticipantId);
5144
+ }
5145
+ if (!message.boloBidPrice.equals(Long.ZERO)) {
5146
+ writer.uint32(280).sint64(message.boloBidPrice.toString());
5147
+ }
5148
+ if (!message.boloBidQuantity.equals(Long.ZERO)) {
5149
+ writer.uint32(288).sint64(message.boloBidQuantity.toString());
5150
+ }
5151
+ if (message.boloOfferParticipantId.length !== 0) {
5152
+ writer.uint32(298).bytes(message.boloOfferParticipantId);
5153
+ }
5154
+ if (!message.boloOfferPrice.equals(Long.ZERO)) {
5155
+ writer.uint32(304).sint64(message.boloOfferPrice.toString());
5156
+ }
5157
+ if (!message.boloOfferQuantity.equals(Long.ZERO)) {
5158
+ writer.uint32(312).sint64(message.boloOfferQuantity.toString());
5159
+ }
5026
5160
  return writer;
5027
5161
  }
5028
5162
  }, BestBidOfferDecode = {
@@ -5131,6 +5265,48 @@ const BestBidOfferEncode = {
5131
5265
  message.transient = reader.bool();
5132
5266
  continue;
5133
5267
  }
5268
+ case 34: {
5269
+ if (tag !== 274) {
5270
+ break;
5271
+ }
5272
+ message.boloBidParticipantId = reader.bytes();
5273
+ continue;
5274
+ }
5275
+ case 35: {
5276
+ if (tag !== 280) {
5277
+ break;
5278
+ }
5279
+ message.boloBidPrice = Long.fromString(reader.sint64().toString());
5280
+ continue;
5281
+ }
5282
+ case 36: {
5283
+ if (tag !== 288) {
5284
+ break;
5285
+ }
5286
+ message.boloBidQuantity = Long.fromString(reader.sint64().toString());
5287
+ continue;
5288
+ }
5289
+ case 37: {
5290
+ if (tag !== 298) {
5291
+ break;
5292
+ }
5293
+ message.boloOfferParticipantId = reader.bytes();
5294
+ continue;
5295
+ }
5296
+ case 38: {
5297
+ if (tag !== 304) {
5298
+ break;
5299
+ }
5300
+ message.boloOfferPrice = Long.fromString(reader.sint64().toString());
5301
+ continue;
5302
+ }
5303
+ case 39: {
5304
+ if (tag !== 312) {
5305
+ break;
5306
+ }
5307
+ message.boloOfferQuantity = Long.fromString(reader.sint64().toString());
5308
+ continue;
5309
+ }
5134
5310
  }
5135
5311
  if ((tag & 7) === 4 || tag === 0) {
5136
5312
  break;
@@ -5994,7 +6170,8 @@ function createBaseTrade() {
5994
6170
  transactionTime2: Long.ZERO,
5995
6171
  consolidatedPriceIndicator: "",
5996
6172
  transient: false,
5997
- indexShortName: ""
6173
+ indexShortName: "",
6174
+ quantityFractional: Long.ZERO
5998
6175
  };
5999
6176
  }
6000
6177
  const TradeEncode = {
@@ -6083,6 +6260,9 @@ const TradeEncode = {
6083
6260
  if (message.indexShortName !== "") {
6084
6261
  writer.uint32(290).string(message.indexShortName);
6085
6262
  }
6263
+ if (!message.quantityFractional.equals(Long.ZERO)) {
6264
+ writer.uint32(296).sint64(message.quantityFractional.toString());
6265
+ }
6086
6266
  return writer;
6087
6267
  }
6088
6268
  }, TradeDecode = {
@@ -6289,6 +6469,13 @@ const TradeEncode = {
6289
6469
  message.indexShortName = reader.string();
6290
6470
  continue;
6291
6471
  }
6472
+ case 37: {
6473
+ if (tag !== 296) {
6474
+ break;
6475
+ }
6476
+ message.quantityFractional = Long.fromString(reader.sint64().toString());
6477
+ continue;
6478
+ }
6292
6479
  }
6293
6480
  if ((tag & 7) === 4 || tag === 0) {
6294
6481
  break;
@@ -6322,7 +6509,9 @@ function createBaseTradeCorrection() {
6322
6509
  distributionTime: Long.ZERO,
6323
6510
  transactionTime2: Long.ZERO,
6324
6511
  originalTradePrice: Long.ZERO,
6325
- originalTradeQuantity: Long.ZERO
6512
+ originalTradeQuantity: Long.ZERO,
6513
+ quantityFractional: Long.ZERO,
6514
+ originalQuantityFractional: Long.ZERO
6326
6515
  };
6327
6516
  }
6328
6517
  const TradeCorrectionEncode = {
@@ -6396,6 +6585,12 @@ const TradeCorrectionEncode = {
6396
6585
  if (!message.originalTradeQuantity.equals(Long.ZERO)) {
6397
6586
  writer.uint32(240).sint64(message.originalTradeQuantity.toString());
6398
6587
  }
6588
+ if (!message.quantityFractional.equals(Long.ZERO)) {
6589
+ writer.uint32(248).sint64(message.quantityFractional.toString());
6590
+ }
6591
+ if (!message.originalQuantityFractional.equals(Long.ZERO)) {
6592
+ writer.uint32(256).sint64(message.originalQuantityFractional.toString());
6593
+ }
6399
6594
  return writer;
6400
6595
  }
6401
6596
  }, TradeCorrectionDecode = {
@@ -6567,6 +6762,20 @@ const TradeCorrectionEncode = {
6567
6762
  message.originalTradeQuantity = Long.fromString(reader.sint64().toString());
6568
6763
  continue;
6569
6764
  }
6765
+ case 31: {
6766
+ if (tag !== 248) {
6767
+ break;
6768
+ }
6769
+ message.quantityFractional = Long.fromString(reader.sint64().toString());
6770
+ continue;
6771
+ }
6772
+ case 32: {
6773
+ if (tag !== 256) {
6774
+ break;
6775
+ }
6776
+ message.originalQuantityFractional = Long.fromString(reader.sint64().toString());
6777
+ continue;
6778
+ }
6570
6779
  }
6571
6780
  if ((tag & 7) === 4 || tag === 0) {
6572
6781
  break;
@@ -6586,7 +6795,8 @@ function createBaseTradeCancel() {
6586
6795
  saleCondition: new Uint8Array(0),
6587
6796
  currency: "",
6588
6797
  distributionTime: Long.ZERO,
6589
- transactionTime2: Long.ZERO
6798
+ transactionTime2: Long.ZERO,
6799
+ correctedTradeQuantityFractional: Long.ZERO
6590
6800
  };
6591
6801
  }
6592
6802
  const TradeCancelEncode = {
@@ -6618,6 +6828,9 @@ const TradeCancelEncode = {
6618
6828
  if (!message.transactionTime2.equals(Long.ZERO)) {
6619
6829
  writer.uint32(128).sint64(message.transactionTime2.toString());
6620
6830
  }
6831
+ if (!message.correctedTradeQuantityFractional.equals(Long.ZERO)) {
6832
+ writer.uint32(136).sint64(message.correctedTradeQuantityFractional.toString());
6833
+ }
6621
6834
  return writer;
6622
6835
  }
6623
6836
  }, TradeCancelDecode = {
@@ -6691,6 +6904,13 @@ const TradeCancelEncode = {
6691
6904
  message.transactionTime2 = Long.fromString(reader.sint64().toString());
6692
6905
  continue;
6693
6906
  }
6907
+ case 17: {
6908
+ if (tag !== 136) {
6909
+ break;
6910
+ }
6911
+ message.correctedTradeQuantityFractional = Long.fromString(reader.sint64().toString());
6912
+ continue;
6913
+ }
6694
6914
  }
6695
6915
  if ((tag & 7) === 4 || tag === 0) {
6696
6916
  break;
@@ -7159,7 +7379,15 @@ const PrevCloseEncode = {
7159
7379
  }
7160
7380
  };
7161
7381
  function createBaseLast() {
7162
- return { transactionTime: Long.ZERO, tradeDate: 0, price: Long.ZERO, quantity: Long.ZERO, currency: "", session: "" };
7382
+ return {
7383
+ transactionTime: Long.ZERO,
7384
+ tradeDate: 0,
7385
+ price: Long.ZERO,
7386
+ quantity: Long.ZERO,
7387
+ currency: "",
7388
+ quantityFractional: Long.ZERO,
7389
+ session: ""
7390
+ };
7163
7391
  }
7164
7392
  const LastEncode = {
7165
7393
  encode(message, writer = new BinaryWriter()) {
@@ -7178,6 +7406,9 @@ const LastEncode = {
7178
7406
  if (message.currency !== "") {
7179
7407
  writer.uint32(106).string(message.currency);
7180
7408
  }
7409
+ if (!message.quantityFractional.equals(Long.ZERO)) {
7410
+ writer.uint32(112).sint64(message.quantityFractional.toString());
7411
+ }
7181
7412
  if (message.session !== "") {
7182
7413
  writer.uint32(242).string(message.session);
7183
7414
  }
@@ -7226,6 +7457,13 @@ const LastEncode = {
7226
7457
  message.currency = reader.string();
7227
7458
  continue;
7228
7459
  }
7460
+ case 14: {
7461
+ if (tag !== 112) {
7462
+ break;
7463
+ }
7464
+ message.quantityFractional = Long.fromString(reader.sint64().toString());
7465
+ continue;
7466
+ }
7229
7467
  case 30: {
7230
7468
  if (tag !== 242) {
7231
7469
  break;
@@ -7351,7 +7589,7 @@ const YearLowEncode = {
7351
7589
  }
7352
7590
  };
7353
7591
  function createBaseVolume() {
7354
- return { transactionTime: Long.ZERO, tradeDate: 0, volume: Long.ZERO };
7592
+ return { transactionTime: Long.ZERO, tradeDate: 0, volume: Long.ZERO, volumeFractional: Long.ZERO };
7355
7593
  }
7356
7594
  const VolumeEncode = {
7357
7595
  encode(message, writer = new BinaryWriter()) {
@@ -7364,6 +7602,9 @@ const VolumeEncode = {
7364
7602
  if (!message.volume.equals(Long.ZERO)) {
7365
7603
  writer.uint32(88).sint64(message.volume.toString());
7366
7604
  }
7605
+ if (!message.volumeFractional.equals(Long.ZERO)) {
7606
+ writer.uint32(96).sint64(message.volumeFractional.toString());
7607
+ }
7367
7608
  return writer;
7368
7609
  }
7369
7610
  }, VolumeDecode = {
@@ -7395,6 +7636,13 @@ const VolumeEncode = {
7395
7636
  message.volume = Long.fromString(reader.sint64().toString());
7396
7637
  continue;
7397
7638
  }
7639
+ case 12: {
7640
+ if (tag !== 96) {
7641
+ break;
7642
+ }
7643
+ message.volumeFractional = Long.fromString(reader.sint64().toString());
7644
+ continue;
7645
+ }
7398
7646
  }
7399
7647
  if ((tag & 7) === 4 || tag === 0) {
7400
7648
  break;
@@ -7754,6 +8002,296 @@ const MarketOpenInterestEncode = {
7754
8002
  return message;
7755
8003
  }
7756
8004
  };
8005
+ function createBaseWarrantBand() {
8006
+ return { tradeDate: 0, type: "", productCode: "", bands: [] };
8007
+ }
8008
+ const WarrantBandEncode = {
8009
+ encode(message, writer = new BinaryWriter()) {
8010
+ if (message.tradeDate !== 0) {
8011
+ writer.uint32(8).sint32(message.tradeDate);
8012
+ }
8013
+ if (message.type !== "") {
8014
+ writer.uint32(18).string(message.type);
8015
+ }
8016
+ if (message.productCode !== "") {
8017
+ writer.uint32(26).string(message.productCode);
8018
+ }
8019
+ for (const v of message.bands) {
8020
+ WarrantBandItemEncode.encode(v, writer.uint32(34).fork()).join();
8021
+ }
8022
+ return writer;
8023
+ }
8024
+ }, WarrantBandDecode = {
8025
+ decode(input, length) {
8026
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
8027
+ const end = length === void 0 ? reader.len : reader.pos + length;
8028
+ const message = createBaseWarrantBand();
8029
+ while (reader.pos < end) {
8030
+ const tag = reader.uint32();
8031
+ switch (tag >>> 3) {
8032
+ case 1: {
8033
+ if (tag !== 8) {
8034
+ break;
8035
+ }
8036
+ message.tradeDate = reader.sint32();
8037
+ continue;
8038
+ }
8039
+ case 2: {
8040
+ if (tag !== 18) {
8041
+ break;
8042
+ }
8043
+ message.type = reader.string();
8044
+ continue;
8045
+ }
8046
+ case 3: {
8047
+ if (tag !== 26) {
8048
+ break;
8049
+ }
8050
+ message.productCode = reader.string();
8051
+ continue;
8052
+ }
8053
+ case 4: {
8054
+ if (tag !== 34) {
8055
+ break;
8056
+ }
8057
+ message.bands.push(WarrantBandItemDecode.decode(reader, reader.uint32()));
8058
+ continue;
8059
+ }
8060
+ }
8061
+ if ((tag & 7) === 4 || tag === 0) {
8062
+ break;
8063
+ }
8064
+ reader.skip(tag & 7);
8065
+ }
8066
+ return message;
8067
+ }
8068
+ };
8069
+ function createBaseWarrantBandItem() {
8070
+ return { lowerValue: 0, upperValue: 0, participantCount: 0 };
8071
+ }
8072
+ const WarrantBandItemEncode = {
8073
+ encode(message, writer = new BinaryWriter()) {
8074
+ if (message.lowerValue !== 0) {
8075
+ writer.uint32(8).sint32(message.lowerValue);
8076
+ }
8077
+ if (message.upperValue !== 0) {
8078
+ writer.uint32(16).sint32(message.upperValue);
8079
+ }
8080
+ if (message.participantCount !== 0) {
8081
+ writer.uint32(24).sint32(message.participantCount);
8082
+ }
8083
+ return writer;
8084
+ }
8085
+ }, WarrantBandItemDecode = {
8086
+ decode(input, length) {
8087
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
8088
+ const end = length === void 0 ? reader.len : reader.pos + length;
8089
+ const message = createBaseWarrantBandItem();
8090
+ while (reader.pos < end) {
8091
+ const tag = reader.uint32();
8092
+ switch (tag >>> 3) {
8093
+ case 1: {
8094
+ if (tag !== 8) {
8095
+ break;
8096
+ }
8097
+ message.lowerValue = reader.sint32();
8098
+ continue;
8099
+ }
8100
+ case 2: {
8101
+ if (tag !== 16) {
8102
+ break;
8103
+ }
8104
+ message.upperValue = reader.sint32();
8105
+ continue;
8106
+ }
8107
+ case 3: {
8108
+ if (tag !== 24) {
8109
+ break;
8110
+ }
8111
+ message.participantCount = reader.sint32();
8112
+ continue;
8113
+ }
8114
+ }
8115
+ if ((tag & 7) === 4 || tag === 0) {
8116
+ break;
8117
+ }
8118
+ reader.skip(tag & 7);
8119
+ }
8120
+ return message;
8121
+ }
8122
+ };
8123
+ function createBasePositionBand() {
8124
+ return { tradeDate: 0, productCode: "", shortBands: [], longBands: [] };
8125
+ }
8126
+ const PositionBandEncode = {
8127
+ encode(message, writer = new BinaryWriter()) {
8128
+ if (message.tradeDate !== 0) {
8129
+ writer.uint32(8).sint32(message.tradeDate);
8130
+ }
8131
+ if (message.productCode !== "") {
8132
+ writer.uint32(18).string(message.productCode);
8133
+ }
8134
+ for (const v of message.shortBands) {
8135
+ PositionBandItemEncode.encode(v, writer.uint32(26).fork()).join();
8136
+ }
8137
+ for (const v of message.longBands) {
8138
+ PositionBandItemEncode.encode(v, writer.uint32(34).fork()).join();
8139
+ }
8140
+ return writer;
8141
+ }
8142
+ }, PositionBandDecode = {
8143
+ decode(input, length) {
8144
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
8145
+ const end = length === void 0 ? reader.len : reader.pos + length;
8146
+ const message = createBasePositionBand();
8147
+ while (reader.pos < end) {
8148
+ const tag = reader.uint32();
8149
+ switch (tag >>> 3) {
8150
+ case 1: {
8151
+ if (tag !== 8) {
8152
+ break;
8153
+ }
8154
+ message.tradeDate = reader.sint32();
8155
+ continue;
8156
+ }
8157
+ case 2: {
8158
+ if (tag !== 18) {
8159
+ break;
8160
+ }
8161
+ message.productCode = reader.string();
8162
+ continue;
8163
+ }
8164
+ case 3: {
8165
+ if (tag !== 26) {
8166
+ break;
8167
+ }
8168
+ message.shortBands.push(PositionBandItemDecode.decode(reader, reader.uint32()));
8169
+ continue;
8170
+ }
8171
+ case 4: {
8172
+ if (tag !== 34) {
8173
+ break;
8174
+ }
8175
+ message.longBands.push(PositionBandItemDecode.decode(reader, reader.uint32()));
8176
+ continue;
8177
+ }
8178
+ }
8179
+ if ((tag & 7) === 4 || tag === 0) {
8180
+ break;
8181
+ }
8182
+ reader.skip(tag & 7);
8183
+ }
8184
+ return message;
8185
+ }
8186
+ };
8187
+ function createBasePositionBandItem() {
8188
+ return { positionLowerValue: 0, positionUpperValue: 0, promptCounts: [] };
8189
+ }
8190
+ const PositionBandItemEncode = {
8191
+ encode(message, writer = new BinaryWriter()) {
8192
+ if (message.positionLowerValue !== 0) {
8193
+ writer.uint32(8).sint32(message.positionLowerValue);
8194
+ }
8195
+ if (message.positionUpperValue !== 0) {
8196
+ writer.uint32(16).sint32(message.positionUpperValue);
8197
+ }
8198
+ for (const v of message.promptCounts) {
8199
+ PromptCountEncode.encode(v, writer.uint32(26).fork()).join();
8200
+ }
8201
+ return writer;
8202
+ }
8203
+ }, PositionBandItemDecode = {
8204
+ decode(input, length) {
8205
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
8206
+ const end = length === void 0 ? reader.len : reader.pos + length;
8207
+ const message = createBasePositionBandItem();
8208
+ while (reader.pos < end) {
8209
+ const tag = reader.uint32();
8210
+ switch (tag >>> 3) {
8211
+ case 1: {
8212
+ if (tag !== 8) {
8213
+ break;
8214
+ }
8215
+ message.positionLowerValue = reader.sint32();
8216
+ continue;
8217
+ }
8218
+ case 2: {
8219
+ if (tag !== 16) {
8220
+ break;
8221
+ }
8222
+ message.positionUpperValue = reader.sint32();
8223
+ continue;
8224
+ }
8225
+ case 3: {
8226
+ if (tag !== 26) {
8227
+ break;
8228
+ }
8229
+ message.promptCounts.push(PromptCountDecode.decode(reader, reader.uint32()));
8230
+ continue;
8231
+ }
8232
+ }
8233
+ if ((tag & 7) === 4 || tag === 0) {
8234
+ break;
8235
+ }
8236
+ reader.skip(tag & 7);
8237
+ }
8238
+ return message;
8239
+ }
8240
+ };
8241
+ function createBasePromptCount() {
8242
+ return { promptDateLabel: "", expiryDate: 0, participantCount: 0 };
8243
+ }
8244
+ const PromptCountEncode = {
8245
+ encode(message, writer = new BinaryWriter()) {
8246
+ if (message.promptDateLabel !== "") {
8247
+ writer.uint32(10).string(message.promptDateLabel);
8248
+ }
8249
+ if (message.expiryDate !== 0) {
8250
+ writer.uint32(16).sint32(message.expiryDate);
8251
+ }
8252
+ if (message.participantCount !== 0) {
8253
+ writer.uint32(24).sint32(message.participantCount);
8254
+ }
8255
+ return writer;
8256
+ }
8257
+ }, PromptCountDecode = {
8258
+ decode(input, length) {
8259
+ const reader = input instanceof BinaryReader ? input : new BinaryReader(input);
8260
+ const end = length === void 0 ? reader.len : reader.pos + length;
8261
+ const message = createBasePromptCount();
8262
+ while (reader.pos < end) {
8263
+ const tag = reader.uint32();
8264
+ switch (tag >>> 3) {
8265
+ case 1: {
8266
+ if (tag !== 10) {
8267
+ break;
8268
+ }
8269
+ message.promptDateLabel = reader.string();
8270
+ continue;
8271
+ }
8272
+ case 2: {
8273
+ if (tag !== 16) {
8274
+ break;
8275
+ }
8276
+ message.expiryDate = reader.sint32();
8277
+ continue;
8278
+ }
8279
+ case 3: {
8280
+ if (tag !== 24) {
8281
+ break;
8282
+ }
8283
+ message.participantCount = reader.sint32();
8284
+ continue;
8285
+ }
8286
+ }
8287
+ if ((tag & 7) === 4 || tag === 0) {
8288
+ break;
8289
+ }
8290
+ reader.skip(tag & 7);
8291
+ }
8292
+ return message;
8293
+ }
8294
+ };
7757
8295
  function createBaseVwap() {
7758
8296
  return { transactionTime: Long.ZERO, tradeDate: 0, vwap: Long.ZERO };
7759
8297
  }
@@ -8457,7 +8995,8 @@ function createBaseMarketSummary() {
8457
8995
  session: "",
8458
8996
  summaryType: 0,
8459
8997
  prevVolume: void 0,
8460
- transient: false
8998
+ transient: false,
8999
+ lastTrade: void 0
8461
9000
  };
8462
9001
  }
8463
9002
  const MarketSummaryEncode = {
@@ -8525,6 +9064,9 @@ const MarketSummaryEncode = {
8525
9064
  if (message.transient !== false) {
8526
9065
  writer.uint32(192).bool(message.transient);
8527
9066
  }
9067
+ if (message.lastTrade !== void 0) {
9068
+ LastEncode.encode(message.lastTrade, writer.uint32(202).fork()).join();
9069
+ }
8528
9070
  return writer;
8529
9071
  }
8530
9072
  }, MarketSummaryDecode = {
@@ -8682,6 +9224,13 @@ const MarketSummaryEncode = {
8682
9224
  message.transient = reader.bool();
8683
9225
  continue;
8684
9226
  }
9227
+ case 25: {
9228
+ if (tag !== 202) {
9229
+ break;
9230
+ }
9231
+ message.lastTrade = LastDecode.decode(reader, reader.uint32());
9232
+ continue;
9233
+ }
8685
9234
  }
8686
9235
  if ((tag & 7) === 4 || tag === 0) {
8687
9236
  break;
@@ -11844,7 +12393,7 @@ class OpenFeedConnection {
11844
12393
  whenDisconnected = () => this.whenDisconnectedSource.whenCompleted;
11845
12394
  dispose = () => this.disconnect(new ConnectionDisposedError("Disposed"));
11846
12395
  }
11847
- const version = "1.6.11";
12396
+ const version = "1.7.1";
11848
12397
  const getClientVersion = async (clientId) => {
11849
12398
  let platformDescription;
11850
12399
  if (typeof window !== "undefined") {