Hi @David_Lopez ,
Have you tried to calculate the balance before to insert the document? in this way on your aggregate pipeline you don’t need to calculate each wallet balance.