Python Trend Following System 1

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.


Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s