✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Tienes un DataFrame con operaciones ejecutadas (symbol, timestamp, price, quantity). Quieres calcular el VWAP (Volume Weighted Average Price) acumulado por día y símbolo sin perder el detalle fila a fila. ¿Qué usarías?