Merge pull request #409 from drift-labs/master

mainnet
This commit is contained in:
wphan
2025-05-29 14:28:25 -07:00
committed by GitHub
3 changed files with 4 additions and 4 deletions

View File

@@ -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);

View File

@@ -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();