Python Trend Following System 1

Trading floor of New York Stock Exchange

Here is a trend following system written in Python (posted on my Gist) based on reversing the Mean Reversion system posted previously. Provision is made for slippage and commission but position sizing is still not fixed fractional. The latter however is easily coded if desired.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.