filter indicative + random prettify (#443)

* filter indicative + random prettify

* bug fix

* update to filter orders that arent as good as resting orders
This commit is contained in:
moosecat
2025-07-10 10:27:12 -07:00
committed by GitHub
parent e7aedb839c
commit 4157cd8e5b
3 changed files with 52 additions and 17 deletions

View File

@@ -303,7 +303,7 @@ const initializeAllMarketSubscribers = async (driftClient: DriftClient) => {
}
}
markets[market.marketIndex].tickSize = market?.orderTickSize ?? ONE
markets[market.marketIndex].tickSize = market?.orderTickSize ?? ONE;
}
return markets;
@@ -527,7 +527,7 @@ const main = async () => {
killSwitchSlotDiffThreshold: KILLSWITCH_SLOT_DIFF_THRESHOLD,
protectedMakerView: false,
indicativeQuotesRedisClient: indicativeRedisClient,
enableOffloadQueue
enableOffloadQueue,
});
await dlobSubscriberIndicative.subscribe();