Forums  > Careers  > Re: Entry Level Quant Exam for recent interview  
     
Page 1 of 2Goto to page: [1], 2 Next
Display using:  

omd


Total Posts: 258
Joined: Apr 2005
 
Posted: 2005-04-08 08:21

Here are some sample questions I got from recent entry level interview.  Are these typical questions for entry level?  If so, then I am in trouble with me and my stupid pure math PhD On the Existence of Algebraic Oriented Equivariant Cohomology Theories!!!!!!!  Assume all stocks in question satisfy:

dS = rS dt  +  \sigma S dW_t along with a cash dividend being paid.

1) What is the value today for a contract that at maturity pays the inverse of the stock price at maturity.

a) How would this be hedged and what drawbacks would there be to this strategy?  What additional piece of info would dictate whether you would recommend this trade to the trader?

2) Suppose we have a contract that at maturity pays the maximum of two European calls C1 and C2 expiring at the same maturity on stocks S1 and S2 assuming the stocks satisfy the same SDE and are correlated.

a) What is the PDE for this contract? Express the analytical form of the price in terms of time to expiry.  Describe your approach if all options in question are American.  Also try the same for 5 underlyings and five calls.

3) Assume that call options are traded in the market, all of them with matuity T.  Assume that the strikes form a continuum.

a) Obtain the pdf of the unerlying at maturity. Assume that the implied volatility of the options follow the rule sigma(K) = sigma(0) - epsilon log(S_0/K) where S_) is a reference spot value, epsilon a constant, and K strike.  What does the pdf look like? Is the above form possible in the market?

4) There are 3 dividend regimes: yield, discrete proportional, discrete cash.

a) Write the risk neutral stock process under BS' GBM assumption with continuous dividend yield.  Discrete proportional and discrete cash dividend assumptions affect stock price as follows:

At ex-dividend time t, S(t) = S(t-)(1-p(t)) for proportional dividends and S(t) = S(t-) - c(t) for cash dividends.  Write out the strong solution for the stock process for both assumptions given a stream of proportional dividends, p(t_i) for one and a stream of cash dividends, c(t_i) for the other.  How do the prices of a European call priced with a continuous yield, discrete proportional dividends, and discrete cash dividend assumption compare? why?  What happens to the European call prices above if the volatility of the GBM between dividend dates are time dependent?

5) Describe the OO concept of an "object factory."  Google - yay!  Discuss how an object factory could be used in the design of an equity derivative pricing library.

6)  Suppose that we believe that there are similarities between the implementation of a barrier pricing engine and a convertible bond (assume that the convertible contains an early exercise provision and that the barriers and convertible barriers are NOT constant in time):

a) WHat numerical method would you use? Give an object orientated ovierview of how code could be shared between the models, with some description of the inputs and outputs for the model. What considerations need to be thought about when sharing the same numerical technique between a convertible bond and a barrier?

7) What is the value today (t) of a contract at some maturity (T) pays the squared natural log of the stock price at maturity? (log S)^2

a) How would this be hedged and what would the drawbacks be to this hedge?

Cool Consider and American call option in the money.  Under what circumstances would the option be exercised before maturity? (Easiest question by far)  Would you be mroe likely to have early exercise if volatility is higher, interst rates are higher, or dividends are higher?  Explain as if you were talking to a trader.  Now consider a convertible bond with a conversion at the same strike as above.  How might your exercise decision differ from the call?

9) You are debugging a problem with a Variance Swap model and upon inspection you isolate the problem to the integrand that is:

double VarSwapIntegrand(double x)

{   double result, vol, putCall, vol1;

     double strike = exp(x)*cStrikeBreakPoint;

     if (x<=0)

                putCall = -1.0;

     else putCall = 1.0;

     vol = CalcVolByStrike(strike, cExpiry);

     result = BlackScholesValue(putCall, Spot, strike, cExpiry, vol, Rate0, Rate1)/(strike*strike);

return result;

}

The calling procedure integrates the integrand from -10000 to 10000.  Assuming that all the variable used are valid and that the integration routine is convergent, can you:

a) Identify the problem with the Var Swap implementation? Correct the code and derive the correct form?

10) Please pose and answer a question you would ask a candidate.


yo

TicTacToe


Total Posts: 26
Joined: Oct 2004
 
Posted: 2005-04-08 16:14
How long was the exam? Closed- or open-book?

