@evedex/exchange-api 1.0.67 → 1.0.69

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.
@@ -263,6 +263,26 @@ export declare enum TradingSessionStatus {
263
263
  PreOpenNoCancel = "PRE_OPEN_NO_CANCEL",
264
264
  PreOpen = "PRE_OPEN"
265
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
+ }
266
286
  export interface Instrument {
267
287
  id: string;
268
288
  name: string;
@@ -271,6 +291,7 @@ export interface Instrument {
271
291
  avgLastPrice: number;
272
292
  };
273
293
  to: Omit<Coin, "price">;
294
+ schedule: Schedule;
274
295
  maxLeverage: number;
275
296
  leverageLimit: LeverageLimit;
276
297
  maintenanceMargin: MaintenanceMarginMap;
@@ -307,6 +328,7 @@ export interface InstrumentMetrics extends Instrument {
307
328
  closePrice: number;
308
329
  volume: number;
309
330
  volumeBase: number;
331
+ valueAtRisk: number;
310
332
  }
311
333
  export interface InstrumentUpdateEvent {
312
334
  id: string;
@@ -263,6 +263,26 @@ export declare enum TradingSessionStatus {
263
263
  PreOpenNoCancel = "PRE_OPEN_NO_CANCEL",
264
264
  PreOpen = "PRE_OPEN"
265
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
+ }
266
286
  export interface Instrument {
267
287
  id: string;
268
288
  name: string;
@@ -271,6 +291,7 @@ export interface Instrument {
271
291
  avgLastPrice: number;
272
292
  };
273
293
  to: Omit<Coin, "price">;
294
+ schedule: Schedule;
274
295
  maxLeverage: number;
275
296
  leverageLimit: LeverageLimit;
276
297
  maintenanceMargin: MaintenanceMarginMap;
@@ -307,6 +328,7 @@ export interface InstrumentMetrics extends Instrument {
307
328
  closePrice: number;
308
329
  volume: number;
309
330
  volumeBase: number;
331
+ valueAtRisk: number;
310
332
  }
311
333
  export interface InstrumentUpdateEvent {
312
334
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@evedex/exchange-api",
3
- "version": "1.0.67",
3
+ "version": "1.0.69",
4
4
  "description": "",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/mjs/index.js",