OUTCRY

PRACTICE GUIDE   VIRTU

Virtu Quant Developer Practice Test

This guide offers quant developer preparation for readers interested in Virtu Financial. The general practice ranges below are not a verified assessment specification for that employer.

Those are ranges across firms running this format rather than Virtu Financial's own figures, so treat them as the shape to train against and check the instruction screen on the day for the marking rule.

These are Outcry preparation topics, not a verified current firm assessment specification. Check your role-specific invitation for the test, timing, tools and recruitment stage.

Outcry is not affiliated with Virtu Financial and has no access to their assessment content. This guide describes an assessment format that candidates report publicly; the questions here are generated by Outcry and are not Virtu Financial’s own.

What it screens

A financial technology firm with market-making and execution-services businesses.

  • ✓Reading concurrent code and pointing at the defective line
  • ✓Order-book data structures: what happens on a cross, a cancel, a partial fill
  • ✓Algorithmic complexity chosen for the input sizes stated in the problem
  • ✓Monte Carlo methods and when a simulation beats a closed form

Where it sits at Virtu Financial

A financial technology firm with market-making and execution-services businesses. The topics here are Outcry preparation suggestions, not a verified firm syllabus or recruiting stage.

Outcry also has 4 other topic guides for readers interested in Virtu Financial. Their presence does not mean applicants must sit that many tests or that they belong to one recruiting round.

The format

These are general practice ranges, not a verified current assessment specification for Virtu Financial. Check the employer’s invitation for the actual format.

Questions2 to 4 problems
Time60 to 120 minutes
Per question20 to 40 minutes
Negative markingNo
Answer styleCode editor, run against hidden tests
Where it sitsPreparation topics · employer round unconfirmed

What it tests, with a worked example

Every example below is generated by Outcry, drawn from the same question generators the timed drills run. None of them is Virtu Financial’s.

Reading someone else's code

A diff or a function with a bug in it, and the question is where.

Example

Position is accumulated in a double and the code tests `if (position == 0.0)` to detect flat. What goes wrong?

  • Comparing doubles is undefined behaviour
  • The compiler removes the comparison
  • 0.0 and -0.0 compare unequal
  • Accumulated rounding leaves a residue, so the test is false when the book is flat

Answer Accumulated rounding leaves a residue, so the test is false when the book is flat

Adding and subtracting fills in binary leaves a residue around 1e-15. Compare against a tolerance, or hold size in integer lots and never in a double.

Language and systems detail

Memory, references, undefined behaviour and the things that bite in production.

Example

Frames: 3
Reference string: 1 0 1 0 1 0 0 1 5 0 0 1

A process makes the page references below against 3 free frames, using FIFO replacement. How many page faults occur?

  • 9
  • 2
  • 3
  • 4

Answer 3

FIFO evicts the oldest resident page regardless of use. Walking the string gives 3 faults and 9 hits over 12 references. The first 3 references are always faults because the frames start empty.

Numerical and data handling

Floating point, aggregation and joins on data that does not fit the obvious shape.

Example

x      12   22    7   18   23    5   17

What is the sample variance of the series above? Use the n-1 denominator.

Answer 49.8095238095238

The mean is 14.86. Squared deviations: 8.16 + 51.02 + 61.73 + 9.88 + 66.31 + 97.16 + 4.59 = 298.86. Divided by n-1 = 6 that is 49.81. The n denominator would give 42.69.

Edge cases

Empty input, one element, duplicates and overflow. The hidden tests always include them.

Statistics in code

Rolling windows, correlations and quantiles, implemented rather than imported.

Example

2% of order flow is toxic. A classifier catches 90% of toxic flow and also fires on 5% of clean flow. An order just fired the classifier. What is the chance it is toxic?

  • 26.9%
  • 95%
  • 2%
  • 90%

Answer 26.9%

Take 10,000 orders. 200 are toxic and 180 of those fire. 9,800 are clean and 490 of those fire anyway. So 180/670 ≈ 26.9%. The classifier's 90% catch rate is not the answer - the base rate dominates.

Probability behind the problem

Screens that look like coding questions and are really expectation questions.

Example

Daily P&L is normal with mean 180 and standard deviation 6. What share of days come in above 192?

  • 2.3%
  • 97.7%
  • 1.1%
  • 4.6%

Answer 2.3%

192 sits exactly 2 standard deviations above the mean. The 68-95-99.7 rule leaves about 5% outside that band and half of it in the upper tail, so 2.3%. Forgetting to halve is the usual slip.

What a good score looks like

No current employer cutoff is verified for these general practice ranges. Use the worked examples to identify what to study and check your role-specific invitation for the actual assessment rules.

How to train for it

  1. 01State the complexity before you write. If it is worse than the input size allows, the approach is already wrong.
  2. 02Write the edge cases into your own tests first. That is where the hidden ones live.
  3. 03Practise without an autocomplete. The screens run in a bare editor, and the gap between writing code with help and without it is larger than most people expect.

TRAIN IT HERE

The drills that match each section

SIT THE FULL BATTERY

All the sections back to back on one clock, marked the way the real screen marks them, with a by-skill breakdown at the end. Included with any pass.

MOCK SCREENS

Also reported at Virtu Financial

Common questions

Is the Virtu quant developer test multiple choice?
This guide uses code editor, run against hidden tests for practice. The employer’s current answer format was not verified here.
How long is the Virtu quant developer test?
This guide uses general practice ranges of 2 to 4 problems questions in 60 to 120 minutes. They are not a verified current employer format.
Is there negative marking on the Virtu quant developer test?
No. A wrong answer costs nothing beyond the mark you would have earned, so leaving an item blank is never better than guessing at it.
How do I practise for it free?
The warm-up drills are free with no account, and every pass opens the rest of the drills linked on this page. Questions are generated fresh each run, so there is nothing to memorise between attempts.