chore: update to only look at majors
This commit is contained in:
@@ -312,7 +312,8 @@ export function publishGroupings(
|
||||
asks: aggregatedAsks,
|
||||
});
|
||||
|
||||
if(aggregatedBids.length == 20 || aggregatedAsks.length == 20) {
|
||||
|
||||
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)}`)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user