Coding and numerical round for research and developer roles.

Price an option by simulation

Standard

The question

How would you price a European call by Monte Carlo, and how do you make the error small enough to be useful?

Have a go before you open the solution. If you are stuck after a few minutes, the first paragraph below is usually enough of a nudge.

Show the worked solution

The answer

Simulate terminal prices, average the discounted payoff, and cut variance rather than only adding paths.

Draw standard normals, form terminal prices under the risk-neutral dynamics, average max(S - K, 0) and discount.

Error falls as 1/sqrt(n), so four times the paths for half the error. That is expensive, which is why variance reduction matters more than raw path count.

Antithetic variates pair each draw with its negation, and a control variate uses a related payoff with a known closed form to absorb most of the noise.

Also mention that for a plain European call you would not use Monte Carlo at all, since a closed form exists. Knowing when not to simulate is part of the answer.

What it is testing

Numerical judgement, not just the ability to write a loop.

Try these next

Preparing properly

Live opportunities

Interviewing soon? See who is hiring

Open vacancies we track at quant firms, grouped by role and city. Adverts are anonymised.

Hiring for these roles? Brief the desk on a hire or check your fit for a role.

Research desk

Speak to a quant market specialist

Ask what a firm really pays, how a desk hires, or where your profile sits. One reply from the research desk, in confidence, no obligation.