✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Tienes un DataFrame con symbol, timestamp y close_price. Quieres calcular el RSI de 14 periodos. Para ello necesitas calcular ganancias y pérdidas promedio en una ventana móvil. ¿Qué estructura deberías utilizar?