@openfeed/sdk-js 1.6.11 → 1.7.2
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/CHANGELOG.md +1 -6
- package/dist/generated/openfeed.d.ts +82 -0
- package/dist/generated/openfeed_instrument.d.ts +4 -0
- package/dist/generated/version.d.ts +1 -1
- package/dist/index.js +561 -12
- package/dist/node.js +662 -35
- package/package.json +1 -1
- package/.releases/CHANGELOG-1.1.4.md +0 -26
- package/.releases/CHANGELOG-1.1.5.md +0 -5
- package/.releases/CHANGELOG-1.1.6.md +0 -10
- package/.releases/CHANGELOG-1.2.0.md +0 -10
- package/.releases/CHANGELOG-1.2.1.md +0 -15
- package/.releases/CHANGELOG-1.2.2.md +0 -10
- package/.releases/CHANGELOG-1.2.3.md +0 -10
- package/.releases/CHANGELOG-1.3.0.md +0 -10
- package/.releases/CHANGELOG-1.3.1.md +0 -10
- package/.releases/CHANGELOG-1.3.2.md +0 -10
- package/.releases/CHANGELOG-1.3.3.md +0 -10
- package/.releases/CHANGELOG-1.4.0.md +0 -10
- package/.releases/CHANGELOG-1.4.1.md +0 -15
- package/.releases/CHANGELOG-1.5.0.md +0 -10
- package/.releases/CHANGELOG-1.6.0.md +0 -11
package/CHANGELOG.md
CHANGED
|
@@ -2,9 +2,4 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
### Features
|
|
9
|
-
|
|
10
|
-
* expose instruments map data ([1750d6e](https://github.com/openfeed-org/sdk-js/commit/1750d6ed768bf1d38a719c84183e923def876ce7))
|
|
5
|
+
### [1.7.2](https://github.com/openfeed-org/sdk-js/compare/1.7.0...1.7.2) (2026-06-17)
|
|
@@ -240,6 +240,9 @@ export interface MarketSession {
|
|
|
240
240
|
priceLimits: PriceLimits | undefined;
|
|
241
241
|
marketOpenInterest: MarketOpenInterest | undefined;
|
|
242
242
|
vwap: Vwap | undefined;
|
|
243
|
+
warrantBand: WarrantBand | undefined;
|
|
244
|
+
positionBand: PositionBand | undefined;
|
|
245
|
+
lastTrade: Last | undefined;
|
|
243
246
|
}
|
|
244
247
|
/** / Snapshot for a market */
|
|
245
248
|
export interface MarketSnapshot {
|
|
@@ -324,6 +327,9 @@ export interface MarketSnapshot {
|
|
|
324
327
|
sessions: MarketSession[];
|
|
325
328
|
officialBestBidOffer: OfficialBestBidOffer | undefined;
|
|
326
329
|
marketOpenInterest: MarketOpenInterest | undefined;
|
|
330
|
+
warrantBand: WarrantBand | undefined;
|
|
331
|
+
positionBand: PositionBand | undefined;
|
|
332
|
+
lastTrade: Last | undefined;
|
|
327
333
|
}
|
|
328
334
|
/** Used by market state to return snapshot. */
|
|
329
335
|
export interface MarketSnapshotResponse {
|
|
@@ -401,6 +407,8 @@ export interface MarketUpdate {
|
|
|
401
407
|
priceLimits?: PriceLimits | undefined;
|
|
402
408
|
officialBestBidOffer?: OfficialBestBidOffer | undefined;
|
|
403
409
|
marketOpenInterest?: MarketOpenInterest | undefined;
|
|
410
|
+
warrantBand?: WarrantBand | undefined;
|
|
411
|
+
positionBand?: PositionBand | undefined;
|
|
404
412
|
}
|
|
405
413
|
/** / Depth Price Level */
|
|
406
414
|
export interface DepthPriceLevel {
|
|
@@ -487,6 +495,13 @@ export interface BestBidOffer {
|
|
|
487
495
|
regional: boolean;
|
|
488
496
|
/** / True if not persisted in the EOD database. */
|
|
489
497
|
transient: boolean;
|
|
498
|
+
/** Best Odd Lot Order (BOLO) */
|
|
499
|
+
boloBidParticipantId: Uint8Array;
|
|
500
|
+
boloBidPrice: Long;
|
|
501
|
+
boloBidQuantity: Long;
|
|
502
|
+
boloOfferParticipantId: Uint8Array;
|
|
503
|
+
boloOfferPrice: Long;
|
|
504
|
+
boloOfferQuantity: Long;
|
|
490
505
|
}
|
|
491
506
|
/** / Official Best Bid and Offer. */
|
|
492
507
|
export interface OfficialBestBidOffer {
|
|
@@ -633,6 +648,8 @@ export interface Trade {
|
|
|
633
648
|
transient: boolean;
|
|
634
649
|
/** / Index short name used to identify index. */
|
|
635
650
|
indexShortName: string;
|
|
651
|
+
/** / Fractional Quantity. Divide by quantityFractionalDenominator. */
|
|
652
|
+
quantityFractional: Long;
|
|
636
653
|
}
|
|
637
654
|
/** / Trade Correction */
|
|
638
655
|
export interface TradeCorrection {
|
|
@@ -667,6 +684,10 @@ export interface TradeCorrection {
|
|
|
667
684
|
originalTradePrice: Long;
|
|
668
685
|
/** Original Quantity */
|
|
669
686
|
originalTradeQuantity: Long;
|
|
687
|
+
/** / Corrected Fractional Quantity. Divide by quantityFractionalDenominator. */
|
|
688
|
+
quantityFractional: Long;
|
|
689
|
+
/** / Original Fractional Quantity. Divide by quantityFractionalDenominator. */
|
|
690
|
+
originalQuantityFractional: Long;
|
|
670
691
|
}
|
|
671
692
|
/** Trade Cancel/Break */
|
|
672
693
|
export interface TradeCancel {
|
|
@@ -682,6 +703,8 @@ export interface TradeCancel {
|
|
|
682
703
|
distributionTime: Long;
|
|
683
704
|
/** / time in nano seconds since epoch. */
|
|
684
705
|
transactionTime2: Long;
|
|
706
|
+
/** / Corrected Fractional Quantity. Divide by quantityFractionalDenominator. */
|
|
707
|
+
correctedTradeQuantityFractional: Long;
|
|
685
708
|
}
|
|
686
709
|
export interface Open {
|
|
687
710
|
transactionTime: Long;
|
|
@@ -751,6 +774,8 @@ export interface Last {
|
|
|
751
774
|
/** / Divide by quantityDenominator */
|
|
752
775
|
quantity: Long;
|
|
753
776
|
currency: string;
|
|
777
|
+
/** / Quantity Fractional. Divide by quantityFractionalDenominator. */
|
|
778
|
+
quantityFractional: Long;
|
|
754
779
|
session: string;
|
|
755
780
|
}
|
|
756
781
|
/** / 52 week */
|
|
@@ -774,6 +799,8 @@ export interface Volume {
|
|
|
774
799
|
tradeDate: number;
|
|
775
800
|
/** Total volume traded. */
|
|
776
801
|
volume: Long;
|
|
802
|
+
/** / Fractional Volume. Divide by volumeFractionalDenominator. */
|
|
803
|
+
volumeFractional: Long;
|
|
777
804
|
}
|
|
778
805
|
/** / Total number of trades */
|
|
779
806
|
export interface NumberOfTrades {
|
|
@@ -822,6 +849,35 @@ export interface MarketOpenInterest {
|
|
|
822
849
|
tradeDate: number;
|
|
823
850
|
volume: Long;
|
|
824
851
|
}
|
|
852
|
+
/** / Warrant band. Used by LME. */
|
|
853
|
+
export interface WarrantBand {
|
|
854
|
+
tradeDate: number;
|
|
855
|
+
type: string;
|
|
856
|
+
productCode: string;
|
|
857
|
+
bands: WarrantBandItem[];
|
|
858
|
+
}
|
|
859
|
+
export interface WarrantBandItem {
|
|
860
|
+
lowerValue: number;
|
|
861
|
+
upperValue: number;
|
|
862
|
+
participantCount: number;
|
|
863
|
+
}
|
|
864
|
+
/** Position band. Used by LME. */
|
|
865
|
+
export interface PositionBand {
|
|
866
|
+
tradeDate: number;
|
|
867
|
+
productCode: string;
|
|
868
|
+
shortBands: PositionBandItem[];
|
|
869
|
+
longBands: PositionBandItem[];
|
|
870
|
+
}
|
|
871
|
+
export interface PositionBandItem {
|
|
872
|
+
positionLowerValue: number;
|
|
873
|
+
positionUpperValue: number;
|
|
874
|
+
promptCounts: PromptCount[];
|
|
875
|
+
}
|
|
876
|
+
export interface PromptCount {
|
|
877
|
+
promptDateLabel: string;
|
|
878
|
+
expiryDate: number;
|
|
879
|
+
participantCount: number;
|
|
880
|
+
}
|
|
825
881
|
/** / Volume Weighted Average Price */
|
|
826
882
|
export interface Vwap {
|
|
827
883
|
transactionTime: Long;
|
|
@@ -940,6 +996,7 @@ export interface MarketSummary {
|
|
|
940
996
|
prevVolume: Volume | undefined;
|
|
941
997
|
/** / True if not persisted in the EOD database. */
|
|
942
998
|
transient: boolean;
|
|
999
|
+
lastTrade: Last | undefined;
|
|
943
1000
|
}
|
|
944
1001
|
/** Clears sets of fields */
|
|
945
1002
|
export declare enum MarketSummary_ClearSet {
|
|
@@ -1306,6 +1363,31 @@ export declare const MarketOpenInterestEncode: {
|
|
|
1306
1363
|
}, MarketOpenInterestDecode: {
|
|
1307
1364
|
decode(input: BinaryReader | Uint8Array, length?: number): MarketOpenInterest;
|
|
1308
1365
|
};
|
|
1366
|
+
export declare const WarrantBandEncode: {
|
|
1367
|
+
encode(message: WarrantBand, writer?: BinaryWriter): BinaryWriter;
|
|
1368
|
+
}, WarrantBandDecode: {
|
|
1369
|
+
decode(input: BinaryReader | Uint8Array, length?: number): WarrantBand;
|
|
1370
|
+
};
|
|
1371
|
+
export declare const WarrantBandItemEncode: {
|
|
1372
|
+
encode(message: WarrantBandItem, writer?: BinaryWriter): BinaryWriter;
|
|
1373
|
+
}, WarrantBandItemDecode: {
|
|
1374
|
+
decode(input: BinaryReader | Uint8Array, length?: number): WarrantBandItem;
|
|
1375
|
+
};
|
|
1376
|
+
export declare const PositionBandEncode: {
|
|
1377
|
+
encode(message: PositionBand, writer?: BinaryWriter): BinaryWriter;
|
|
1378
|
+
}, PositionBandDecode: {
|
|
1379
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PositionBand;
|
|
1380
|
+
};
|
|
1381
|
+
export declare const PositionBandItemEncode: {
|
|
1382
|
+
encode(message: PositionBandItem, writer?: BinaryWriter): BinaryWriter;
|
|
1383
|
+
}, PositionBandItemDecode: {
|
|
1384
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PositionBandItem;
|
|
1385
|
+
};
|
|
1386
|
+
export declare const PromptCountEncode: {
|
|
1387
|
+
encode(message: PromptCount, writer?: BinaryWriter): BinaryWriter;
|
|
1388
|
+
}, PromptCountDecode: {
|
|
1389
|
+
decode(input: BinaryReader | Uint8Array, length?: number): PromptCount;
|
|
1390
|
+
};
|
|
1309
1391
|
export declare const VwapEncode: {
|
|
1310
1392
|
encode(message: Vwap, writer?: BinaryWriter): BinaryWriter;
|
|
1311
1393
|
}, VwapDecode: {
|
|
@@ -154,6 +154,10 @@ export interface InstrumentDefinition {
|
|
|
154
154
|
contractSizeDescription: string;
|
|
155
155
|
exchangeMetadata: InstrumentDefinition_ExchangeMetadata | undefined;
|
|
156
156
|
roundLotSize: number;
|
|
157
|
+
/** / Divide fractional quantities by this value to get real quantities */
|
|
158
|
+
quantityFractionalDenominator: number;
|
|
159
|
+
/** / Divide fractional volumes by this value to get real volumes */
|
|
160
|
+
volumeFractionalDenominator: number;
|
|
157
161
|
}
|
|
158
162
|
/** ############################################# */
|
|
159
163
|
export declare enum InstrumentDefinition_InstrumentType {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const version = "1.
|
|
1
|
+
export declare const version = "1.7.2";
|