chore: add logging to group aggregation

This commit is contained in:
Jack Waller
2025-10-16 11:08:53 +11:00
parent bafe3d51b3
commit 7592af3202

View File

@@ -312,6 +312,11 @@ export function publishGroupings(
asks: aggregatedAsks,
});
if(aggregatedBids.length == 20 || aggregatedAsks.length == 20) {
logger.error(`Error aggregating dlob levels: group=${group}, bids=${fullAggregatedBids.length}, asks=${fullAggregatedAsks.length}`)
logger.error(`Response: ${JSON.stringify(l2Formatted_grouped20)}`)
}
redisClient.publish(
`${clientPrefix}orderbook_${marketType}_${
marketArgs.marketIndex