Quantopian's community platform is shutting down. Please read this post for more information and download your code.
Back to Community
Paired-Switching for Tactical Portfolio Allocation

Here's a simple approximate implementation of Paired-Switching for Tactical Portfolio Allocation. Near the start of the year, it switches to what has done better over the last 13 weeks, VTI or TLT. Repeat switching every 13 weeks. Results do not look good, especially out-of-sample after 2011/08/22.