[1] and [7] are standard. Regarding hedging, is it that each payoff diverges at S->0, and so is delta? Any guru gives better ideas?

Other questions are more or less standard too. But time constraint can be stressful.

The test suits a candidate with formal Fin.Eng. MS training. (I guess these questions are homework exercise for MS courses, am I right?) For a PhD with self-taught finance? Maybe not. Basically because he doesn't have a set of exercises to practice. But he may be able to crank out some ideas during the test although may not reach a final number.

You shouldn't feel bad, OMD. Never ever let yourself down. No matter how clever an interviewer sounds, it is that he already spent years studying the subject, already knew the answer to the questions posed. You know things that he doesn't.

goldorak


Total Posts: 132
Joined: Nov 2004
 
Posted: 2005-04-08 17:42
Frankly, I would have answered most of these questions easily while I was studying mathematical finance, but nowadays, I wouldn't have answered any of them. If you do it everyday, it's OK, otherwise, you need some books...and some time.

Even if you work with derivatives everyday, very often you just specialize in a few of them, and don't really bother about the rest.

Veegan


Total Posts: 682
Joined: Jun 2004
 
Posted: 2005-04-08 17:45

OMD - Would you mind revealing which firm set these questions for you and what position you were going for?

 


"The Stranger within my gates, He may be evil or good, But I cannot tell what powers control-- What reasons sway his mood; Nor when the Gods of his far-off land Shall repossess his blood." ~ Kipling

Veegan


Total Posts: 682
Joined: Jun 2004
 
Posted: 2005-04-09 18:24

Does anyone have an idea what the answer is for Question 9? I am completely stumped.


"The Stranger within my gates, He may be evil or good, But I cannot tell what powers control-- What reasons sway his mood; Nor when the Gods of his far-off land Shall repossess his blood." ~ Kipling

athletico


Total Posts: 753
Joined: Jun 2004
 
Posted: 2005-04-09 21:00
Not sure if this is the ans they are looking for but -10000 to 10000 is far too wide -- the large negative #'s will raise some underflow or division-by-zero exceptions in the quadrature routine.  I'm probably missing something but the integrand code itself looks fine...

Veegan


Total Posts: 682
Joined: Jun 2004
 
Posted: 2005-04-09 21:37
I thought that too but the question asks for an answer that requires editing the code. ?!?

"The Stranger within my gates, He may be evil or good, But I cannot tell what powers control-- What reasons sway his mood; Nor when the Gods of his far-off land Shall repossess his blood." ~ Kipling

athletico


Total Posts: 753
Joined: Jun 2004
 
Posted: 2005-04-09 22:40
The code involving cStrikeBreakPoint is a tad suspicious ... if cStrikeBreakPoint  != Spot then some in-the-money options will be evaluated, which is wrong.   EDIT: actually I'm wrong, the reference price that separates calls & puts needn't be set to the spot price.  I'm stumped!

omd


Total Posts: 258
Joined: Apr 2005
 
Posted: 2005-04-10 00:44

