Submodule drift-common updated: 3ffd92fa2b...874bacac74
@@ -312,6 +312,12 @@ export function publishGroupings(
|
||||
asks: aggregatedAsks,
|
||||
});
|
||||
|
||||
|
||||
if(['SOL-PERP', 'BTC-PERP', 'ETH-PERP'].includes(l2Formatted_grouped20.marketName) && 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
|
||||
|
||||
Reference in New Issue
Block a user