Systematic Trading research and development, with a flavour of Trend Following
Au.Tra.Sy blog – Automated trading System header image 2

Entries Tagged as 'Code'

Trendpot Indicator: Transtrend Measure of Market Trendiness

February 28th, 2011 · 2 Comments · Code

In a previous post, I mentioned and linked to a presentation by Transtrend: “Potential Profitability by Trend Following Systems”, where the Trendpot Indicator is introduced. Trendpot is a backward looking measure that indicates for an individual market whether a medium to long-term trend following system could potentially have been profitable when applied on that particular [...]

[Read more →]

Tags: ·

ETF v. Futures: a Quantification

February 9th, 2011 · No Comments · Code, Data, Equities, Futures

I have already covered the idea of using ETFs in place of Futures. Today, I wanted to run a quantitative comparison between the two instrument types The ETF sector has been growing at an impressive rate, with new offerings popping up every month and providing a wider choice in selecting a portfolio to trade. One [...]

[Read more →]

Tags: ·

R Code for Walk-Forward LSPM

December 23rd, 2010 · 7 Comments · Code

At the same time as Josh Ulrich was making some very good points on why to use R, over on his FOSS Trading blog, I was coming to the same realisation that it is a very neat, useful tool indeed. In this post, I’ll present the code I used for the last post on running [...]

[Read more →]

Tags: ··

Bootstrap – Take 2: Data Mining bias, Code and using geometric mean

August 13th, 2010 · 34 Comments · Backtest, Code

In part 1 of this bootstrap post, we looked at how to apply the method to establish the statistical significance of a single trading rule. In Part 2, we’ll look at how to deal with the data mining bias, the impact of geometric vs. arithmetic mean return. The code implementing the bootstrap test is available [...]

[Read more →]

Tags:

CSI Raw Contract Data Extractor

June 10th, 2010 · 15 Comments · Code, Data

I have mentioned before that I use CSI as my main provider for Futures data. Overall, I judge CSI’s service as good quality – however one drawback is the closed aspect of the data access. And I decided to write a utility to make it more “open”. To access the historical data, you have to [...]

[Read more →]

Tags: ··

New: Free Code section – and improved Vortex

February 17th, 2010 · 2 Comments · Backtest, Blog, Code, Strategies

  I have been sharing code throughout the blog in various posts. Although there is a “Code” category in the blog, a dedicated page is probably the best way to organise this, before it starts getting messy. I have therefore added a main page (free code) in the nav bar.   Hope you find it [...]

[Read more →]

Tags: ··