0

面试binomial model问题

Posted by Derek Jing on 6:09 AM in
发信人: tempone (jane), 信区: Quant
标  题: binomial model again
发信站: BBS 未名空间站 (Sat Apr 17 01:58:55 2010, 美东)

u = exp(sigma *sqrt(delta_t))
d = exp(-sigma *sqrt(delta_t))
p = (expt(r * delta_t) - d) / (u - d).
S_0 = 1;

At step n, whats the variance?

I follow the suggestion of this board and use the variance definition:
a node at nth is u^kd^(n-k). the probability is C_n_k * p^k * (1-p)^(n-k)

the expected stock price is exp(r * n *delta_t)
variance is sum over 0..n (C_n_k *p^k *(1-p)^(n-k) * (u^kd^(n-k)^2 - expt(-2
*n * delta_t) and I fursther simply this to:

(p*u^2 + (1-p) * d^2)^2 - expt(2*r*n*delta_t)

but after that I dont know how to further simply. I think the final anser
should be sigma^2 * T, is that?

can anybody help to give a hint how to further simply to get the solution?

1

面试问题

Posted by Derek Jing on 9:53 AM in
发信人: Jadeson (Jadeson), 信区: Quant
标  题: 问两道面试题
发信站: BBS 未名空间站 (Wed Apr  7 13:03:48 2010, 美东)

很奇怪的题目,因为不知道提问者到底要考什么,要命的是两道题目似乎是他们共有题
库的,已经分别被问过两次了。

1。假设underlying=100,问90和100的put哪个的风险大。

第一次是被GS的risk部门问,第二次是被一个HF的傻B trader问(后来查了,此人原来
在GS做过)。

这道题实在问的莫名其妙,我看着很迷茫。哪位能解释一下。

2。假定USD/EUR的过程是

d p = p(r_u-r_e)dt+p*sig dW

那么按照Ito公式, EUR/USD的过程则应该是

d q= q(r_e-r_u-sig^2)dt+q*sig dW

但是如果单考虑EUR/USD的过程,类似于USD/EUR,就该是

d q=q(r_u-r_e)dt+q*sig dW

问怎么解释。MS和BB都问过这道题。

我的感觉其实没什么好解释的:作为derivative pricing,任何定价都是在risk
neutral底下的,U/E和E/U都是可交易的产品,所以不管你的drift是什么,最后都可以
用侧度变换,化为r_u-r_e。

但是两家公司都不满意这个解释。不知道他们想问什么。

0

面试问题

Posted by Derek Jing on 9:46 AM in
发信人: HiThere (HiThere), 信区: Quant
标  题: questions
发信站: BBS 未名空间站 (Thu Apr 15 22:14:32 2010, 美东)

最近申请C++程序员,被锯,C++没问题, 可被问了写FIANCE的问题,不清楚, 贡献出来,不
会的,有人回
答吗?

1.DURATION, 这个俺知道.
2.calculate MSFT forward price
  current pirce * ( 1+ r)^n - dividend discount by r ?
3.option pay off graph, 这个俺知道.
4.option greeks,这个俺知道 how delta change with moneyness, draw graph,
skewness, don't know.
5.interest rate swap, how to calculate fixed rate? it said my calculation
was wrong.
6.option free bond pricing. discount cash flow by using rate on rate
curve.
7.tips--how to price?

0

Goldman Sack Interview Questions

Posted by Derek Jing on 1:47 PM in
  1. What's the distribution of the stopping time T=min{t>=0: W(t)>100}?
  2. 船里有人, 人手里有东西, 东西扔下去, 沉了, 然后问, 水面怎么涨, 船水位怎么涨?
  3. 如何求sqrt, 我说牛顿算法, 和binary search, 然后问我, binary search 有什么
    问题, sqrt(35) 和sqrt(37) binary search都一样么? 怎么改进? 用牛顿和binary search有什么区别, 分别什么时候用.

    如果是让我们算sqrt(35)或sqrt(37),是不是可以这样心算?
    sqrt(37) = 6+x = sqrt(36 + 12 x + x^2)
    12x + x^2 = 12 x = 1 ==> x=0.08
    so, sqrt(37)=6.08
    我计算器算的是6.083
  4. 绑匪绑架了女儿, 要从一个杂志里面cut paste一个note, 写一个function, 判断是
    否可以写这个note, 两个input, 一个杂志的string, 一个是note的string, 返回bool.
    (可以构造一个hash,count每个character出现的次数。要求对于每个character,
    note的次数要<=杂志的次数。)

Copyright © 2009 Derek's Technical Notes All rights reserved.