Tag archives for ThetaML

Feedback: What is the Effect of Hedging Options on the Underlying?

Plot from Theta Suite Result Explorer

More and more investors insist on guarantees on the investments. Theses investments are often created using options or dynamic strategies like CPPI. Recently, these strategies were made available in secularized form: Leveraged Exchange Traded Funds   (LETF) and Exchange Traded Notes (ETN). Also, life insurance instruments often include guarantees on funds like Variable Annuities. In this […]

What is a Good Design for a Pricing Library? Use a Payoff Description Language

3d lamp with jigsaw puzzle isolated on the white background

A good library design requires a separation of the functionality into modules with an appropriate API. The size of the modules is determined by the application. While for a simple trading application a good API might contain everything from fitting the stochastic processes to pricing an option under a single function, this is completely insufficient for assessing model […]

What happens to Portfolio Protection (esp. CPPI) under Transaction Costs and Financial Transaction Tax?

One of the most popular portfolio protection trading strategies is the Constant Proportion Portfolio Insurance (CPPI). This strategy maximizes the exposure in stock at each rebalancing time while  ensuring that the portfolio level never drops under the so-called floor. Modeling Financial Transaction Tax The currently proposed financial transaction tax is nothing else than a proportional […]

How can I optimize my quantitative trading strategy, e.g. MACD signal?

In the previous post, we saw how to backtest a quantitative trading strategy. The result was, that we suspected that we should be able to find better constants for the MACD trading signal strategy. Now, we will use Matlab and Theta Suite in order to create an efficient optimization. Furthermore, we create a simple visualization […]

How can I backtest my quantitative trading strategy, e.g. MACD signal?

Many popular quantitative trading strategies are public for quite a while. Now, if you like to utilize such a strategy with real money, you must make sure that your strategy performs well. For simple strategies, MS Excel is perfect for this task. But, since we would like to use an optimization and a specific visualization […]

How can I create a Matlab Class for generating a Stochastic Process for ThetaML?

Since version 2008a, the Matlab m-language is extended to include some object orientation. This object-oriented programming style allows reuse, inheritance, encapsulation, and reference behavior. Example The following m-code is a generic abstract class for implementing classes which generate processes accessible in ThetaML. The object following class generates a Geometric Brownian Motion. This process can be accessed in […]

How can I visualize my model data in an interactive webpage?

A brilliant website is the perfect example for user friendly interactive data visualization: Gapminder. This website presents statistical data about the countries of the world and how it changes in time. A user-friendly AJAX user interface allows you to get gain new insights exploring this data. They have done a great job. Google bought this […]

A Glimse at Chaos: How can I Implement a Logistic Growth Process in ThetaML?

Logistic_Bifurcation_map

One of the simple models which lead to chaos is the logistic growth process. Using ThetaML, a technology designed for modeling and analyzing stochastic processes, we can implement a very short logistic growth model and get more insight than usual. Logistic growth model Suppose, we insert a simple logistic model: This can be done in […]