@evedex/exchange-api 1.0.66 → 1.0.68
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.
|
@@ -251,7 +251,8 @@ export declare enum InstrumentTrading {
|
|
|
251
251
|
All = "all",
|
|
252
252
|
Restricted = "restricted",
|
|
253
253
|
None = "none",
|
|
254
|
-
OnlyClose = "onlyClose"
|
|
254
|
+
OnlyClose = "onlyClose",
|
|
255
|
+
MarketMakerOnly = "marketMakerOnly"
|
|
255
256
|
}
|
|
256
257
|
export declare enum TradingSessionStatus {
|
|
257
258
|
Inherited = "INHERITED",
|
|
@@ -262,6 +263,26 @@ export declare enum TradingSessionStatus {
|
|
|
262
263
|
PreOpenNoCancel = "PRE_OPEN_NO_CANCEL",
|
|
263
264
|
PreOpen = "PRE_OPEN"
|
|
264
265
|
}
|
|
266
|
+
export interface ScheduleSession {
|
|
267
|
+
status: InstrumentTrading;
|
|
268
|
+
start: string;
|
|
269
|
+
end: string;
|
|
270
|
+
}
|
|
271
|
+
export interface ScheduleDaySettings {
|
|
272
|
+
day: number;
|
|
273
|
+
sessions: ScheduleSession[];
|
|
274
|
+
}
|
|
275
|
+
export interface ScheduleSpecificDateSettings {
|
|
276
|
+
date: string;
|
|
277
|
+
sessions: ScheduleSession[];
|
|
278
|
+
}
|
|
279
|
+
export interface Schedule {
|
|
280
|
+
id: string;
|
|
281
|
+
name: string;
|
|
282
|
+
timezone: string;
|
|
283
|
+
days: ScheduleDaySettings[];
|
|
284
|
+
specificDates: ScheduleSpecificDateSettings[];
|
|
285
|
+
}
|
|
265
286
|
export interface Instrument {
|
|
266
287
|
id: string;
|
|
267
288
|
name: string;
|
|
@@ -270,6 +291,7 @@ export interface Instrument {
|
|
|
270
291
|
avgLastPrice: number;
|
|
271
292
|
};
|
|
272
293
|
to: Omit<Coin, "price">;
|
|
294
|
+
schedule: Schedule;
|
|
273
295
|
maxLeverage: number;
|
|
274
296
|
leverageLimit: LeverageLimit;
|
|
275
297
|
maintenanceMargin: MaintenanceMarginMap;
|
package/dist/cjs/utils/types.js
CHANGED
|
@@ -38,6 +38,7 @@ var InstrumentTrading;
|
|
|
38
38
|
InstrumentTrading["Restricted"] = "restricted";
|
|
39
39
|
InstrumentTrading["None"] = "none";
|
|
40
40
|
InstrumentTrading["OnlyClose"] = "onlyClose";
|
|
41
|
+
InstrumentTrading["MarketMakerOnly"] = "marketMakerOnly";
|
|
41
42
|
})(InstrumentTrading || (exports.InstrumentTrading = InstrumentTrading = {}));
|
|
42
43
|
var TradingSessionStatus;
|
|
43
44
|
(function (TradingSessionStatus) {
|
|
@@ -251,7 +251,8 @@ export declare enum InstrumentTrading {
|
|
|
251
251
|
All = "all",
|
|
252
252
|
Restricted = "restricted",
|
|
253
253
|
None = "none",
|
|
254
|
-
OnlyClose = "onlyClose"
|
|
254
|
+
OnlyClose = "onlyClose",
|
|
255
|
+
MarketMakerOnly = "marketMakerOnly"
|
|
255
256
|
}
|
|
256
257
|
export declare enum TradingSessionStatus {
|
|
257
258
|
Inherited = "INHERITED",
|
|
@@ -262,6 +263,26 @@ export declare enum TradingSessionStatus {
|
|
|
262
263
|
PreOpenNoCancel = "PRE_OPEN_NO_CANCEL",
|
|
263
264
|
PreOpen = "PRE_OPEN"
|
|
264
265
|
}
|
|
266
|
+
export interface ScheduleSession {
|
|
267
|
+
status: InstrumentTrading;
|
|
268
|
+
start: string;
|
|
269
|
+
end: string;
|
|
270
|
+
}
|
|
271
|
+
export interface ScheduleDaySettings {
|
|
272
|
+
day: number;
|
|
273
|
+
sessions: ScheduleSession[];
|
|
274
|
+
}
|
|
275
|
+
export interface ScheduleSpecificDateSettings {
|
|
276
|
+
date: string;
|
|
277
|
+
sessions: ScheduleSession[];
|
|
278
|
+
}
|
|
279
|
+
export interface Schedule {
|
|
280
|
+
id: string;
|
|
281
|
+
name: string;
|
|
282
|
+
timezone: string;
|
|
283
|
+
days: ScheduleDaySettings[];
|
|
284
|
+
specificDates: ScheduleSpecificDateSettings[];
|
|
285
|
+
}
|
|
265
286
|
export interface Instrument {
|
|
266
287
|
id: string;
|
|
267
288
|
name: string;
|
|
@@ -270,6 +291,7 @@ export interface Instrument {
|
|
|
270
291
|
avgLastPrice: number;
|
|
271
292
|
};
|
|
272
293
|
to: Omit<Coin, "price">;
|
|
294
|
+
schedule: Schedule;
|
|
273
295
|
maxLeverage: number;
|
|
274
296
|
leverageLimit: LeverageLimit;
|
|
275
297
|
maintenanceMargin: MaintenanceMarginMap;
|
package/dist/mjs/utils/types.js
CHANGED
|
@@ -35,6 +35,7 @@ export var InstrumentTrading;
|
|
|
35
35
|
InstrumentTrading["Restricted"] = "restricted";
|
|
36
36
|
InstrumentTrading["None"] = "none";
|
|
37
37
|
InstrumentTrading["OnlyClose"] = "onlyClose";
|
|
38
|
+
InstrumentTrading["MarketMakerOnly"] = "marketMakerOnly";
|
|
38
39
|
})(InstrumentTrading || (InstrumentTrading = {}));
|
|
39
40
|
export var TradingSessionStatus;
|
|
40
41
|
(function (TradingSessionStatus) {
|