Submodule drift-common updated: de934ba09e...fc0fb4d2bd
@@ -153,7 +153,7 @@ export class DLOBSubscriberIO extends DLOBSubscriber {
|
|||||||
);
|
);
|
||||||
|
|
||||||
const nowMinus1000Ms = Date.now() - 1000;
|
const nowMinus1000Ms = Date.now() - 1000;
|
||||||
mmQuotes.forEach((quote) => {
|
for (const quote of mmQuotes) {
|
||||||
if (Number(quote['ts']) > nowMinus1000Ms) {
|
if (Number(quote['ts']) > nowMinus1000Ms) {
|
||||||
const indicativeBaseOrder: Order = {
|
const indicativeBaseOrder: Order = {
|
||||||
status: OrderStatus.OPEN,
|
status: OrderStatus.OPEN,
|
||||||
@@ -233,7 +233,7 @@ export class DLOBSubscriberIO extends DLOBSubscriber {
|
|||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
}
|
||||||
}
|
}
|
||||||
this.getL2AndSendMsg(marketArgs);
|
this.getL2AndSendMsg(marketArgs);
|
||||||
this.getL3AndSendMsg(marketArgs);
|
this.getL3AndSendMsg(marketArgs);
|
||||||
|
|||||||
@@ -520,7 +520,7 @@ const main = async () => {
|
|||||||
perpMarketInfos,
|
perpMarketInfos,
|
||||||
spotMarketInfos,
|
spotMarketInfos,
|
||||||
killSwitchSlotDiffThreshold: KILLSWITCH_SLOT_DIFF_THRESHOLD,
|
killSwitchSlotDiffThreshold: KILLSWITCH_SLOT_DIFF_THRESHOLD,
|
||||||
protectedMakerView: true,
|
protectedMakerView: false,
|
||||||
indicativeQuotesRedisClient: indicativeRedisClient,
|
indicativeQuotesRedisClient: indicativeRedisClient,
|
||||||
});
|
});
|
||||||
await dlobSubscriberIndicative.subscribe();
|
await dlobSubscriberIndicative.subscribe();
|
||||||
|
|||||||
Reference in New Issue
Block a user