bug fix
This commit is contained in:
@@ -2,6 +2,7 @@ import {
|
||||
BN,
|
||||
DLOBSubscriber,
|
||||
DLOBSubscriptionConfig,
|
||||
DriftEnv,
|
||||
L2OrderBookGenerator,
|
||||
MarketType,
|
||||
PositionDirection,
|
||||
@@ -61,6 +62,7 @@ export class DLOBSubscriberIO extends DLOBSubscriber {
|
||||
|
||||
constructor(
|
||||
config: DLOBSubscriptionConfig & {
|
||||
env: DriftEnv,
|
||||
redisClient: RedisClient;
|
||||
perpMarketInfos: wsMarketInfo[];
|
||||
spotMarketInfos: wsMarketInfo[];
|
||||
|
||||
@@ -345,7 +345,6 @@ const main = async (): Promise<void> => {
|
||||
const initDlobSubscriberStart = Date.now();
|
||||
const dlobSubscriber = new DLOBSubscriber({
|
||||
driftClient,
|
||||
env: driftEnv,
|
||||
dlobSource: dlobProvider,
|
||||
slotSource: dlobProvider,
|
||||
updateFrequency: ORDERBOOK_UPDATE_INTERVAL,
|
||||
|
||||
Reference in New Issue
Block a user