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