In If UnRisk was a Tall Building I thought of similarities of designing-for-usability-stability-robustness in architecture and software. When Lake Point Tower uses the triangle core which holds all weight, UnRisk uses a numerically optimized C++ kernel to hold all heavy computations. Its universal interface is represented in Mathematica. See The UnRisk Langage a language about derivatives, structures and other financial objects and their valuation.
To tree or not to tree: trinomials
We have seen in a former blog article that binomial trees may lead to oscillating solutions and even to heding parameters of the wrong sign arising from these oscillations. Therefore, trinomial trees were invented and are still widely used for short rate models like Hull-White or Black-Karasinski.
As I am not a well-known tree-addict, the reader may expect some good reasons against trinomials.
The basic branching of trinomials looks like this

At each node there are three possible branches with probabilities p1, p2, p3 who should add up to 1. In contrast to the binomial model, the trinomial model is not a complete one leading to a unique price only from no-arbitrage arguments. Therefore, there is a certain arbitrariness to assign the probabilities to the different branches. The advantage of this arbitrariness is that it is fairly easy to obtain recombining trinomial trees.
When we think of a (mean-reverting) Hull-White model, the nodes and the probabilities are typically chosen in such a way that the expected value of the short rate (at the next time step) and its variance fit the analytic values available for these. If a node is too far away from the mean reverting level, this has the consequence that the one of the branches would be assigned with a negative probability leading necessarily to severe oscillations as the explicit scheme is not stable any more.
Therefore down-branching and up-branching are used for trinomials in mean reverting models.

So what?
Well, down-branching and up-branching cuts off certain parts of the calculation domain and therefore leads to wrong values even for the most easy instrument, a zero coupon bond. Yes, certainly you can fiddle around and stretch your calculation tree in such a way that you meet the discount factors again. But if you do this, you never ever can use analytic formulae for bonds, options or CMS rates any more. It would be much much easier if you had a consistent and stable numerical scheme which does not change your model.
And yes, there is one: Finite elements with proper treatment of convection (which is the reason for the stability problem) lead to much much better results.
As I am not a well-known tree-addict, the reader may expect some good reasons against trinomials.
The basic branching of trinomials looks like this

At each node there are three possible branches with probabilities p1, p2, p3 who should add up to 1. In contrast to the binomial model, the trinomial model is not a complete one leading to a unique price only from no-arbitrage arguments. Therefore, there is a certain arbitrariness to assign the probabilities to the different branches. The advantage of this arbitrariness is that it is fairly easy to obtain recombining trinomial trees.
When we think of a (mean-reverting) Hull-White model, the nodes and the probabilities are typically chosen in such a way that the expected value of the short rate (at the next time step) and its variance fit the analytic values available for these. If a node is too far away from the mean reverting level, this has the consequence that the one of the branches would be assigned with a negative probability leading necessarily to severe oscillations as the explicit scheme is not stable any more.
Therefore down-branching and up-branching are used for trinomials in mean reverting models.

So what?
Well, down-branching and up-branching cuts off certain parts of the calculation domain and therefore leads to wrong values even for the most easy instrument, a zero coupon bond. Yes, certainly you can fiddle around and stretch your calculation tree in such a way that you meet the discount factors again. But if you do this, you never ever can use analytic formulae for bonds, options or CMS rates any more. It would be much much easier if you had a consistent and stable numerical scheme which does not change your model.
And yes, there is one: Finite elements with proper treatment of convection (which is the reason for the stability problem) lead to much much better results.
Hidden In Plain Sight?
The UnRisk Language: Barrier Options
Let's assume we want to price a European up & out call option with the following properties:- The
spot price of the underlying equity is 100 EUR and the continuous dividends shall are 1%
- The lifetime of the option is 1 year
- The strike price is 100 EUR
- The barrier is 120 EUR
As long as the barrier has not been reached the option stays alive.
As long as the barrier has not been reached the option stays alive.
Barcelona, much more than home of soccer champions
We are passionate about future technologies, but you might call us old-fashioned in our business principles. We want business-development partners who share our strategic-marketing view: responsiveness and transparency.
Shhh....UnRisk 4 and UnRisk FACTORY 2 coming
In about 6 weeks, we will take our new major releases to financial institutions.
If UnRisk was a Chili Pepper
It most probably was a Habanero, one of the most spicy species of chili peppers, which will rate approx. 300.000 Scoville units . The Habanero's fruity flavor and aroma has led to an explosion of recipes and processed hot sauces.
Some have called it a designer-chili and "relatives" have been developed, which are the hottest of the hot. However, you can still enjoy the wonderful flavour of the Habanero by using less.
We Take Our Model & Method Risk Seminar to Banks
Our compact seminar was well accepted in several places. We have now decided to refine it and offer the following modules in form of 4-5 hours seminars each, on-site.
If UnRisk was a Fashion Design Shop
it most probably was that of Issey Miyake. He is known for his technology-driven clothing. In the late 80ies he began to experiment with new methods of pleating resulting in a new technique called garment pleating and a line Pleats Please.It is a radical form of contemporary clothing that combines technology, functionality and beauty. He continued to challenge the way in which new clothing is made using new proceses that harness computer technology to industrial knitting and weaving machines, producing tubes of cotton polyester stretch fabric. Garments to be cut customized on users. In a project titled A-POC (a Piece of Cloth). He works with a team of young designers.
Generic technologies for customization, this is what we like. And I wear IM with joy.
Booming Boutiques
Recently, I read (in Institutional Investor) Investment Banking: top bankers are fleeing big firms for independent advisory boutiques.
Subscribe to:
Comments (Atom)