Submodule drift-common updated: 3ffd92fa2b...874bacac74
@@ -311,6 +311,12 @@ export function publishGroupings(
|
|||||||
bids: aggregatedBids,
|
bids: aggregatedBids,
|
||||||
asks: aggregatedAsks,
|
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(
|
redisClient.publish(
|
||||||
`${clientPrefix}orderbook_${marketType}_${
|
`${clientPrefix}orderbook_${marketType}_${
|
||||||
|
|||||||
Reference in New Issue
Block a user