TWAP Calculation - Quant Researcher Interview Question
Difficulty: Easy
Category: data_manipulation
Practice quant interview questions from top firms including Jane Street, Citadel, Two Sigma, DE Shaw, and other leading quantitative finance companies.
Topics: pandas, time-series, finance, resampling
Problem Description
Time-Weighted Average Price (TWAP) serves as a critical benchmark in algorithmic trading for evaluating execution quality and minimizing market impact. By aggregating trade data into fixed time intervals, quantitative researchers can smooth out high-frequency noise to analyze underlying price trends and liquidity profiles.
Task
Implement a function solution that calculates the average trade price within fixed time intervals given a list of executed trades. The function must parse ISO-formatted
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.