Tower Research Capital logoTower Research Capital
CodingMembers

Streaming Volume-Weighted Average Price Calculator

Members only

A market-data coding question: keep a volume-weighted average price up to date as trades stream in, restricted to a recent time horizon. It tests whether you can keep both updates and queries cheap and whether you notice the boundary and ordering assumptions hiding in the spec.

SWE
RS
medium
sliding-window
queue
streaming
data-structure
trading
python
Frequency
Single report
Last asked
—
Stage
tech-screen

Members get

  • Full problem statement
  • 3 progressive hints
  • Step-by-step approach
  • Full solution with code
  • 3 common pitfalls
  • 4 talking points
  • 5 follow-up questions with answer directions
  • Preparation drills

Log in to continue reading the full content

Comments

Sign in to join the discussion
Loading...