{(['LONG', 'SHORT', 'NEUTRAL'] as const).map((dir) => {
const activeSymbolSet = new Set(pairs.filter((p) => p.is_active).map((p) => p.symbol));
const count = signals.filter(
(s) => activeSymbolSet.has(s.symbol) && s.direction === dir
).length;
return (
);
})}