I should remark that  the bank that gave me  this (PM me for details) usually gives the exam to screen people before on site interviews.  I was in town already, so they were willing to meet me.  Some of the questions on this were asked live.  I did not know some things, but they seemed understanding based on my background and would steer me a bit.  I was fortunate in that each time they made a suggestion, I was able to run with it.  As far as hedging some of those exotic contracts, I had no idea - the guy mentioned a paper by Breeden & Litzenberger (197Cool that would be interesting and helpful.  I will get it and work through this.  I am sure I can do this with a little research - the guy said to take my time because he knew I had things to investigate.

That said,

Yes....#9 is tough...I am confused on it myself... 

I just wonder why none of the books I have discuss Breeden and Litzenberger's apparently standard result....and they also do not discuss variance swaps - though my interviewers were kind enough to teach me a bit about variance swaps and the general results of Breeden and Litzenberger.


yo

Graeme


Total Posts: 1491
Joined: Jun 2004
 
Posted: 2005-04-10 10:28

There is only one result from B&L that has survived the test of time: it can be proved in about 5 lines, and is done so in the books, for example, Hull5 Appendix 15A. The B&L paper was posted here recently... The said result is discussed in the first few pages, and after that there is other stuff which as I have suggested I do not believe is deemed relevant anymore.

 


Graeme West

Graeme


Total Posts: 1491
Joined: Jun 2004
 
Posted: 2005-04-10 10:36

The B&L paper is in this thread.

By the way, I believe the question set you have given would be only applicable to somebody recently graduated from the rigours of formal Math Finance education. For somebody who never did this, and for somebody who did it more than a year or so ago (unless they have been keeping up with their gym work), I don't think it is especially attainable.

I think that for the latter people the more relevant skill is knowing where to find answers, and what might be wrong with those answers, than the actual formal answers themselves.


Graeme West

Veegan


Total Posts: 682
Joined: Jun 2004
 
Posted: 2005-04-10 11:40

"I think that for the latter people the more relevant skill is knowing where to find answers, and what might be wrong with those answers"

I have always thought this is a vastly under-rated skill and obviously more efficient in terms of time than re-deriving standard or available results. But conveying this type of knowledge at interview is difficult because it is usually a case of "Hmm. I have seen something like this problem in something I read last year" *thinks for a second* "Aha!" *pulls relevant book/journal/article from shelf*


"The Stranger within my gates, He may be evil or good, But I cannot tell what powers control-- What reasons sway his mood; Nor when the Gods of his far-off land Shall repossess his blood." ~ Kipling

IAmEric
Phorgy Phynance
Banned
Total Posts: 2961
Joined: Oct 2004
 
Posted: 2005-04-10 15:23
My favorite interiew, by far, was at a hedge fund where they gave me the task of developing a code for pricing and hedging a convertible bond (with a funky Asian payoff). They didn't care what references I used. If I didn't have my laptop with me, they would have let me use one of their computers. Full access to the internet. It was just a totally unfortunate shame that day was the one and only day that I am aware of that NP was offline. Just my luck! Smiley

JumpStart


Total Posts: 64
Joined: Apr 2005
 
Posted: 2005-04-25 22:41

has no one figured out what's wrong with question 9 yet? I am just curious.


omd


Total Posts: 258
Joined: Apr 2005
 
Posted: 2005-04-26 04:56

The trouble with #9 is the following:

The formula in the line for "result" is correct except for the fact that they made a u-substitution in the declaration of strike by exponentiating.  You therefore have to realize that du = strike * dx....so, in the line for reult you need to divide by only one "strike" and not two!  It seems liek a nice numerical technique to get a lot of accuracy with far fewer calculations.


yo

JumpStart


Total Posts: 64
Joined: Apr 2005
 
Posted: 2005-04-26 05:53
omd, please correct me if i am wrong...when I first saw the question it looked strange: assumption says the routine converges, meaning it gives out some number, yet it says fix the code? naturally one start looking for coding (syntax) errors but according to you it's not syntax but semantics.

omd


Total Posts: 258
Joined: Apr 2005
 
Posted: 2005-04-26 06:22

I dunno Jumpstart, but I think a major mathematical blunder counts for more than semantics!  The code certainly has the blunder I indicated.  Usually, you would integrate from 0 to infinity the expression they have for result in the code below - and you might approximate that by integrating from exp(-10000) to exp(10000).  So they made a u-sub as I indicated, but forgot to consider that du = strike*dx.  That is very significant of course, but could easily be overlooked when looking at it in code form as opposed to looking at it as a math formula that you are more accustomed to...it may converge, but not to the correct answer.  They also said to assume that all variables are fine.  This of course is a logic error - much harder to figure those out than a syntax error because it will compile and run quite well!

I thought that maybe they had a different formula for variance swaps than what I was finding by scanning the web which casued me trouble...

Bear in mind that this question pissed me off for a long time too.  Then I spoke to the bank - and they mentioned that the formula I found on the web was correct!  Then the little light bulb went off in my head and I felt like an idiot!


yo

Energetic
Forum Captain

Total Posts: 1381
Joined: Jun 2004
 
Posted: 2005-04-29 17:06

1] and [7] are standard...
The test suits a candidate with formal Fin.Eng. MS training. (I guess these questions are homework exercise for MS courses, am I right?) For a PhD with self-taught finance? Maybe not. Basically because he doesn't have a set of exercises to practice. But he may be able to crank out some ideas during the test although may not reach a final number.

As a PhD with self-taught finance I never had a chance to do those homeworks. Would anybody care to publish some solutions? Having a few standard tricks up in the sleeve could be very helpful.


Suppose you managed to break through the wall. What do you intend to do in the next cell?

Veegan


