The AQR Capital Management PnL-Calculator Take-Home interview is stage 3 of 6 in the AQR Capital Management interview process, after the Phone Screen. Format: ~1 week · design project. The signature take-home: design and build a PnL calculator that parses two message files and computes P&L for long/short positions.
Preparing for this round? Open the AQR Capital Management PnL-Calculator Take-Home in the interview funnel. A free account saves your progress.
Save a 4-week AQR Capital Management plan to your dashboard: week by week through the rounds, with your progress.
Also see the full AQR Capital Management interview process and the AQR Capital Management interview questions.
What the PnL-Calculator Take-Home tests
Graded on object-oriented design, structure, code style, and comments, not just correctness.
How to prepare for the PnL-Calculator Take-Home
- Design first — clean OOD (positions, trades, a calculator) beats a monolith.
- Handle long/short and edge cases (partial fills, ordering) and document assumptions.
- Readable, commented code is explicitly part of the grade.
Further reading: How quant superdays work · Behavioral questions at trading firms · Market-making game interview guide.
Illustrative worked example
An original example of the most common question type in this round, written by QuantVault. It shows the reasoning the round rewards; it is not a question AQR Capital Management asked.
Illustrative example (not an actual interview question)
PnL calculator with FIFO lots
A miniature PnL-calculator exercise for one symbol: fills are Buy 100 at $50, Buy 50 at $53, Sell 120 at $55, Sell 60 at $52, and the closing mark is $51. Using FIFO lot matching (a sell that exceeds the long position opens a short), compute realized PnL, unrealized PnL and total PnL, and sketch the classes you would use.
Worked solution
- Design: a Fill record (side, qty, price), a Position per symbol holding a FIFO queue of open lots with a sign, and a PnL service that consumes parsed fills and marks.
- Sell 120 at $55 closes the 100 lot at $50 (+$500) and 20 of the $53 lot (+$40): realized $540, leaving 30 long at $53.
- Sell 60 at $52 closes those 30 at a loss of $1 each (-$30) and opens a 30-share short at $52: realized now $510.
- Unrealized on the short at the $51 mark: 30 times $1 = $30, so total PnL is $540.
- Cross-check with cash: cash flow is -$5,000 - $2,650 + $6,600 + $3,120 = $2,070, plus the -30 share position marked at $51 (-$1,530), giving $540.
- Keep the cash identity as a unit test; it catches lot-matching bugs independent of the FIFO logic.
Answer: Realized $510, unrealized $30, total $540
What the interviewer is looking for: Clean separation of parsing, position keeping and valuation, correct handling of a position that flips from long to short, and tests that reconcile PnL two independent ways.
Practice the real questions: round practice · AQR Capital Management question set
Prepare with QuantVault
The same round at similar firms
Compare with similar firms
Frequently asked questions
What is the AQR Capital Management PnL-Calculator Take-Home interview?
It is stage 3 of 6 in the AQR Capital Management interview process, after the Phone Screen. Format: ~1 week · design project. The signature take-home: design and build a PnL calculator that parses two message files and computes P&L for long/short positions. Graded on object-oriented design, structure, code style, and comments, not just correctness.
How long is the AQR Capital Management PnL-Calculator Take-Home interview?
Candidates report: ~1 week · design project.
How should I prepare for the AQR Capital Management PnL-Calculator Take-Home interview?
Design first — clean OOD (positions, trades, a calculator) beats a monolith. Handle long/short and edge cases (partial fills, ordering) and document assumptions.
What comes after the PnL-Calculator Take-Home?
The On-Machine Onsite (stage 4 of 6). Format: 2–3 hr project + 3–4 × 45-min rounds.
Practice the AQR Capital Management PnL-Calculator Take-Home round
Open the round in the AQR Capital Management funnel: the round notes, prep, and every other stage of the process.