Intraday VWAP Benchmark - Quant Researcher Interview Question
Difficulty: Easy
Category: statistical_analysis
Practice quant interview questions from top firms including Jane Street, Citadel, Two Sigma, DE Shaw, and other leading quantitative finance companies.
Topics: pandas, financial-indicators, data-processing, vectorization
Problem Description
The Volume Weighted Average Price (VWAP) is a critical benchmark in algorithmic trading used to assess execution quality relative to market volume. It is calculated by summing the product of price and volume for every transaction and dividing by the total cumulative volume over the trading horizon. Efficient calculation of this metric is essential for real-time analytics and strategy backtesting.
Task
Implement a function solution(df) that accepts a pandas DataFrame containing intraday trade da
Practice this easy researcher interview question on MyntBit - the all-in-one quant learning platform with 200+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.