Quant Mashup - Quants Portal

Choosing your risk [Quants Portal]

Risk is not a simple entity, it comes in many flavours, and requires respect and consideration even when you least expect. If one was to try ‘totally avoid’ risk in their market endeavours they would most likely just be holding cash – where are the returns in that? The truth is that in almost

*- 2 years ago, 22 Feb 2016, 10:09am -*

Momentum On Dual Momentum Portfolios [Quants Portal]

In the first section, this article describes a Dual Momentum study over an iShares country etfs basket with a new attempt to improve this well-known investing style. I chose iShares because it is the world largest family of Exchange Traded Funds (ETFs) from BlackRock. Although different stock

*- 3 years ago, 11 Nov 2015, 07:59pm -*

Combining diversified alpha to deliver superior Sharpe [Quants Portal]

In this article I show that very basic quantitative trading strategies that generate returns from different market behaviours, when combined, can provide a more desirable and stable returns stream, as reflected in a Sharpe ratio higher than any individual strategy. We show how absolute returns can

*- 3 years ago, 22 Sep 2015, 02:28am -*

Getting Started: Building a Fully Automated Trading System [Quants Portal]

For the last 6 months I have been focused on the process of building the full technology stack of an automated trading system. I have come across many challenges and learnt a great deal about the two different methods of backtesting (Vectorised and Event driven). In my journey to building an event

*- 3 years ago, 15 Sep 2015, 05:18am -*

Intro to Hidden Markov Chains [Quants Portal]

In a situation where you wish to determine the returns on an investment, one may have all the expertise to do this but without certain information (missing pieces) it would not be possible to derive to a conclusive figure. In practical terms “assume you have the value of all returns of all assets

*- 3 years ago, 8 Sep 2015, 09:02pm -*

Introduction to Value at Risk [Quants Portal]

Large institutions deal with immense amounts of currencies which enter and leave their accounts on a daily bases. Furthermore they have their own funds that it has to efficiently allocate so as to maximize their return on investment but also wish to hedge against adverse events. With a certain

*- 3 years ago, 7 Sep 2015, 12:27pm -*

Introduction To Monte Carlo Analysis Part 3 [Quants Portal]

Financial Applications Within the Monte Carlo realm a vast number of applications exist. In this final part I bring together all the previous work as well as put into practice the theory we have gathered so far. Applying the Metropolis-Hastings Algorithm From the previous section we deduced a way in

*- 3 years ago, 31 Aug 2015, 11:32pm -*

Introduction to Monte Carlo Analysis Part 2 [Quants Portal]

Markov Chains, Central Limit Theorem and the Metropolis-Hastings In the previous article I gave a generic overview of Monte Carlo as well as introduced importance sampling. We now dive deeper by giving strict definitions of some of the widely used and yet misunderstood or rather commonly neglected

*- 3 years ago, 29 Aug 2015, 09:39am -*

Introduction to Monte Carlo Analysis Part 1 [Quants Portal]

The Monte Carlo, filled with a lot of mystery is defined by Anderson et al (1999) as the art of approximating an expectation by the sample mean of a function of simulated variables. Used as a code word between Stan Ulam and John von Neumann for the stochastic simulations they applied to building

*- 3 years ago, 17 Aug 2015, 12:26pm -*

Vectorised Backtest in R [Quants Portal]

In the previous 3 articles I discussed backtesting a trading strategy in Excel using the vectorised methodology. This article will cover the same strategy but in R. This article is more of a supplement to the already published article by Joshua Ulrich on FOSS Trading and is for readers looking for

*- 3 years ago, 11 Aug 2015, 11:33am -*

Momentum Strategies [Quants Portal]

Pinto, Henry, Robinson and Stowe (2010) define momentum indicators as valuation indicators that are based on the relationship between price or another fundamental, earnings for example, to a time series of its historical performance or to the fundamental’s expected future performance values. When

*- 3 years ago, 7 Aug 2015, 09:46am -*

Fama-French five factor asset pricing model [Quants Portal]

The relationship between risk and return has long been a topic for discussion and research. Investors and investment managers seek financial models that quantify risk and translate that risk into estimates of expected return on equity (Mullins, 1982). This post will look at and discuss the

