Quant Interview Questions 1
Below are some quant interview questions.
-
Difference between European, American and Bermudan options.
Answer
- European Options: Can only be exercised at expiration.
- American Options: Can be exercised at any time before expiration.
- Bermudan Options: Can be exercised on specific dates before expiration.
-
What are the assumptions of Black-Scholes model?
Answer
- European options.
- Geometric Brownian motion.
- No arbitrage opportunities.
- Constant volatility.
- Constant interest rate.
- No dividends.
- Frictionless Markets.
- Perfectly hedged.
- Continuous trading.
- Infinite liquidity.
-
Derive the Black-Scholes formula.
Answer
Geometric Brownian motion of the stock price :
where is the drift, is the volatility, and is a Wiener process. It states that the infinitesimal rate of return on the stock has an expected value of and a variance of .
The value of the options depends on stock price , time , denoted as . Hence, ito's lemma gives:
Base on the behavior of the option price, we construct a portfolio that consists of the option and a short position in :
It is a Delta () hedging using the stock. Thus the net delta is zero.
And assuming the portfolio is self-financing (no additional cash flow), we have (Assuming delta is constant):
By substituting the expression of and into the equation, we have:
Noted that the stochastic term is eliminated. Let's assume the portfolio have a risk-free return , i.e.
Thus,
Rearranging the equation gives:
This is the Black-Scholes PDE.
-
Sample 3 from [0, 1], what is the expectation of the maximum?
Answer
Let say are the three samples from uniform distribution . The maximum is . The cumulative distribution function (CDF) of is:
The probability density function (PDF) is:
The expectation of is:
-
We have a stick with unit length which we cut randomly at two spots. What is the expected length of the tallest piece?
Answer
Let and be the two random cut points, uniformly distributed over the interval . Without loss of generality, assume . The lengths of the three pieces are:
- Left piece:
- Middle piece:
- Right piece:
The maximum length is:
To find the expected value of , we can use the law of total expectation. The joint distribution of and is uniform over the unit square. We can compute the expected value by integrating over the region where .
The expected value can be computed as:
After evaluating this integral, we find that:
-
Moving dot and polygon relative position detection. Calculate the time complexity