Total Posts: 682
Joined: Jun 2004
 
Posted: 2005-04-29 23:34

1] Quick way:

S(T) is lognormally distributed as:

     ln(S(T)) = ln(S(t)) + (r - 0.5*v*v)*(T-t) + v*sqrt(T-t)*N(0,1)

Therefore so is S(T)^(-1). Taking logs:

    ln(S(T)^(-1)) = -ln(S(T) = ln(S(t)^(-1)) - (r - 0.5*v*v)*(T-t) - v*sqrt(T-t)*N(0,1)              (#)

Use the standard result that for a lognormal variable X:

    E[ X (T) | X (t) ] = exp(m + 0.5*s*s]

where m and s are the mean and standard deviation of the corresponding normal distribution. Discount the expectation at the risk free rate to get the price.

Long way: Use Ito to find the SDE for Y=1/S, note that it is lognormal, and then Ito again to find the SDE for ln(Y) and which gets you to point (#) above.

7) The payoff Y = ln(S(T))*ln(S(T)) is Chi-Squared as it is the product of two normals. Simply square the normal distribution for ln(S(T)), take a simple expectation and discount the result. 

 


"The Stranger within my gates, He may be evil or good, But I cannot tell what powers control-- What reasons sway his mood; Nor when the Gods of his far-off land Shall repossess his blood." ~ Kipling

silverside


Total Posts: 866
Joined: Jun 2004
 
Posted: 2005-04-30 00:42
funny, i think it is easier to work with ito to get the drift when you have any of these complicated expressions, i used to just hate that completing-the-square stuff Smiley, and i can never remember the detail of things like chi-square..

but i think i would have trouble with the detail of some of these questions; i think this exam is designed to test a particular subset of knowledge (typically learnt in a finmath msc / dea ) rather than test how a person would perform on the job. i think relying on this type of test alone, rather than assessing a persons core skills and ability to learn, is dangerous. typically if you have a smart person even though they may have not heard of (say) the idea of a risk-neutral density before, when you explain it you see that they 'get' it quickly, i would rather have that person working with me than someone who had slogged through learning it but couldnt 'think outside the box' (buzzword bingo)

i suppose that is an open question, how much is someone with good maths/computing but limited financial knowledge expected to know off pat?? is it so competitive that e.g. all of Joshi/W****tt is required knowledge for entry level?

Veegan


Total Posts: 682
Joined: Jun 2004
 
Posted: 2005-04-30 02:49

 i used to just hate that completing-the-square stuff Smiley

Dude, if there is one thing I have memorized and forgotten more than anything else it's that damn completing-the-square formula. I always have to look it up. Confused


"The Stranger within my gates, He may be evil or good, But I cannot tell what powers control-- What reasons sway his mood; Nor when the Gods of his far-off land Shall repossess his blood." ~ Kipling

Graeme


Total Posts: 1491
Joined: Jun 2004
 
Posted: 2005-04-30 20:16

Why either memorise it or look it up? I do it 'long-hand' every time. That way you don't need to rely on bad memory, or faulty lookup/transcription.

Of course it is a bad thing to reinvent the wheel. So, if you forget Black-Scholes say, you would look it up, rather than derive it (if you could). But this is hardly a wheel, more like a round stone.


Graeme West

Veegan


Total Posts: 682
Joined: Jun 2004
 
Posted: 2005-04-30 21:26

And so you must also derive the formula for the roots of a quadratic everytime you need it, yes?  Wink


"The Stranger within my gates, He may be evil or good, But I cannot tell what powers control-- What reasons sway his mood; Nor when the Gods of his far-off land Shall repossess his blood." ~ Kipling

etuka2


Total Posts: 130
Joined: Jun 2004
 
Posted: 2005-04-30 21:58
Probly take you as long to derive it as look it up...

omd


Total Posts: 258
Joined: Apr 2005
 
Posted: 2005-05-01 02:29
By the way, the pricing of the European call with cash dividends (#4c) is trickier than you might think.  A lot of books do it wrong!  Hull, for example says to just discount to present value all of the dividends to be paid before expiration and subtract this from S_0.  In the words of my interviewer, "That is absolute RUBBISH and any book that says that should be burned and tossed in the trash!"  He is right too...I am in an internet cafe right now, but when I get back to California, I will work it out....

yo
Previous Thread :: Next Thread 
Page 1 of 2Goto to page: [1], 2 Next