Publications by systematicinvestor
Longer-history back-tests
One of the important steps of evaluating new trading idea or strategy is to see how it behaved historically (i.e. create back-test and examine the equity curve in different economic and market conditions) However, creating a long back-test is usually problematic because most ETFs do not have a long price history. One way to alleviate the short pr...
2598 sym Python (2323 sym/2 pcs) 12 img
Stochastic Oscillator
I came across the link to the John Ehlers paper: Predictive Indicators for Effective Trading Strategies, while reading the Dekalog Blog. John Ehlers offers a different way to smooth prices and incorporate the new filter into the oscillator construction. Fortunately, the EasyLanguage code was also provided and i was able to translate it into R. Fo...
1411 sym R (6570 sym/4 pcs) 10 img
Stop Loss
Today I want to share and present an example of the flexible Stop Loss functionality that I added to the Systematic Investor Toolbox. Let’s examine a simple Moving Average Crossover strategy: Buy is triggered once fast moving average crosses above the slow moving average Sell is triggered once fast moving average crosses below the slow moving ...
2950 sym R (5810 sym/4 pcs) 8 img
Calendar-based Sector Strategy
I recently came across the Kaeppel’s Sector Seasonality Strategy which is described in Kaeppel’s Corner: Sector Seasonality and updated in Kaeppel’s Corner: Get Me Back, Clarence. Today I want to show how to back-test the Kaeppel’s Sector Seasonality Strategy using the Systematic Investor Toolbox. Following are the strategy rules: Buy F...
1732 sym R (3857 sym/3 pcs) 8 img
7Twelve Back-test
I recently came across the The 7Twelve Portfolio strategy. I like the catchy name and the strategy report, “An Introduction to 7Twelve.” Following is some additional info about the The 7Twelve Portfolio strategy that I found useful: On Israelsen’s 7Twelve Portfolio The 7/12 Allocation Today I want to show how to back-test the The 7Twelve ...
1274 sym R (2623 sym/2 pcs) 6 img
Update for Backtesting Asset Allocation Portfolios post
It was over a year since my original post, Backtesting Asset Allocation portfolios. I have expanded the functionality of the Systematic Investor Toolbox both in terms of optimization functions and helper back-test functions during this period. Today, I want to update the Backtesting Asset Allocation portfolios post and showcase new functionality....
1231 sym R (2497 sym/1 pcs) 6 img
Updates for Proportional Minimum Variance and Adaptive Shrinkage methods
I create supporting pages for two projects I have collaborated with David Varadi in 2013: Proportional Minimum Variance Algorithm Adaptive Shrinkage Method Please check the links to get more info, including supporting blog posts, back-tests, R code to reproduce the back-tests, and more to come in the near future. I and David appreciate your fe...
777 sym 4 img
Weekend Reading: Market Neutral
I recently came across a very interesting idea at the The Problem with Market Neutral (and an Answer) post by Mebane Faber. Today I want to show how you can test such strategy using the Systematic Investor Toolbox: ############################################################################### # Load Systematic Investor Toolbox (SIT) # http://sys...
1157 sym R (2800 sym/1 pcs) 6 img
Commissions
Today, I want to explain the commission’s functionality build in to Systematic Investor Toolbox(SIT) “share” back-test. At each re-balance time the capital is allocated given the weight such that share = weight * capital / price cash = capital - share * price For example, if weight is 100% (i.e. fully invested) and capital = $100 and pr...
1903 sym R (5558 sym/19 pcs) 4 img
Running Back-tests in parallel
Once you start experimenting with many different asset allocation algorithms, the computation time of running the back-tests can be substantial. One simple way to solve the computation time problem is to run the back-tests in parallel. I.e. if the asset allocation algorithm does not use the prior period holdings to make decision about current al...
1655 sym R (2926 sym/2 pcs) 6 img