@evedex/exchange-api 1.0.54 → 1.0.56
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/cjs/utils/types.d.ts +13 -0
- package/dist/cjs/utils/types.js +11 -1
- package/dist/mjs/utils/types.d.ts +13 -0
- package/dist/mjs/utils/types.js +10 -0
- package/package.json +1 -1
|
@@ -239,6 +239,15 @@ export declare enum InstrumentTrading {
|
|
|
239
239
|
None = "none",
|
|
240
240
|
OnlyClose = "onlyClose"
|
|
241
241
|
}
|
|
242
|
+
export declare enum TradingSessionStatus {
|
|
243
|
+
Inherited = "INHERITED",
|
|
244
|
+
Opened = "OPEN",
|
|
245
|
+
Closed = "CLOSED",
|
|
246
|
+
Paused = "PAUSED",
|
|
247
|
+
Halted = "HALTED",
|
|
248
|
+
PreOpenNoCancel = "PRE_OPEN_NO_CANCEL",
|
|
249
|
+
PreOpen = "PRE_OPEN"
|
|
250
|
+
}
|
|
242
251
|
export interface Instrument {
|
|
243
252
|
id: string;
|
|
244
253
|
name: string;
|
|
@@ -252,6 +261,7 @@ export interface Instrument {
|
|
|
252
261
|
multiplier: number;
|
|
253
262
|
visibility: InstrumentVisibility;
|
|
254
263
|
trading: InstrumentTrading;
|
|
264
|
+
marketState: TradingSessionStatus;
|
|
255
265
|
updatedAt: Date;
|
|
256
266
|
minQuantity: number;
|
|
257
267
|
maxQuantity: number;
|
|
@@ -297,6 +307,9 @@ export interface InstrumentUpdateEvent {
|
|
|
297
307
|
maxPrice: number;
|
|
298
308
|
fatFingerPriceProtection: number;
|
|
299
309
|
slippageLimit: number;
|
|
310
|
+
visibility: InstrumentVisibility;
|
|
311
|
+
trading: InstrumentTrading;
|
|
312
|
+
marketState: TradingSessionStatus;
|
|
300
313
|
updatedAt: Date;
|
|
301
314
|
}
|
|
302
315
|
export type InstrumentMetricsList = InstrumentMetrics[];
|
package/dist/cjs/utils/types.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MakerTakerFlag = exports.InstrumentTrading = exports.InstrumentVisibility = exports.TransferStatus = exports.TransferType = exports.OrderFillFeeType = void 0;
|
|
3
|
+
exports.MakerTakerFlag = exports.TradingSessionStatus = exports.InstrumentTrading = exports.InstrumentVisibility = exports.TransferStatus = exports.TransferType = exports.OrderFillFeeType = void 0;
|
|
4
4
|
var OrderFillFeeType;
|
|
5
5
|
(function (OrderFillFeeType) {
|
|
6
6
|
OrderFillFeeType["Liquidation"] = "liquidation";
|
|
@@ -35,6 +35,16 @@ var InstrumentTrading;
|
|
|
35
35
|
InstrumentTrading["None"] = "none";
|
|
36
36
|
InstrumentTrading["OnlyClose"] = "onlyClose";
|
|
37
37
|
})(InstrumentTrading || (exports.InstrumentTrading = InstrumentTrading = {}));
|
|
38
|
+
var TradingSessionStatus;
|
|
39
|
+
(function (TradingSessionStatus) {
|
|
40
|
+
TradingSessionStatus["Inherited"] = "INHERITED";
|
|
41
|
+
TradingSessionStatus["Opened"] = "OPEN";
|
|
42
|
+
TradingSessionStatus["Closed"] = "CLOSED";
|
|
43
|
+
TradingSessionStatus["Paused"] = "PAUSED";
|
|
44
|
+
TradingSessionStatus["Halted"] = "HALTED";
|
|
45
|
+
TradingSessionStatus["PreOpenNoCancel"] = "PRE_OPEN_NO_CANCEL";
|
|
46
|
+
TradingSessionStatus["PreOpen"] = "PRE_OPEN";
|
|
47
|
+
})(TradingSessionStatus || (exports.TradingSessionStatus = TradingSessionStatus = {}));
|
|
38
48
|
var MakerTakerFlag;
|
|
39
49
|
(function (MakerTakerFlag) {
|
|
40
50
|
MakerTakerFlag["Maker"] = "MAKER";
|
|
@@ -239,6 +239,15 @@ export declare enum InstrumentTrading {
|
|
|
239
239
|
None = "none",
|
|
240
240
|
OnlyClose = "onlyClose"
|
|
241
241
|
}
|
|
242
|
+
export declare enum TradingSessionStatus {
|
|
243
|
+
Inherited = "INHERITED",
|
|
244
|
+
Opened = "OPEN",
|
|
245
|
+
Closed = "CLOSED",
|
|
246
|
+
Paused = "PAUSED",
|
|
247
|
+
Halted = "HALTED",
|
|
248
|
+
PreOpenNoCancel = "PRE_OPEN_NO_CANCEL",
|
|
249
|
+
PreOpen = "PRE_OPEN"
|
|
250
|
+
}
|
|
242
251
|
export interface Instrument {
|
|
243
252
|
id: string;
|
|
244
253
|
name: string;
|
|
@@ -252,6 +261,7 @@ export interface Instrument {
|
|
|
252
261
|
multiplier: number;
|
|
253
262
|
visibility: InstrumentVisibility;
|
|
254
263
|
trading: InstrumentTrading;
|
|
264
|
+
marketState: TradingSessionStatus;
|
|
255
265
|
updatedAt: Date;
|
|
256
266
|
minQuantity: number;
|
|
257
267
|
maxQuantity: number;
|
|
@@ -297,6 +307,9 @@ export interface InstrumentUpdateEvent {
|
|
|
297
307
|
maxPrice: number;
|
|
298
308
|
fatFingerPriceProtection: number;
|
|
299
309
|
slippageLimit: number;
|
|
310
|
+
visibility: InstrumentVisibility;
|
|
311
|
+
trading: InstrumentTrading;
|
|
312
|
+
marketState: TradingSessionStatus;
|
|
300
313
|
updatedAt: Date;
|
|
301
314
|
}
|
|
302
315
|
export type InstrumentMetricsList = InstrumentMetrics[];
|
package/dist/mjs/utils/types.js
CHANGED
|
@@ -32,6 +32,16 @@ export var InstrumentTrading;
|
|
|
32
32
|
InstrumentTrading["None"] = "none";
|
|
33
33
|
InstrumentTrading["OnlyClose"] = "onlyClose";
|
|
34
34
|
})(InstrumentTrading || (InstrumentTrading = {}));
|
|
35
|
+
export var TradingSessionStatus;
|
|
36
|
+
(function (TradingSessionStatus) {
|
|
37
|
+
TradingSessionStatus["Inherited"] = "INHERITED";
|
|
38
|
+
TradingSessionStatus["Opened"] = "OPEN";
|
|
39
|
+
TradingSessionStatus["Closed"] = "CLOSED";
|
|
40
|
+
TradingSessionStatus["Paused"] = "PAUSED";
|
|
41
|
+
TradingSessionStatus["Halted"] = "HALTED";
|
|
42
|
+
TradingSessionStatus["PreOpenNoCancel"] = "PRE_OPEN_NO_CANCEL";
|
|
43
|
+
TradingSessionStatus["PreOpen"] = "PRE_OPEN";
|
|
44
|
+
})(TradingSessionStatus || (TradingSessionStatus = {}));
|
|
35
45
|
export var MakerTakerFlag;
|
|
36
46
|
(function (MakerTakerFlag) {
|
|
37
47
|
MakerTakerFlag["Maker"] = "MAKER";
|