價格:免費
更新日期:2018-03-14
檔案大小:2.2M
目前版本:1.2
版本需求:Android 4.4W 以上版本
官方網站:mailto:f.paolo.montalbano@gmail.com
This app provides a basic Binomial Tree pricer for pricing American options. The analytics calculated are Price, Delta, Gamma and Vega for both Call and Put.
The reference implementation is the Generalized Black-Scholes model, which introduces the cost of carry. If there is no cost of carry, the carry rate input must equal the risk-free interest rate.
The technique for pricing American options with a discrete lattice is by means of the backward induction. The time from valuation date to expiry is discretized using N steps, and the space discretization uses N steps with values that depend on the tree type.
In general, the space discretization is a logarithmic discretization of the underlying space, so an "up" and "down" factors are requested for building the tree leaves for each and every time step. Similarly, an up and down probability is associated with the two factors. The choice of these 4 variables characterizes the tree and defines the accuracy. Usually one chooses this 4 unknowns to match as many moments of the underlying distribution as possible, and to have risk-neutral probabilities.
There are two improvements to the usual binomial lattice pricing:
- Smoothing
- Acceleration
When the smoothing is enabled, the second last step of the backward induction is a Black-Scholes step. This is because in the time discretization the option cannot be exercised from maturity to the second last time grid value. This reduces the model artifacts, and smoothens out the convergence when the number of nodes increases.
When the acceleration is enabled, one of the two option type (call or put) is calculated with the Black-Scholes model. This is because, depending on the values of risk-free and carry rate, only one of them can be early exercised.
The trees implemented are the:
- Cox-Rubinstein-Ross
- Neutralized Jarrow-Rudd
- Tian
- Leisen-Reimer
- Joshi
As regards the Implied Volatiltity calculation, I have implemented the following root finders:
- Bisection
- Brent
- Toms 348