Adjusting Prices for Stock Splits - Quant Researcher Interview Question
Difficulty: Hard
Category: data_manipulation
Asked at: D.E. Shaw, Bloomberg, Citadel, Two Sigma, WorldQuant
Topics: pandas, finance, time-series, data-cleaning
Problem Description
Historical price analysis requires adjusting for corporate actions like stock splits to maintain price continuity and prevent false signals in trading strategies. Backward adjustment modifies historical data prior to the ex-date, ensuring that past prices are comparable to current market values. This process is fundamental in quantitative finance for building accurate backtesting environments and generating reliable alpha signals.
Task
Write a function adjust_prices(market_data, corporate_actio
Practice this hard researcher interview question on MyntBit - the LeetCode for quants with 200+ quant interview questions for Jane Street, Citadel, Two Sigma, and other top quantitative finance firms.