*- 3 years ago, 6 Aug 2015, 07:13am -*

Backtesting in Excel: Adding a Stop Loss [Quants Portal]

In my previous article I went over how to add a position sizing rule and in this one I will complete homework exercise 2: adding a stop loss and trailing stop loss. Adding a stop loss in R is way easier than building it into Excel, I had to think for some time as to how I was going to break it down

*- 3 years ago, 3 Aug 2015, 11:21pm -*

Momentum Crashes [Quants Portal]

Seminal work by Jegadeesh and Titman (1993) found that past winners outperform past losers over a horizon of 3-12 months. Investors thus take a long position on winner stocks and a short position on loser stocks in order to realise anomalous profits. This strategy is widely adopted and appears to be

*- 3 years ago, 28 Jul 2015, 09:38am -*

Optimal Stock Quantity, Selection and Weights for Momentum Investing [Quants Portal]

To try and maximise return the correct recipe of ingredients must be brought together. Not only do we have to look at the quality of stock selection, but the weights and quantity of stocks required for maximising returns and minimising risk. Momentum investing looks to invest in top performing

*- 3 years ago, 13 Jul 2015, 12:55pm -*

Market Timing Models For A Momentum Strategy [Quants Portal]

Everyone has an opinion about what the state of the market will be in the short term or long term, never mind that stock prices follow a random walk or the possible clash between that comes between the invisible hand of the market and the regulatory rules made by policy makers. Returns in the market

*- 3 years ago, 13 Jul 2015, 12:54pm -*

The Origins of Momentum [Quants Portal]

Momentum is a market anomaly which many people have tried to explain but have not succeeded to a satisfactory extent. As to the source of momentum profits, others have tried to rationalize their origins whereas an opposing school of thought has searched for their origins in behavioural finance. In

*- 3 years ago, 9 Jul 2015, 11:52am -*

Backtesting in Excel: Adding position sizing [Quants Portal]

In my previous article I started with an example of a vectorised backtest. In this one I will build on homework exercise 2 by adding position sizing. Please download this Excel document to follow the example, Click Here. Now there are many different ways in which to add position sizing and this

*- 3 years ago, 6 Jul 2015, 09:01pm -*

Building a simple moving average (SMA) crossover strategy in Microsoft Excel [Quants Portal]

In my previous article I introduced the two main methods of backtesting, vectorised and event driven. In this article I will cover an example of a vectorised backtest in Excel. One of the benefits of using Excel is that you are able to see a visual representation of the data as the model progresses.

*- 3 years ago, 29 Jun 2015, 07:07pm -*

Getting started with Backtesting [Quants Portal]

Foreword by Joshua Ulrich: Jacques reached out to me to discuss the Backtesting in Excel and R series on my blog, FOSS Trading. Inspired by that series, Jacques wanted to create a more detailed explanation of how to backtest a strategy in Excel and R, and then to extend the examples to an

*- 3 years ago, 29 Jun 2015, 07:07pm -*

Creating an Open Source Hedge Fund Strategy [Quants Portal]

The idea is to build a quantitative hedge fund strategy based on momentum investing. With the obvious interest that I see on Quantocracy, I felt that this would be a topic that many of us are interested in. I didn’t want to run the risk of previous employers saying I used their IP, so I hired 4

*- 3 years ago, 23 Jun 2015, 04:10am -*

The imperative reason behind quantitative hedge funds continued losses – Backtesting? [Quants Portal]

As to be expected, there are more than a few reasons behind quantitative hedge funds sustained losses. According to The Economist (2012), two main reasons for poor performances can be in the form of unexpected announcements from politicians and central banks which then cause unexpected market

*- 3 years ago, 18 Jun 2015, 01:01am -*

Getting Started with Open Source for Quantitative Finance [Quants Portal]

Connect with Jacques on LinkedIn During my senior year, at a university that promised to teach me things, I found myself staring at financial statements wondering to myself "what is it the Quants see that I don't?" and so began my journey into quantitative finance. Throughout my

*- 3 years ago, 15 May 2015, 03:51am -*