Pricing an option with a binomial tree
조회 수: 9 (최근 30일)
이전 댓글 표시
Hey there guys, I need a little help on programming a binomial tree.
How do you set up a relative simple binomial tree with a probability of a half going up and down every time with the only requirement that the stock from value, lets say X follows the nodes in a recombinant tree for
x*exp(μδt+σ√δt) for going up x*exp(μδt-σ√δt) for going down
with N = t/δt
so that the stock price value will be something like
St= Stockprice at t zero * exp (μt+σ√t*((2Xn-n)/√n)
Any help is welcome. I'm looking to set up the basics of the binomial tree with the variables.
댓글 수: 0
답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Financial Toolbox에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!