chore: use previous groupings for calc

This commit is contained in:
Jack Waller
2025-06-11 10:08:58 +10:00
parent a9bdf07cfa
commit acc695052d
3 changed files with 99 additions and 39 deletions

View File

@@ -3,11 +3,10 @@ import express from 'express';
import * as http from 'http';
import compression from 'compression';
import { WebSocket, WebSocketServer } from 'ws';
import { sleep, selectMostRecentBySlot } from './utils/utils';
import { sleep, selectMostRecentBySlot, GROUPING_OPTIONS } from './utils/utils';
import { register, Gauge, Counter } from 'prom-client';
import { DriftEnv, PerpMarkets, SpotMarkets } from '@drift-labs/sdk';
import { RedisClient, RedisClientPrefix } from '@drift/common/clients';
import { GROUPING_OPTIONS } from './dlob-subscriber/DLOBSubscriberIO';
// Set up env constants
require('dotenv').config();